According to the Help File, capCreateCaptureWindow() is the place to start.
However, this gives me the error:-
*.exe is linked to missing export MSVFW.DLL:capCreateCaptureWindowA
A "Quick view" of MSVFW.DLL shows that capCreateCaptureWindowA is not
defined there, although I'm not sure whether it should be.
Please could someone tell me whether I should be doing anything else to get
this working?
Thanks, Mark
Is there a 'VFW32.LIB' file included with Borland? This is the normal
lib file that you'd use with VC++.
=====================================================
Change the 'Y' in my domain name to 'E' in order
to send email.
=====================================================
Unfortunately, that lib file is not included on my system, nor anywhere on
the original setup disk.
I tried including the MSVFW.DLL in my project, hoping to create the lib file
with ImpLib, but the dll was already in use.
Do you think this omission was an oversight by Borland?
Would it be possible to download the .lib from somewhere?
Any further comments would be appreciated.
Mark
How about loading the dll dynamically? At least it solved the problem for me
using Borland....
HINSTANCE avicap = (HINSTANCE) 0;
FARPROC CreateCaptureWindow;
...
declare other functions you may need...
....
if( ( avicap = LoadLibrary( "AVICAP32.DLL" ) ) == (HINSTANCE) 0 )
{
something went really wrong...
}
...
CreateCaptureWindow = GetProcAddress(
avicap, "capCreateCaptureWindowA" );
repeat this for every function you need
call the functions you need
when you are finished (at programm exit) call
if( avicap != (HINSTANCE) 0 )
{
FreeLibrary( avicap );
avicap = (HINSTANCE) 0;
}
HTH
Markus
MW <mw...@mw001.fsnet.co.uk> schrieb in im Newsbeitrag:
8cau61$648$1...@news5.svr.pol.co.uk...
>How about loading the dll dynamically? At least it solved the problem for me
>using Borland....
Ugh. I used this method for a NT Virtual DOS Machine driver, and it was
awful. At the least, install a copy of the Platform SDK to get the .LIB
files. A better solution, though, might be to install the Borland C++ 5.5
command-line compiler, available free from the Borland site. I haven't
used it for any VFW projects, but it comes with a VFW32.LIB file in the
Lib\PSDK directory that looks like it contains the needed imports.
>MW <mw...@mw001.fsnet.co.uk> schrieb in im Newsbeitrag:
>8cau61$648$1...@news5.svr.pol.co.uk...
>> <<Is there a 'VFW32.LIB' file included with Borland? This is the normal
>lib
>> file that you'd use with VC++.>>
>> Thanks for your reply.
>>
>> Unfortunately, that lib file is not included on my system, nor anywhere on
>> the original setup disk.
>> I tried including the MSVFW.DLL in my project, hoping to create the lib
>file
>> with ImpLib, but the dll was already in use.
>>
>> Do you think this omission was an oversight by Borland?
>> Would it be possible to download the .lib from somewhere?
>>
>> Any further comments would be appreciated.
>> Mark
>>
>>
>
-- Avery Lee (ule...@umail.ucsb.edu)
http://www.concentric.net/~psilon/
VirtualDub 1.3a: AVI/MPEG-to-AVI processing utility with integrated capture.
Free, and includes source.