<div>Did you ever solve this Jeremy?</div>
<div> </div>
<div>Paul<br><br> </div>
<div><span class="gmail_quote">On 04/07/06, <b class="gmail_sendername">Jeremy Coulter</b> <<a href="mailto:vss@vss.co.nz">vss@vss.co.nz</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div>
<div><span><font face="Arial" size="2">Hi All.</font></span></div>
<div><span><font face="Arial" size="2">Is anyone aware if importing a type library for a COM/DCOM object would act different to using CreateObject ?</font></span></div>
<div><span><font face="Arial" size="2">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.
</font></span></div>
<div><span><font face="Arial" size="2">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 !
</font></span></div>
<div><span><font face="Arial" size="2">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.
</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">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 !</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">Thanks, Jeremy</font></span></div></div></div>
<div><span class="sg"><br>
<p><font size="2">--<br>No virus found in this outgoing message.<br>Checked by AVG Free Edition.<br>Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 30/06/2006<br></font></p></span></div><br>_______________________________________________
<br>Delphi mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Delphi@ns3.123.co.nz">Delphi@ns3.123.co.nz</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://ns3.123.co.nz/mailman/listinfo/delphi" target="_blank">
http://ns3.123.co.nz/mailman/listinfo/delphi</a><br><br><br></blockquote></div><br>