PDA

View Full Version : How to programming with VC2010?



robin1788
June 18, 2010, 10:42:06
IC can not support VC2010.

Can you supply a new version for VC2010? or do not using STL in DLL interface?

STL parameters or return values make crashes when using different VC version to link .exe and .dll:-(

robin1788
June 18, 2010, 10:59:12
If using VC2010 with IC for vc9, I have to write a DLL to call these methods with STL parameters or return values, compile this DLL with VC9, then call this DLL in VC2010, for example:

bool Grabber::saveDeviceStateToFile(const wstring& filename);

I have to write a new function to call it:

bool saveDeviceStateToFile(DShowLib::Grabber grabber, const wstring& filename)
{
return grabber.saveDeviceStateToFile(filename);
}

compile this function with vc9, call it in vc2010, the program do not crash! But it is so trouble!!

Stefan Geissler
June 18, 2010, 11:45:37
Hello,

There is no reason to worry. Please sent a request to http://www.imagingcontrol.com/en_US/support/case/

I can send a beta of IC 3.2 to you.

robin1788
June 18, 2010, 12:34:46
Thanks!!!!:)