View Full Version : simple application

November 16, 2007, 12:40:32
I'm very new to IC image control:confused:: I've started working with it four days ago.
I need of any links or example program to start build a simple Win32 console application under VC6.
I've seen the samples given with software but for now I'm not able to compile it.:confused::confused:
In more I wuld like have any suggest to develope an application for this goal:
using two cameras track the position of a micro helicopter (18 cm) in a static background.:confused::confused::confused:

Help me please.:eek:


Stefan Geissler
November 16, 2007, 13:46:04
Hi Daniel

If you are not able to compile the IC Imaging Control VC6 samples, then there should be some kind of error message. If it is the "DShow.h" stuff, then you would need the DirectShow SDK from Microsoft. Please keep in mind, that VC6 is no longer supported by Microsoft.

If there are other problems, please let me now the error messages.

November 16, 2007, 16:25:28
Thank you Stefan for your assistance.

I've installed the DirectShow SDK from Microsoft.
I'm able to compile any Samples of the IC image control, but others no.
For example the Callback Samples generate this error:

'sprintf_instead_use_StringCbPrintfA_or_StringCchP rintfA' : undeclared identifier

The version of my SDK is one of the least.


Stefan Geissler
November 16, 2007, 16:37:21

Using newer DirectShow SDKs in VC 6 leads to errors. Can be solved with define with:


Simply add this on top of your source or in the stdafx.h

November 16, 2007, 16:41:56
Sorry but


doesn't solve the problem:(

Stefan Geissler
November 16, 2007, 16:47:42
The error message you receive is caused because the new SDK verion should be safer. Thus if ou use the known "sprintf", the compiler suggests to use the "sprintf" versions, that also receives the size of the buffer where to write in.
With the
these warnings are disabled. Thus this define must be somewhere very on top of the source. Especially before the tisudshl.h is included.

If this does not work, then please send a email to support@imagingcontrol.com. I have an older version of the DirectX SDK.

Just an addition: We are not allowed to provide the DirectX SDK on our CD ROMs.

November 16, 2007, 17:01:36

Now one more it works (callback samples). For the others I'll see what I can do now that I've understand the problem.

Thank you very much!;)