PDA

View Full Version : DShowLib



Unregistered
December 3, 2003, 16:31:32
Hello,

I will use the IC Imaging Control Trial Version 1.41. with the C++ Builder.
I have read the programmer's guide for create a new project. But if I copy the
source code from the help file into my project, the compiler say that the word "DShowLib" is not a class or struct.

I mean this source code!

if( ! DShowLib::InitLibrary( 0 ) )
{
return FALSE;
}


The Lib file (TIS_UDSHL05.lib) is create with the borland builder tool called "implib" and added into the project. Also the include directory and the release directory are added under the project options. I hope someone can help me!

Thanks

gnichgrd
December 4, 2003, 09:28:11
Hello,

i think you'll have to declare the DSHOWLIB_NAMESPACE additionally
with something like

using namespace _DSHOWLIB_NAMESPACE;


Maybe this helps.


Best regards

Gerd

Johannes Vogel
December 19, 2003, 18:06:45
Hello,
There is no way to use the class library with a compiler other than VC++6 or VC++7. The reason for this is the heap management of VC++. Since the library was built using VC++, you can only use this compiler.

You should try to use the OCX with other compilers.