🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.multimedia
5 messages
5 total messages Started by news.microsoft.com Mon, 20 Dec 2004 01:18
Couldn't work with DirectShow Editing Service
#261
Author: news.microsoft.com
Date: Mon, 20 Dec 2004 01:18
37 lines
2185 bytes
Hi! ... I'm new in Borland C++ Builder 5.

Somebody know how could I set the rigth environment to work with DirectShow
Editing Services on Borland C++ 5 ?! ..
I need to include some headers like <dshow.h> and <qedit.h>, then ...
libraries like quartz.lib, etc, etc,etc ... But when I try to do something
an Warning appears...

Using this simple code ...

void __fastcall TForm1::FormCreate(TObject *Sender)
{

IAMTimeline     *pTimeline;

CoInitialize(NULL);

CoCreateInstance(CLSID_AMTimeline, NULL,
        CLSCTX_INPROC_SERVER,
        IID_IAMTimeline, (void**)&pTimeline);

}

If I not include DX9 libs appears...
" [Linker Error] Unresolved external '_IID_IAMTimeline' referenced from
C:\ARCHIVOS DE PROGRAMA\BORLAND\CBUILDER5\PROJECTS\UNIT1.OBJ "

But .. If I include DX9 libs from menu: PROJECT-ADD TO PROJECT ... and
adding necessary libraries like (quartz.lib, STMMIIDS.lib and others) this
messenge appear:
" [Linker Error] 'C:\DXSDK\LIB\STMMIIDS.LIB' contains invalid OMF record,
type 0x21 (possibly COFF)"
... And do the same with each library if I remove it, for example.

Please! I need a help!!! :( I only need to find the rigth environment

Thanks and so sorry for my poor english!
Re: Couldn't work with DirectShow Editing Service
#262
Author: Bruce Salzman
Date: Mon, 20 Dec 2004 19:31
14 lines
1355 bytes
> But .. If I include DX9 libs from menu: PROJECT-ADD TO PROJECT ... 
> and
> adding necessary libraries like (quartz.lib, STMMIIDS.lib and 
> others) this
> messenge appear:
> " [Linker Error] 'C:\DXSDK\LIB\STMMIIDS.LIB' contains invalid OMF 
> record,
> type 0x21 (possibly COFF)"

Microsoft uses a different library format (COFF). Create a Borland 
compatable LIB file (in OMF format) from the DLL using implib.exe

Regards,
Bruce 
Re: Couldn't work with DirectShow Editing Service
#263
Author: Juampi
Date: Tue, 21 Dec 2004 01:29
29 lines
1823 bytes
Bruce:

    Thanks for your help ... but .. could you explainme please how could I
do it?! ... an example from only one lib to know from where to start. Or, if
you know, from where could I get the information that I needing.

    Thanks and sorry to busy you again.

Juampi David


" Bruce Salzman" <bruce@nospam.org> escribi� en el mensaje
news:41c7282b$1@newsgroups.borland.com...
> > But .. If I include DX9 libs from menu: PROJECT-ADD TO PROJECT ...
> > and
> > adding necessary libraries like (quartz.lib, STMMIIDS.lib and
> > others) this
> > messenge appear:
> > " [Linker Error] 'C:\DXSDK\LIB\STMMIIDS.LIB' contains invalid OMF
> > record,
> > type 0x21 (possibly COFF)"
>
> Microsoft uses a different library format (COFF). Create a Borland
> compatable LIB file (in OMF format) from the DLL using implib.exe
>
> Regards,
> Bruce
>
>
Re: Couldn't work with DirectShow Editing Service
#264
Author: Bruce Salzman
Date: Tue, 21 Dec 2004 03:47
18 lines
1602 bytes
>    Thanks for your help ... but .. could you explainme please how 
> could I
> do it?! ... an example from only one lib to know from where to 
> start. Or, if
> you know, from where could I get the information that I needing.
>
>    Thanks and sorry to busy you again.
>

No problemo. Open a command window in the target folder.

You might need something like this:
implib -a -c STMMIIDS.LIB C:\DXSDK\LIB\STMMIIDS.DLL

Repeat for each LIB you need.

Regards,
Bruce
Re: Couldn't work with DirectShow Editing Service
#265
Author: Juampi David
Date: Tue, 21 Dec 2004 20:51
29 lines
1806 bytes
Bruce:

    Thanks for your help!!! ... and Thanks for you time.

Regards,
Juampi David


" Bruce Salzman" <bruce@nospam.org> escribi� en el mensaje 
news:41c79c63@newsgroups.borland.com...
>>    Thanks for your help ... but .. could you explainme please how could I
>> do it?! ... an example from only one lib to know from where to start. Or, 
>> if
>> you know, from where could I get the information that I needing.
>>
>>    Thanks and sorry to busy you again.
>>
>
> No problemo. Open a command window in the target folder.
>
> You might need something like this:
> implib -a -c STMMIIDS.LIB C:\DXSDK\LIB\STMMIIDS.DLL
>
> Repeat for each LIB you need.
>
> Regards,
> Bruce
>
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads