Click here to Skip to main content
15,920,603 members
Home / Discussions / C#
   

C#

 
AnswerRe: Passing objects to constructors Pin
Ed.Poore4-Jan-07 4:38
Ed.Poore4-Jan-07 4:38 
GeneralRe: Passing objects to constructors Pin
karl17014-Jan-07 4:53
karl17014-Jan-07 4:53 
QuestionAn Issue with GAC Pin
dreamz64804-Jan-07 3:09
dreamz64804-Jan-07 3:09 
AnswerRe: An Issue with GAC Pin
Judah Gabriel Himango4-Jan-07 5:21
sponsorJudah Gabriel Himango4-Jan-07 5:21 
QuestionRe: An Issue with GAC Pin
dreamz64804-Jan-07 7:15
dreamz64804-Jan-07 7:15 
AnswerRe: An Issue with GAC Pin
Judah Gabriel Himango4-Jan-07 7:32
sponsorJudah Gabriel Himango4-Jan-07 7:32 
AnswerRe: An Issue with GAC Pin
Daniel Grunwald4-Jan-07 7:24
Daniel Grunwald4-Jan-07 7:24 
QuestionDatagrid Pin
md_refay4-Jan-07 0:56
md_refay4-Jan-07 0:56 
AnswerRe: Datagrid Pin
ednrgc4-Jan-07 2:07
ednrgc4-Jan-07 2:07 
GeneralRe: Datagrid Pin
md_refay4-Jan-07 2:41
md_refay4-Jan-07 2:41 
GeneralRe: Datagrid Pin
Martin#4-Jan-07 2:49
Martin#4-Jan-07 2:49 
GeneralRe: Datagrid Pin
quiteSmart4-Jan-07 3:33
quiteSmart4-Jan-07 3:33 
AnswerRe: Datagrid Pin
Drew McGhie4-Jan-07 5:02
Drew McGhie4-Jan-07 5:02 
QuestionLaunching the Windows ODBC Data Source Administrator Pin
Langers4-Jan-07 0:39
Langers4-Jan-07 0:39 
QuestionProblem with using enum in C# interface Pin
Vitaly Tomilov4-Jan-07 0:01
Vitaly Tomilov4-Jan-07 0:01 
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


AnswerRe: Problem with using enum in C# interface Pin
Guffa4-Jan-07 1:20
Guffa4-Jan-07 1:20 
GeneralRe: Problem with using enum in C# interface Pin
Vitaly Tomilov4-Jan-07 1:35
Vitaly Tomilov4-Jan-07 1:35 
GeneralRe: Problem with using enum in C# interface Pin
Pete O'Hanlon4-Jan-07 1:42
mvePete O'Hanlon4-Jan-07 1:42 
GeneralRe: Problem with using enum in C# interface Pin
Vitaly Tomilov4-Jan-07 3:12
Vitaly Tomilov4-Jan-07 3:12 
GeneralRe: Problem with using enum in C# interface Pin
Pete O'Hanlon4-Jan-07 3:47
mvePete O'Hanlon4-Jan-07 3:47 
GeneralRe: Problem with using enum in C# interface Pin
Dan Neely4-Jan-07 4:20
Dan Neely4-Jan-07 4:20 
GeneralRe: Problem with using enum in C# interface Pin
quiteSmart4-Jan-07 2:18
quiteSmart4-Jan-07 2:18 
QuestionDeleting nodes recursivily Pin
Gareth H3-Jan-07 23:55
Gareth H3-Jan-07 23:55 
AnswerRe: Deleting nodes recursivily Pin
Pete O'Hanlon4-Jan-07 1:46
mvePete O'Hanlon4-Jan-07 1:46 
GeneralRe: Deleting nodes recursivily Pin
Gareth H4-Jan-07 2:56
Gareth H4-Jan-07 2:56 

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.