Board index » cppbuilder » directx - what is wrong with BCB

directx - what is wrong with BCB

I was able to use ActiveMovie 2.0 beta SDK and samples with Borland
compiler. You may need to tweak the header files a bit ( actually, use
some #define, like #define AM_NOVTABLE ). It shouldn't be too difficult
to use it.

Alex

P.S.

If you can provide the URL for the download, I may take a look at this
stuff again.

Quote
John DeBoard wrote:

> Ok,

>     I went to the MS directx website, downloaded the DirectX 5.2 SDK (all of
> the stuff), and the compiler WILL NOT use the class files. BC++ 5.0 wont
> even accept the include files.
>     I just wanted to compile a simple program to learn this COM stuff
> because I do multimedia and most of the new DVD and MPG hardware coming out
> is done with DirectX 5 and the boss will want to migrate.

> Heres the code and errors, not my errors (I wish they were).

> Is it time to buy VC++5.0, if so does Borland, OH Im sorry Inprise
> give refunds.

> Dont mean to sound bitter, but I cant afford a lot of flack out of my
> compiler every time the wind blows a new way.

> discouraged and disgrunteled,
> John

>                 Name: dx.cpp
>    dx.cpp       Type: C++ Source File (application/x-unknown-content-type-cppfile)
>             Encoding: x-uuencode

> [C++Error] wxutil.h(157): Undefined structure 'AM_NOVTABLE'.
> [C++Error] wxutil.h(157): Undefined structure 'AM_NOVTABLE'.
> [C++Error] wxutil.h(157): Size of 'CAMThread' is unknown or zero.
> [C++Error] wxutil.h(157): Declaration syntax error.
> [C++Error] wxutil.h(383): Inline assembly not allowed in inline and template functions.
> [C++Warning] wxutil.h(383): Restarting compile using assembly.
> [C++Error] wxutil.h(157): Undefined structure 'AM_NOVTABLE'.
> [C++Error] wxutil.h(157): Undefined structure 'AM_NOVTABLE'.
> [C++Error] wxutil.h(157): Size of 'CAMThread' is unknown or zero.
> [C++Error] wxutil.h(157): Declaration syntax error.
> [C++Error] wxutil.h(383): Inline assembly not allowed in inline and template functions.
> [C++Warning] wxutil.h(384): Unknown assembler instruction.
> [C++Error] wxutil.h(386): Undefined symbol 'cld'.
> [C++Error] wxutil.h(386): Statement missing ;.
> [C++Error] wxutil.h(395): Compound statement missing }.
> [C++Warning] wxutil.h(395): Function should return a value.
> [C++Error] wxutil.h(404): Unexpected }.
> [C++Error] combase.h(200): Undefined structure 'AM_NOVTABLE'.
> [C++Error] combase.h(200): Size of 'CUnknown' is unknown or zero.
> [C++Error] combase.h(200): Declaration syntax error.
> [C++Error] combase.h(254): Multiple declaration for 'CUnknown'.
> [C++Error] combase.h(200): Earlier declaration of 'CUnknown'.
> [C++Error] combase.h(254): , expected.
> [C++Error] combase.h(273): Type name expected.
> [C++Error] combase.h(273): Declaration missing ;.
> [C++Error] combase.h(283): Call to undefined function 'm_lpfnNew'.
> [C++Error] combase.h(283): Cannot convert 'int' to 'int *'.
> [C++Error] msgthrd.h(37): Undefined structure 'AM_NOVTABLE'.
> [C++Error] msgthrd.h(37): Size of 'CMsgThread' is unknown or zero.
> [C++Error] msgthrd.h(37): Declaration syntax error.
> [C++Error] ctlutil.h(55): Undefined structure 'AM_NOVTABLE'.
> [C++Error] ctlutil.h(55): Size of 'CMediaControl' is unknown or zero.
> [C++Error] ctlutil.h(55): Declaration syntax error.
> [C++Error] ctlutil.h(55): Too many error or warning messages.

>                    Name: Unit1.cpp
>    Unit1.cpp       Type: C++ Source File (application/x-unknown-content-type-cppfile)
>                Encoding: x-uuencode

>                  Name: Unit1.h
>    Unit1.h       Type: C Header File (application/x-unknown-content-type-CHeaderFile)
>              Encoding: x-uuencode

 

Re:directx - what is wrong with BCB


http://www.microsoft.com/directx/resources/dx5mediasdk.htm

The include files, base class files, DX drivers, etc... for the DirectX 5.2
SDK are all linked on the aforementioned page.

John

Quote
Alex Bakaev [TeamB] wrote in message <356B0C11.EFC26...@jetsuite.com>...
>I was able to use ActiveMovie 2.0 beta SDK and samples with Borland
>compiler. You may need to tweak the header files a bit ( actually, use
>some #define, like #define AM_NOVTABLE ). It shouldn't be too difficult
>to use it.

>Alex

>P.S.

>If you can provide the URL for the download, I may take a look at this
>stuff again.

Re:directx - what is wrong with BCB


The site:
http://www.microsoft.com/directx/resources/dx5mediasdk.htm

Has the include files, base class files, examples, etc...
Its about a 20mb download total.

Thanks
John

Quote
Alex Bakaev [TeamB] wrote in message <356B0C11.EFC26...@jetsuite.com>...
>I was able to use ActiveMovie 2.0 beta SDK and samples with Borland
>compiler. You may need to tweak the header files a bit ( actually, use
>some #define, like #define AM_NOVTABLE ). It shouldn't be too difficult
>to use it.

>Alex

>P.S.

>If you can provide the URL for the download, I may take a look at this
>stuff again.

Re:directx - what is wrong with BCB


I'll see if I can find some time for this...

Quote
John DeBoard wrote:

> The site:
> http://www.microsoft.com/directx/resources/dx5mediasdk.htm

> Has the include files, base class files, examples, etc...
> Its about a 20mb download total.

> Thanks
> John

> Alex Bakaev [TeamB] wrote in message <356B0C11.EFC26...@jetsuite.com>...
> >I was able to use ActiveMovie 2.0 beta SDK and samples with Borland
> >compiler. You may need to tweak the header files a bit ( actually, use
> >some #define, like #define AM_NOVTABLE ). It shouldn't be too difficult
> >to use it.

> >Alex

> >P.S.

> >If you can provide the URL for the download, I may take a look at this
> >stuff again.

Re:directx - what is wrong with BCB


Just finished building the base classes and the ball sample. Tomorrow
will see if can insert the ball filter into the graph edit. In order to
build I had to manually add a few guids that were not initialized by the
base classes. Let me know if you want a zip of the whole thing ( 6 meg )
now.

Alex

Quote
Alex Bakaev [TeamB] wrote:

> I'll see if I can find some time for this...

> John DeBoard wrote:

> > The site:
> > http://www.microsoft.com/directx/resources/dx5mediasdk.htm

> > Has the include files, base class files, examples, etc...
> > Its about a 20mb download total.

> > Thanks
> > John

> > Alex Bakaev [TeamB] wrote in message <356B0C11.EFC26...@jetsuite.com>...
> > >I was able to use ActiveMovie 2.0 beta SDK and samples with Borland
> > >compiler. You may need to tweak the header files a bit ( actually, use
> > >some #define, like #define AM_NOVTABLE ). It shouldn't be too difficult
> > >to use it.

> > >Alex

> > >P.S.

> > >If you can provide the URL for the download, I may take a look at this
> > >stuff again.

Other Threads