User forums > Using Code::Blocks
Resource Editor
davar:
Also, very nice resource editor is in PellesC
http://www.smorgasbordet.com/pellesc/
kagerato:
--- Quote from: Tjaalie on August 04, 2005, 10:22:26 am ---Owke but how do i add an ActiveX control at runtime???
--- End quote ---
You've got a lot of reading to do. This is by no means a newbie-friendly technology. Note that most of these links point to additional topics in the sidebar table of contents.
http://msdn.microsoft.com/library/default.asp?url=/workshop/components/activex/intro.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/componentdevelopmentank.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/componentobjectmodelanchor.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncomg/html/msdn_basicpmd.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncomg/html/msdn_components.asp
I love this one, in particular:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/com/html/3578ca42-a4b6-44b3-ad5b-aeb5fa61f3f4.asp
Blatantly deceiving:
--- Quote from: Microsoft ---Purpose
COM is a platform-independent, distributed, object-oriented system for creating binary software components that can interact. COM is the foundation technology for Microsoft's OLE (compound documents) and ActiveX® (Internet-enabled components) technologies, as well as others.
--- End quote ---
My emphasis. Show me a COM module that runs outside of Windows and I'll show you a win32 emulation layer (or reimplementation).
--- Quote from: Microsoft ---Where Applicable
COM objects can be created with a variety of programming languages. Object-oriented languages, such as C++, provide programming mechanisms that simplify the implementation of COM objects. These objects can be within a single process, in other processes, even on remote machines.
--- End quote ---
They fail to point out this great variety. Additionally, to say that object-orientation simplifies the use of COM is a gross understatement. Only a real masochist would develop for a C++ API using a procedural language.
--- Quote from: Microsoft ---Developer Audience
COM is designed primarily for C++ and Microsoft Visual Basic® developers.
--- End quote ---
--- Quote from: Truth ---Developer Audience
COM is designed only for C++ and Microsoft Visual Basic® developers.
--- End quote ---
Vampyre_Dark:
CodeGuru.com might have some activex stuff for you. They have a ton of windows programming stuff.
grv575:
COM is a bit of a monster but it's not unthinkable to use COM objects in other languages. You basically just need to define the interfaces of the COM objects as a virtual table, and then use the virtual table to offset into the com object to invoke the various functions. I've done a media player (mp3, avi, mpg) in assembly which uses directshow com objects. There's a forum on doing this sort of stuff at the win32asmcommunity bulletin boards. But admittedly .net is a bit nicer to work with than com or activex objects. OTOH, since these MS technologies don't always pan out like they're supposed to (e.g. COM was supposed to unify object interface plug and play but CORBA is a nightmare) it might just make more sense to just package a portable C/C++ dll library. Every language in existence (almost) supports a C calling convention to use C library functions.
Navigation
[0] Message Index
[*] Previous page
Go to full version