1. COM with late binding

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

new topic     » topic index » view message » categorize

2. Re: COM with late binding

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu