1. COM with late binding
- Posted by coder Oct 29, 2010
- 1177 views
Hi All,
I have been trying to figure out how to do late binding with euphoria( ie something like CreateObject("Excel.Application")) by using PROGID instead of CLSID. Eucom appears to support only the CLSID approach. Though i can convert the progid to clsid by using clsidfromprogid , I am not able to find out a way of using this function and then integrating with eucom's create_com_object.
Any help would be welcome
coder
2. Re: COM with late binding
- Posted by coder Oct 31, 2010
- 918 views
Never mind. The solution was simple: 1. use clsidfromprogid 2. Peek 16 from the resultant clsid to build the guid string 3. call guid_to_string of eucom with this string 4. follow up with add_clsid and add_iid before calling CoCreateInstance
coder