| QUOTE (wanderinglazyeye @ Jan 25 2007, 11:55 PM) |
| Hello all, Can someone please tell me how to correctly phrase a call to FclInitialize (3rd party) in Visual Studio Express win32 from the C++ source? This is from the header file provided by the manufacturer that compiles fine. FCL_API FclInitialize( IN LPCSTR pFilterName, // device name OUT int& index, // index IN CapInfoStruct capInfo, OUT HANDLE* hImager); // Modual device handle pointer Of course I wouldn't expect anyone to give me a value for the call variables...I just don't know how to set it up. Thanks in advance - WLE |
| CODE |
/* Input Values */ LPCSTR filterName = "Filter"; CapInfoStruct capInfo; /* Initialise capInfo here */ /* Output Values */ int index; HANDLE hImager; /* Call function */ FclInitialize(filterName,index,capInfo,&hImager); |
| QUOTE (wanderinglazyeye @ Jan 27 2007, 09:08 AM) |
| Thanks, most of the code took. Now getting a linker error: LNK2019. One blog stated it was because the 3rd party library wasn't added but its pointed to in project options. Another source stated it was something about the ATL library. Any direction on this? |