[DUG] COM/DCOM

Jeremy Coulter vss at vss.co.nz
Tue Jul 4 08:14:15 NZST 2006


Hi All.
Is anyone aware if importing a type library for a COM/DCOM object would act
different to using CreateObject ?
We are interfacing to, or rather trying to, a 3rd party app. that uses DCOM.
I have the docs for how to connect etc, and it even had a VB or C++ example
of how to connect to it etc. I EVEN have a compiled C++ app that came part
of the info.
I got my app. all working fine by importing the Type Lib., WELL THOUGHT I
did until I went on site and my app ran, but nothing happend as expected,
but then ran his other precompiled app and it worked fine !
Now, here is the interesting bit. This precompiled app wont run under XP SP2
(throws an error) where my one will, although nothing still happens. An yes
before you ask, I have changed the security for Component Services and DCOM
settings etc. to allow DCOM to run under SP2 etc.
 
So, hence he question, does using an imported type lib act differently than
using CreatObject?  One would assume no, but hell, you never can tell !
 
Thanks, Jeremy

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 30/06/2006
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20060704/2188cc67/attachment.html


More information about the Delphi mailing list