Externals and COM objects

Dar Scott dsc at swcp.com
Fri Aug 10 11:50:11 EDT 2012


It has been years.  

This might be due to the wrong mode for the thread you are on.  Look at how you use SetApartmentState() and CoInitializeEx().  Yikes!  I misspelled the first function and the spellchecker found it!  

Thread problems can be fickle, so just because something seems to work once does not mean it is reliable.  

There is probably a pun including these words:  External, Apartment, Thread, ...

Dar


On Aug 10, 2012, at 5:08 AM, Mark Schonewille wrote:

> Hi,
> 
> We have made an external that uses COM objects. Now we get the following error when running the external:
> 
> Failed to initialize COM library. Error code = 0x80010106
> 
> Does this look familiar to anyone? Is anyone aware of problems with COM components and LiveCode? Any solutions?
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> 
> Economy-x-Talk is looking for an amateur painter/cartoonist/poet etc. Contact me http://qery.us/du
> 
> The Economy-x-Talk office is closed from 30 August until 4 September 2012.
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the Use-livecode mailing list