Path variable to mso.dll and msoutl.olb

Posted by Stefanie on Stack Overflow See other posts from Stack Overflow or by Stefanie
Published on 2010-04-28T09:14:47Z Indexed on 2010/04/28 11:23 UTC
Read the original article Hit count: 161

Filed under:
|
|

Hey,

I'm trying to develop a toolbar for Microsoft Outlook. For getting it to work I need mso.dll and msoutl.olb as an import. My problem is: the path is hardcoded , but it varies for every OS and of course if someone doesn't install Office to the default path.

I tried it this way

http://support.microsoft.com/kb/234788/en-us/

but it didn't work, because I couldn't get the return value I needed (OK, after four type conversions but I thought there had to be a better way ;) )

Thanks for helping

© Stack Overflow or respective owner

Related posts about c++

Related posts about Windows