Click here to Skip to main content
15,909,897 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: "Failed to load toolbox item..." Pin
bsaksida11-Jan-07 21:06
bsaksida11-Jan-07 21:06 
Questionstatic const from MC++ to C# via DLL [modified] Pin
ShermansLagoon7-Jan-07 23:03
ShermansLagoon7-Jan-07 23:03 
AnswerRe: static const from MC++ to C# via DLL Pin
User 5838528-Jan-07 12:17
User 5838528-Jan-07 12:17 
GeneralRe: static const from MC++ to C# via DLL Pin
ShermansLagoon8-Jan-07 20:53
ShermansLagoon8-Jan-07 20:53 
AnswerRe: static const from MC++ to C# via DLL Pin
led mike9-Jan-07 5:39
led mike9-Jan-07 5:39 
GeneralRe: static const from MC++ to C# via DLL Pin
ShermansLagoon11-Jan-07 21:58
ShermansLagoon11-Jan-07 21:58 
GeneralRe: static const from MC++ to C# via DLL Pin
led mike12-Jan-07 4:57
led mike12-Jan-07 4:57 
GeneralRe: static const from MC++ to C# via DLL Pin
ShermansLagoon12-Jan-07 5:55
ShermansLagoon12-Jan-07 5:55 
I have IDL files for a CORBA subset language that until recently only compiled to C++ code. Since I wanna do the client side in a nice managed language like C# the idea was to create a compiler for the IDL files that created MC++ code that is compiled into a .DLL library.
In the IDL language there are several constant values declared, which is used similar to enumerations. In the C++ compiler they are defined as "compiler constant" values, i.e. it is possible to do neat switch-case code with their values. What I am looking for is a way of creating a IDL -> MC++ -> C# way that creates values that are equally "compiler constant", i.e. switch-case friendly. As shown in my first post I have found two ways, "static const" which are immutable but not compiler constant, and "enum class" which must be explicitly casted to integer values when used.
I hope this give you a more clear way of knowing what I really need, and that you (or anyone else) knows if this can be done or not.

Internet - the worlds biggest dictionary

GeneralRe: static const from MC++ to C# via DLL Pin
led mike12-Jan-07 7:12
led mike12-Jan-07 7:12 
GeneralRe: static const from MC++ to C# via DLL Pin
ShermansLagoon12-Jan-07 20:44
ShermansLagoon12-Jan-07 20:44 
AnswerRe: static const from MC++ to C# via DLL Pin
ShermansLagoon26-Mar-07 0:47
ShermansLagoon26-Mar-07 0:47 
QuestionHow can i use time ? Pin
Banks K7-Jan-07 23:02
Banks K7-Jan-07 23:02 
GeneralRe: How can i use time ? Pin
ShermansLagoon7-Jan-07 23:05
ShermansLagoon7-Jan-07 23:05 
AnswerRe: How can i use time ? Pin
Christian Graus8-Jan-07 9:39
protectorChristian Graus8-Jan-07 9:39 
QuestionHow to execute a function at schedule time? Pin
Banks K7-Jan-07 21:46
Banks K7-Jan-07 21:46 
AnswerRe: How to execute a function at schedule time? Pin
Christian Graus8-Jan-07 9:40
protectorChristian Graus8-Jan-07 9:40 
QuestionHelp with C++ Pin
Member 36662707-Jan-07 11:03
Member 36662707-Jan-07 11:03 
AnswerRe: Help with C++ Pin
Christian Graus7-Jan-07 15:21
protectorChristian Graus7-Jan-07 15:21 
GeneralRe: Help with C++ Pin
Jun Du8-Jan-07 14:03
Jun Du8-Jan-07 14:03 
QuestionMS VC ++ Dot NET 2003: PtrToStringChars Error. Pin
Madhu_TN7-Jan-07 6:31
Madhu_TN7-Jan-07 6:31 
AnswerRe: MS VC ++ Dot NET 2003: PtrToStringChars Error. Pin
Mark Salsbery10-Jan-07 13:46
Mark Salsbery10-Jan-07 13:46 
GeneralRe: MS VC ++ Dot NET 2003: PtrToStringChars Error. Pin
Madhu_TN10-Jan-07 16:04
Madhu_TN10-Jan-07 16:04 
GeneralRe: MS VC ++ Dot NET 2003: PtrToStringChars Error. Pin
Mark Salsbery10-Jan-07 16:10
Mark Salsbery10-Jan-07 16:10 
Questionhelp if any 1 can :) Pin
core996-Jan-07 10:07
core996-Jan-07 10:07 
AnswerRe: help if any 1 can :) Pin
Christian Graus6-Jan-07 10:43
protectorChristian Graus6-Jan-07 10: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.