<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>16 Feb 2016 22:33:56 Z</lastBuildDate><pubDate>12 Feb 2016 09:36:24 Z</pubDate><description>Hi,&#13;
&#13;
I would need to use COM classes provided by another company. I have seen COMCreateInstance and COMCallMethod but is there another way? I was expecting that I would be able to import the type library of the COM classes and then be able to declare the imported types and work with them directly. But I can not find any relevant information in the manuals.&#13;
&#13;
For example &#13;
&#13;
// Declare a variable (assuming RX is the type library and CutOptimizer is the name of the imported COM class)&#13;
vCutOptimizer is RX.CutOptimizer&#13;
&#13;
// Retrieve the interface. I would use "new" in VB&#13;
vCutOptimizer = new RX.CutOptimizer&#13;
vCutOptimizer.DoSomething&#13;
vCutOptimizer.DoSomethingElse&#13;
etc.&#13;
&#13;
Is this possible?&#13;
&#13;
Kind regards&#13;
Mr G.</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/en-US/pcsoft.us.windev/56385-use-com-objects/read.awp</link><title>Use COM objects</title><managingEditor>moderateur@pcsoft.fr (The moderator)</managingEditor><webMaster>webmaster@pcsoft.fr (The webmaster)</webMaster><item><author>gezas</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/en-US/pcsoft.us.windev/56385-use-com-objects-56457/read.awp</comments><pubDate>16 Feb 2016 22:33:56 Z</pubDate><description>Hi Fabrice,&#13;
&#13;
thanks for the reply.&#13;
&#13;
&gt;the OLE automation system/object/tool is installed on a computer and&#13;
registered in the…</description><guid isPermaLink="true">https://forum.pcsoft.fr/en-US/pcsoft.us.windev/56385-use-com-objects-56457/read.awp</guid><link>https://forum.pcsoft.fr/en-US/pcsoft.us.windev/56385-use-com-objects-56457/read.awp</link><source url="https://forum.pcsoft.fr/en-US/pcsoft.us.windev/56385-use-com-objects/read.awp">Use COM objects</source><title>Re: Use COM objects</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/en-US/pcsoft.us.windev/56385-use-com-objects-56452/read.awp</comments><pubDate>16 Feb 2016 15:30:07 Z</pubDate><description>Hi&#13;
&#13;
once again, I'm not sure what you are asking.&#13;
&#13;
However, to use OLE automation is quite simple:&#13;
- the OLE automation sys…</description><guid isPermaLink="true">https://forum.pcsoft.fr/en-US/pcsoft.us.windev/56385-use-com-objects-56452/read.awp</guid><link>https://forum.pcsoft.fr/en-US/pcsoft.us.windev/56385-use-com-objects-56452/read.awp</link><source url="https://forum.pcsoft.fr/en-US/pcsoft.us.windev/56385-use-com-objects/read.awp">Use COM objects</source><title>Re: Use COM objects</title></item><item><author>gezas</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/en-US/pcsoft.us.windev/56385-use-com-objects-56418/read.awp</comments><pubDate>14 Feb 2016 07:54:08 Z</pubDate><description>Hi,&#13;
&#13;
I have investigated further and as far as I found importing the type library is not possible.&#13;
&#13;
Background info:&#13;
The Wi…</description><guid isPermaLink="true">https://forum.pcsoft.fr/en-US/pcsoft.us.windev/56385-use-com-objects-56418/read.awp</guid><link>https://forum.pcsoft.fr/en-US/pcsoft.us.windev/56385-use-com-objects-56418/read.awp</link><source url="https://forum.pcsoft.fr/en-US/pcsoft.us.windev/56385-use-com-objects/read.awp">Use COM objects</source><title>Re: Use COM objects</title></item><item><author>gezas</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/en-US/pcsoft.us.windev/56385-use-com-objects-56417/read.awp</comments><pubDate>14 Feb 2016 02:29:31 Z</pubDate><description>Hi Fabrice,&#13;
&#13;
thank you for your reply. I meant OLE automation. I have found and read the help for this. I understand that OLE …</description><guid isPermaLink="true">https://forum.pcsoft.fr/en-US/pcsoft.us.windev/56385-use-com-objects-56417/read.awp</guid><link>https://forum.pcsoft.fr/en-US/pcsoft.us.windev/56385-use-com-objects-56417/read.awp</link><source url="https://forum.pcsoft.fr/en-US/pcsoft.us.windev/56385-use-com-objects/read.awp">Use COM objects</source><title>Re: Use COM objects</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/en-US/pcsoft.us.windev/56385-use-com-objects-56390/read.awp</comments><pubDate>12 Feb 2016 12:57:48 Z</pubDate><description>Hi&#13;
&#13;
I'm not sure what you call COM classes. If you are talking about an &#13;
activeX and OLE automation, look at OLE in the help …</description><guid isPermaLink="true">https://forum.pcsoft.fr/en-US/pcsoft.us.windev/56385-use-com-objects-56390/read.awp</guid><link>https://forum.pcsoft.fr/en-US/pcsoft.us.windev/56385-use-com-objects-56390/read.awp</link><source url="https://forum.pcsoft.fr/en-US/pcsoft.us.windev/56385-use-com-objects/read.awp">Use COM objects</source><title>Re: Use COM objects</title></item></channel></rss>
