Jonas Raoni Soares Silva wrote:
> Thanks, now it's clear for me how these COM stuffs works... After
> registering, all the interface guid's become registered on the system
> and everything else (finding the interface implementation given the
> GUID and calling the related code) is responsability of the SO, ok?

Yes. All you need is the GUID. The operating system will figure out 
which DLL it needs, load the DLL, create a class factory, and create an 
instance of the class that corresponds to the GUID. When you're finished 
with the object, the operating system will unload the DLL.

> Obs: I saw the GUID's on the dll source code, I was just curious if
> there was an easy way of linking it to my app, besides copying and
> translating the interfaces :]

Once again, that's the job of the type-library importer. If there's no 
type library, then you have to translate the C++ code into Delphi.

> Hmmm, is it possible to embed the type library inside the COM library?

Yes, I think so.

-- 
Rob


-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to