Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Using COM object
Re: Using COM object [message #15393 is a reply to message #15376] Sun, 20 April 2008 16:12 Go to previous messageGo to previous message
tvanriper is currently offline  tvanriper
Messages: 85
Registered: September 2007
Location: Germantown, MD, USA
Member
I do not think so... the .dli mechanism looks to me as if it is intended to be used with arbitrary DLLs and the functions they expose.

I've bound to COM objects using Ultimate++ before, at my job. Basically, I sorta cheated.

I had another project in Microsoft Visual C++ that used the COM objects I wanted to use. These generated a .c and .h file that provided the bindings I needed for the COM object. I simply pulled these into my Ultimate++ project.

This said, I should think you ought to be able to use the #import trick if the DLL in question supports it. You'll need to include the right headers to make use of it (I can't recall what they are right now, and I'm at home... won't be back to work for a week or so). And, honestly, I haven't really tried it.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: custom buildsteps
Next Topic: Link error when using polymorphism
Goto Forum:
  


Current Time: Sat May 11 16:49:22 CEST 2024

Total time taken to generate the page: 0.02703 seconds