|
-
Oct 16th, 2001, 09:25 PM
#1
Thread Starter
Member
COM Component
I got a question? What is a good language to develop a COM component. Is it C++ or VB? Is there any perfomance issue and what is the pros and cons between both language?
-
Oct 17th, 2001, 11:55 AM
#2
Hyperactive Member
that depends...
That's a good question, but it really depends on how much work you want to do.
Writing a COM server in C++ is definitely the more robust and high speed way to go (use ATL). On the other hand, if you're looking to blow something out in a couple days, think VB. VB makes it painfully easy to write COM objects, but makes a mess of the type library and therefore the object compatibility.
There's a pretty steep learning curve for writing ATL COM components in C++, but you have way more control and the execution speed is impressive.
A compromise might be to make the type library yourself to force VB to behave and write the component in VB.
-scott
he he he
-
Oct 17th, 2001, 02:56 PM
#3
Scott -
Check out JP Hamiltons' Visual Basic Shell Programming
Integrating Applications with the Windows Shell
It takes that VB vs type library problem one step further.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|