Click here to Skip to main content
15,898,990 members
Home / Discussions / COM
   

COM

 
QuestionBeginner COM Pin
Kuryn11-Sep-07 9:10
Kuryn11-Sep-07 9:10 
AnswerRe: Beginner COM Pin
Michael Dunn13-Sep-07 10:10
sitebuilderMichael Dunn13-Sep-07 10:10 
QuestionRegistry Pin
john563210-Sep-07 19:46
john563210-Sep-07 19:46 
QuestionHow to create a proxy/stub dll for a odl( which has come with MFC dialog based application with automation support) Pin
Kishore JP10-Sep-07 0:58
Kishore JP10-Sep-07 0:58 
QuestionHow to write directly in COleStreamFile(would be serialized in Structured Storage)? Pin
oleg637-Sep-07 11:28
professionaloleg637-Sep-07 11:28 
QuestionUsing COM in a scenario. Pin
HakunaMatada6-Sep-07 19:09
HakunaMatada6-Sep-07 19:09 
AnswerRe: Using COM in a scenario. Pin
Hubert Mayer12-Sep-07 5:04
Hubert Mayer12-Sep-07 5:04 
QuestionConverting a C++ COM object to .NET COM object Pin
xavierakx6-Sep-07 17:51
xavierakx6-Sep-07 17:51 
Hi all,

I'm need of some quick help on this. Sorry that I haven't done much home work. I'm a little new to COM. But certainly appreciate any help.

I got a typelib file, that was generated by a VC++ project. It's a simple typelib. An ABC library, XYZ co-class and IXYZ interface.

Now, I got to write this code in .NET. I created a VB.NET project and added a COM class with the same name as the co-class in C++ - "XYZ". And I compiled. However, in the typelib, I get the default names for the library(the .NET project name) and interface ("_XYZ") . i.e., the library name and interface name are different in both the type libs.

I would like to know how in .NET we explicitly specify the library name and interface name too, so that I get exactly the same type lib in VC++ project.

That should be a simple one I guess.

Xavier
AnswerRe: Converting a C++ COM object to .NET COM object Pin
Venkata Rama Subbarao11-Sep-07 14:39
Venkata Rama Subbarao11-Sep-07 14:39 
GeneralRe: Converting a C++ COM object to .NET COM object Pin
xavierakx11-Sep-07 17:32
xavierakx11-Sep-07 17:32 
GeneralApplication crashes when CoCreateInstance is called in VS 2005 in Vista machine Pin
sw@thi6-Sep-07 1:17
sw@thi6-Sep-07 1:17 
GeneralRe: Application crashes when CoCreateInstance is called in VS 2005 in Vista machine Pin
Hubert Mayer12-Sep-07 5:06
Hubert Mayer12-Sep-07 5:06 
QuestionGUID Creation Pin
HakunaMatada5-Sep-07 18:53
HakunaMatada5-Sep-07 18:53 
AnswerRe: GUID Creation Pin
Michael Dunn6-Sep-07 15:25
sitebuilderMichael Dunn6-Sep-07 15:25 
QuestionTlbImp is causing an error ? Pin
AF_Ciphr5-Sep-07 5:27
AF_Ciphr5-Sep-07 5:27 
QuestionActiveX - open file error Pin
m1m24-Sep-07 10:18
m1m24-Sep-07 10:18 
QuestionFailed to import COM dll in C++ into C# in .NET 2005 Pin
Jack Rong4-Sep-07 5:50
Jack Rong4-Sep-07 5:50 
AnswerRe: Failed to import COM dll in C++ into C# in .NET 2005 Pin
myshketer5-Sep-07 2:50
myshketer5-Sep-07 2:50 
QuestionDCOM Server question Pin
PaulCammy3-Sep-07 11:31
PaulCammy3-Sep-07 11:31 
AnswerRe: DCOM Server question Pin
Hubert Mayer14-Sep-07 5:13
Hubert Mayer14-Sep-07 5:13 
QuestionImplementing IDownloadManager & download() method.. Pin
p33ks3-Sep-07 3:54
p33ks3-Sep-07 3:54 
SuggestioncsExWBv2.0.0.2 + TrueDownloaderIE Pin
xinkmt7-Dec-11 16:08
xinkmt7-Dec-11 16:08 
QuestionMSWord COM Addin problem Pin
Tarek Jabri3-Sep-07 2:09
Tarek Jabri3-Sep-07 2:09 
Questioninspect DLL for IDispatch methods Pin
Chris Losinger1-Sep-07 11:02
professionalChris Losinger1-Sep-07 11:02 
AnswerRe: inspect DLL for IDispatch methods Pin
Jörgen Sigvardsson1-Sep-07 11:44
Jörgen Sigvardsson1-Sep-07 11:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.