Any good resource on COM?
-
-
Hi,
What COM element do you need to use ?
-
@VRonin said in Any good resource on COM?:
despite managing to dodge this bullet
Sorry buddy... I'm still trying to continue dodging that.
I used COM a bit before I got into Qt back in 1999/2000. It was awful. It was one of the driving forces behind me finding a better way to code GUIs. It led me to Qt so it was cool for that. One of the worst technologies ever invented imo.
-
@VRonin said in Any good resource on COM?:
If you used this system before do you know a good resource (i.e. manual/book) you'd recommend?
I used to do some of that when I was young, but sadly don't have anything on hand. If I recall correctly one also needs a very special kind of dev environment to use it - one that knows what IDL files are and how to generate the binary interface based on them. I have no idea how
QtAx*
deals with that to be honest, or if it does at all.My best advice is to pull up a couple of tutorials from the internet and glance through them, it shouldn't be very hard to grasp the idea, however bad it may be ... ;)
@ambershark said in Any good resource on COM?:
One of the worst technologies ever invented imo.
I second that.
-
@SGaist said in Any good resource on COM?:
What COM element do you need to use ?
Unfortunately I have no Idea, I have to interface with a 3rd party service and the only API they offer is COM so I have no other choice. It's a
send command->receive answer
kind of thing -
Hi, agreed that 20 years ago COM was pretty awful and finicky. But if your 3rd party service software is younger than that (say written after the turn of the century) then most of the strange/bizarre parts of COM has been abandoned and what remains are rather well documented on StackOverflow etc.
For example, if interfacing to your 3rd party service means pulling in a .dll that is straighforward to do using just Qt's COM API, there are lots of examples as well.
-
Hi,
I have a similar quest and stumbled upon this article which seems promising:
obtain-type-information-of-idispatch-based-com-objects-from-managed-codeYour title looks like a good pointer for people posting the same kind of questions, so I put it here.
Eddy