vfw32.lib & vfw.h??? 
Author Message
 vfw32.lib & vfw.h???

Hello,

I need the AviFile functions for my application. I know that the library
for these
functions can be included by including vfw.h. Although I include this
file, I get
the link error LNK2001. I've got am example where the needed file is
included
through vfw.h. There this header file (vfw.h) is included in the header
file of the implementation file.
So my question is, why runs this example that looks the same way as my
project?
Is there any big fault I don't see???

I appreciate any help!

Thanks a lot

    Cnut

-------



Tue, 06 May 2003 03:00:00 GMT  
 vfw32.lib & vfw.h???
You probably need to link with the accompanying VFW32.LIB

/johan


Quote:

> I need the AviFile functions for my application. I know that the library
> for these
> functions can be included by including vfw.h. Although I include this
> file, I get
> the link error LNK2001. I've got am example where the needed file is
> included
> through vfw.h. There this header file (vfw.h) is included in the header
> file of the implementation file.
> So my question is, why runs this example that looks the same way as my
> project?
> Is there any big fault I don't see???

> I appreciate any help!

> Thanks a lot

>     Cnut

> -------




Tue, 06 May 2003 03:00:00 GMT  
 vfw32.lib & vfw.h???
A linker error has nothing to do with what header files you include
(usually).

Header files give compile time information, and with the exception of the
#pragma comment(lib..) directive, have nothing to do with the link stage of
the compile.  If the program compiles OK, but doesn't link, then you have
all the correct headers.

To solve a link problem, you need to link to the correct library.


Quote:
> Hello,

> I need the AviFile functions for my application. I know that the library
> for these
> functions can be included by including vfw.h. Although I include this
> file, I get
> the link error LNK2001. I've got am example where the needed file is
> included
> through vfw.h. There this header file (vfw.h) is included in the header
> file of the implementation file.
> So my question is, why runs this example that looks the same way as my
> project?
> Is there any big fault I don't see???

> I appreciate any help!

> Thanks a lot

>     Cnut

> -------




Tue, 06 May 2003 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. vfw32.lib & vfw.h???

2. missing VC++ .NET library VFW32.lib ?

3. Using vfw32.lib

4. Where I can get this library VFW.LIB

5. lcc-win32 & vfw.h

6. SLIBCE.LIB & LLIBCE.LIB needed

7. Import Library: Use vfw32.lib. ??

8. C , ASM &l ink LIB

9. WANTED: OBJ & LIB file formats

10. Machine & OS Names in /lib/cpp

11. VC6 / VC7 : objidl.idl, oleaut32.lib & SAFEARRAYs

12. ATL CreateThread & crt lib

 

 
Powered by phpBB® Forum Software