For our scientific project at the ETH zurich, we bought a framegrabber from sensoray (http://sensoray.com/products/2250data.htm). it comes with a windows SDK, but when that one is installed, it only works for ms visual c++. The support of that site can't give us any support on dev-cpp.
Does anybody of you know how I can get that SDK to run in Dev? the package contains some lib and dll files (two matching pairs of lib and dll, and a separate folder with a lot of dll files). I tried to add them to the compiler options, and i've read some tutorials, but I couldn't manage to get it working.
I'm using win vista, and the extended wxDev-Cpp. because of that wx extension, I can't simply copy my code and run it in visual c++ to solve the problem...
thanks a lot in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The lib files will be export libraries, and will need to be converted using the reimp tool (in c:\dev-cpp\bin). I've never used it so don't ask me how, but people usually manage when I have suggested it in the past. ;-) The DLL files should work normally so long as thay provide a C linkage rather than C++ linkage interface.
Alternatively you can load the libraries and entry points you need at runtime using the Win32 API LoadLibrary() and GetProcAddress() calls.
You do know of course that xwDev-C++ will work with Microsoft compilers as well as GCC don't you? I am not sure how well it works however.
The other obvious suggestion is that you use the VC++ implementation of wxWidgets.
One other solution is to use the GCC 4.x (you'll need the 'experiemntal' MinGW build), but it apparently works with Microsoft export libraries.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi everybody
For our scientific project at the ETH zurich, we bought a framegrabber from sensoray (http://sensoray.com/products/2250data.htm). it comes with a windows SDK, but when that one is installed, it only works for ms visual c++. The support of that site can't give us any support on dev-cpp.
Does anybody of you know how I can get that SDK to run in Dev? the package contains some lib and dll files (two matching pairs of lib and dll, and a separate folder with a lot of dll files). I tried to add them to the compiler options, and i've read some tutorials, but I couldn't manage to get it working.
I'm using win vista, and the extended wxDev-Cpp. because of that wx extension, I can't simply copy my code and run it in visual c++ to solve the problem...
thanks a lot in advance.
The lib files will be export libraries, and will need to be converted using the reimp tool (in c:\dev-cpp\bin). I've never used it so don't ask me how, but people usually manage when I have suggested it in the past. ;-) The DLL files should work normally so long as thay provide a C linkage rather than C++ linkage interface.
Alternatively you can load the libraries and entry points you need at runtime using the Win32 API LoadLibrary() and GetProcAddress() calls.
You do know of course that xwDev-C++ will work with Microsoft compilers as well as GCC don't you? I am not sure how well it works however.
The other obvious suggestion is that you use the VC++ implementation of wxWidgets.
One other solution is to use the GCC 4.x (you'll need the 'experiemntal' MinGW build), but it apparently works with Microsoft export libraries.
Clifford