Click here to Skip to main content
16,011,868 members
Home / Discussions / COM
   

COM

 
AnswerRe: Give me a simple MS COM object which raises events Pin
User 2155975-Jan-07 0:20
User 2155975-Jan-07 0:20 
GeneralRe: Give me a simple MS COM object which raises events Pin
JoeRip5-Jan-07 0:45
JoeRip5-Jan-07 0:45 
GeneralRe: Give me a simple MS COM object which raises events Pin
User 2155975-Jan-07 3:36
User 2155975-Jan-07 3:36 
GeneralRe: Give me a simple MS COM object which raises events Pin
Mike Dimmick5-Jan-07 5:23
Mike Dimmick5-Jan-07 5:23 
GeneralRe: Give me a simple MS COM object which raises events Pin
JoeRip5-Jan-07 11:03
JoeRip5-Jan-07 11:03 
QuestionSinking HTMLWindowEvents2::OnUnload Pin
A_L4-Jan-07 15:34
A_L4-Jan-07 15:34 
Questionmatlab help ??? please Pin
ersincakir4-Jan-07 15:24
ersincakir4-Jan-07 15:24 
QuestionC# and COM - exporting enum-s Pin
Vitaly Tomilov4-Jan-07 0:42
Vitaly Tomilov4-Jan-07 0:42 
Hi,

I'm writing a COM interop interface in C# (VS2005) to be used in VC++, and got into problem of proper exporting enum-s in such interface.

When i previously used C++ for writing COM interfaces, i would just declare the enum within IDL file, and then within the library section also declare it, that way way making my enum accessible when TLB file is imported using #import in C++;

Now in C# if i declare: public enum MyEnymType {val1, val2,...}, then such object when imported into C++ project is declared as: enum MyEnymType {MyEnymType_val1, MyEnymType_val2,...} instead of enum MyEnymType {val1, val2,...}

Is there a way to make C# embed my enum type into the object in such a way that it exports original enum declaration during import instead of such an ugly Type_Value thing?

Thank you,
Vitaly


Free C++ libraries with source code on www.neatcpp.com: TWAIN, DirectShow, Interprocess Communications, etc...

AnswerRe: C# and COM - exporting enum-s Pin
Pete O'Hanlon4-Jan-07 2:53
mvePete O'Hanlon4-Jan-07 2:53 
GeneralRe: C# and COM - exporting enum-s Pin
Vitaly Tomilov4-Jan-07 3:11
Vitaly Tomilov4-Jan-07 3:11 
GeneralRe: C# and COM - exporting enum-s Pin
Pete O'Hanlon5-Jan-07 3:30
mvePete O'Hanlon5-Jan-07 3:30 
Questionattaching com component to window (CWnd) Pin
praveen kumar agarwal3-Jan-07 20:38
praveen kumar agarwal3-Jan-07 20:38 
AnswerRe: attaching com component to window (CWnd) Pin
Aamir Butt3-Jan-07 20:45
Aamir Butt3-Jan-07 20:45 
Questionsend data with com port Pin
omidcomputer2-Jan-07 20:40
omidcomputer2-Jan-07 20:40 
AnswerRe: send data with com port Pin
CPallini2-Jan-07 21:12
mveCPallini2-Jan-07 21:12 
GeneralRe: send data with com port Pin
omidcomputer9-Jan-07 19:17
omidcomputer9-Jan-07 19:17 
GeneralRe: send data with com port Pin
CPallini9-Jan-07 20:42
mveCPallini9-Jan-07 20:42 
QuestionMy DLL is a normal API without any COM interface Pin
stellvia2-Jan-07 19:49
stellvia2-Jan-07 19:49 
AnswerRe: My DLL is a normal API without any COM interface Pin
CPallini2-Jan-07 21:14
mveCPallini2-Jan-07 21:14 
AnswerRe: My DLL is a normal API without any COM interface Pin
User 2155974-Jan-07 0:02
User 2155974-Jan-07 0:02 
QuestionSetting the position of a toolbar in IE Pin
georgekjolly29-Dec-06 23:45
georgekjolly29-Dec-06 23:45 
QuestionAlternate control for DSO Framer in .net Pin
indian14329-Dec-06 19:19
indian14329-Dec-06 19:19 
QuestionHow to make a toolbar for mozilla Pin
georgekjolly28-Dec-06 22:26
georgekjolly28-Dec-06 22:26 
AnswerRe: How to make a toolbar for mozilla Pin
User 21559728-Dec-06 23:17
User 21559728-Dec-06 23:17 
GeneralRe: How to make a toolbar for mozilla Pin
georgekjolly28-Dec-06 23:43
georgekjolly28-Dec-06 23:43 

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.