LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

want to use vfw32.lib for setting video devices

hallo,

i want to use some functions from the vfw32.lib for a little video capture program. i added the vfw32.lib to the project and included the vfw.h. while compilation i always get the error "syntax error; found '_pascal' expecting ';'" and in the next row "the pascal calling convention is not supported in the win32 version of cvi"

both files are out of the ni folder, but not supported?!?!?

please help!!

chris
0 Kudos
Message 1 of 3
(5,072 Views)
Make sure you include windows.h as the very first header

#include < windows.h >
#include < vfw.h >
#include < cvirte.h >


I hope this helps
Bilal Durrani
NI
Message 2 of 3
(5,066 Views)
thank you!!!!

chris
0 Kudos
Message 3 of 3
(5,062 Views)