473,729 Members | 2,130 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Tutorial for COM library creation

I've used COM libraries in VC++ before, but now I need to create one.
It's easy enough to do in .NET, but I need to write it in unmanaged
C++. Can anyone point me to a tutorial or some other reference that
explains how to create a C++ COM class in a DLL.

Jun 14 '06 #1
3 983
Oops... didn't mean to post this to the dotnet group.

Fish in a Barrel wrote:
I've used COM libraries in VC++ before, but now I need to create one.
It's easy enough to do in .NET, but I need to write it in unmanaged
C++. Can anyone point me to a tutorial or some other reference that
explains how to create a C++ COM class in a DLL.


Jun 14 '06 #2
> I've used COM libraries in VC++ before, but now I need to create one.
It's easy enough to do in .NET, but I need to write it in unmanaged
C++. Can anyone point me to a tutorial or some other reference that
explains how to create a C++ COM class in a DLL.


go to www.codeproject.com and do a search for 'DLL COM' or just 'COM' in the
category C++.
you'll find a ton of articles. start from there.

--

Kind regards,
Bruno van Dooren
br************* *********@hotma il.com
Remove only "_nos_pam"
Jun 14 '06 #3
If you want to get into this in any kind of detail, I strongly recommend
purchasing a book.

http://tinyurl.com/qzdfp

Brian
Jun 14 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
2059
by: Alf P. Steinbach | last post by:
The fifth part of my attempted Correct C++ tutorial is now available, although for now only in Word format (use free Open Office if no Word), and also, it's not yet been reviewed at all -- comments welcome! "How to use libraries" <url: http://home.no.net/dubjai/win32cpptut/w32cpptut_01_05.doc> General URL: <url: http://home.no.net/dubjai/win32cpptut/html/>
11
2934
by: Magnus Lycka | last post by:
While the official Python Tutorial has served its purpose well, keeping it up to date is hardly anyones top priority, and there are others who passionately create really good Python tutorials on the web. I think 'A Byte of Python' by Swaroop C H is a good beginners tutorial, and 'Dive Into Python' by Mark Pilgrim is a good tutorial for more experienced programmers.
5
1202
by: Anibal | last post by:
Hi, I need a tutorial (URL) that explains the use of SqlCommand to execute Stored Procedures that return values in SQL Server 2000; also the meaning and use of the diferent types of parameter (Output, Input, Return Value). Thank you very mutch.
9
9324
by: vasudevram | last post by:
Hi, Is there any C++ library (free software or open source) for PDF creation, other than PDFLib? Also know about libpdf++ but it looks like it has only a few features, not enough for my needs. I'm looking for such a library to use for: 1. Porting my xtopdf PDF creation/conversion toolkit - see
8
2230
by: vasudevram | last post by:
Hi, Is there any C library (free software or open source) for PDF creation, other than PDFLib? I'm looking for such a library to use for: 1. Porting my xtopdf PDF creation/conversion toolkit - see http://www.dancingbison.com/services.html - from Python to C, for reasons of a) possibly better performance, b) being able to wrap the
31
1722
by: Antoon Pardon | last post by:
The following is part of the explanation on slices in the tutorial: The best way to remember how slices work is to think of the indices as pointing between characters, with the left edge of the first character numbered 0. Then the right edge of the last character of a string of n characters has index n, for example: +---+---+---+---+---+ | H | e | l | p | A |
6
38513
Atli
by: Atli | last post by:
This is an easy to digest 12 step guide on basics of using MySQL. It's a great refresher for those who need it and it work's great for first time MySQL users. Anyone should be able to get through this without much trouble. Programming knowledge is not required. Index What is SQL? Why MySQL? Installing MySQL. Using the MySQL command line interface
0
8932
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8767
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9295
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9222
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8168
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4799
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3246
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2702
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2173
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.