Click here to Skip to main content
14,929,628 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Loading and Freeing Assemblies Pin
Richard Andrew x6429-Mar-07 11:47
professionalRichard Andrew x6429-Mar-07 11:47 
GeneralRe: Loading and Freeing Assemblies Pin
Nish Nishant1-Apr-07 3:20
sitebuilderNish Nishant1-Apr-07 3:20 
QuestionWhat constitutes a mixed type Pin
Richard Andrew x6427-Mar-07 10:03
professionalRichard Andrew x6427-Mar-07 10:03 
AnswerRe: What constitutes a mixed type [modified] Pin
George L. Jackson27-Mar-07 11:11
MemberGeorge L. Jackson27-Mar-07 11:11 
GeneralRe: What constitutes a mixed type Pin
Richard Andrew x6427-Mar-07 12:05
professionalRichard Andrew x6427-Mar-07 12:05 
Questionstd::string.insert Pin
Andy H27-Mar-07 6:08
MemberAndy H27-Mar-07 6:08 
AnswerRe: std::string.insert Pin
Nish Nishant27-Mar-07 6:14
sitebuilderNish Nishant27-Mar-07 6:14 
QuestionGenerated C++ from designer causes exception in CodeDOM [modified] Pin
SE_GEEK26-Mar-07 11:33
MemberSE_GEEK26-Mar-07 11:33 
I am experiencing a rather irritating problem in a Managed C++ application I have written. I have a form that is using a custom control that I wrote in C#. The code runs correctly, however whenever the designer generates the C++ code in the ".h" file for the form it prefixes the type of my control with a "::". This causes an exception in the CodeDOM parser when I then try to use the design view of the form.

The custom control is called ImageDisplay, and it is within a namespace of ImageDisplay.

Here is the offending line of code:
this->imageDisplayFront = (gcnew ::ImageDisplay::ImageDisplay());


If I change the line to:
this->imageDisplayFront = (gcnew ImageDisplay::ImageDisplay());


Then all is well in the universe until the next time I make a change in the designer that generates code. Is there a trick I can do to keep whatever is generating this code from adding the extra "::"?

I am running Visual Studio 2005 with service pack 1.

-- modified at 9:03 Tuesday 27th March, 2007

Truly wise men don't play leap frog with Unicorns.

QuestionRun time code generation Pin
Bhupinder Sodhi25-Mar-07 23:14
MemberBhupinder Sodhi25-Mar-07 23:14 
AnswerRe: Run time code generation Pin
Mark Salsbery26-Mar-07 10:59
MemberMark Salsbery26-Mar-07 10:59 
GeneralRe: Run time code generation Pin
Bhupinder Sodhi26-Mar-07 17:03
MemberBhupinder Sodhi26-Mar-07 17:03 
AnswerRe: Run time code generation Pin
Christian Graus26-Mar-07 17:05
protectorChristian Graus26-Mar-07 17:05 
GeneralRe: Run time code generation Pin
Bhupinder Sodhi26-Mar-07 22:42
MemberBhupinder Sodhi26-Mar-07 22:42 
GeneralRe: Run time code generation Pin
Christian Graus27-Mar-07 2:38
protectorChristian Graus27-Mar-07 2:38 
GeneralRe: Run time code generation Pin
Bhupinder Sodhi27-Mar-07 2:47
MemberBhupinder Sodhi27-Mar-07 2:47 
Questionhelp me please Pin
agsathish25-Mar-07 21:53
Memberagsathish25-Mar-07 21:53 
AnswerRe: help me please Pin
Christian Graus26-Mar-07 2:30
protectorChristian Graus26-Mar-07 2:30 
GeneralRe: help me please Pin
Mark Salsbery26-Mar-07 11:00
MemberMark Salsbery26-Mar-07 11:00 
GeneralRe: help me please Pin
Christian Graus26-Mar-07 11:28
protectorChristian Graus26-Mar-07 11:28 
GeneralRe: help me please Pin
led mike27-Mar-07 5:06
Memberled mike27-Mar-07 5:06 
QuestionHelp interfacing parallel port (in XP) Pin
paraleif24-Mar-07 2:22
Memberparaleif24-Mar-07 2:22 
AnswerRe: Help interfacing parallel port (in XP) Pin
Christian Graus24-Mar-07 4:42
protectorChristian Graus24-Mar-07 4:42 
QuestionResource error Pin
rushiraj.jhala22-Mar-07 19:13
Memberrushiraj.jhala22-Mar-07 19:13 
AnswerRe: Resource error Pin
George L. Jackson23-Mar-07 11:35
MemberGeorge L. Jackson23-Mar-07 11:35 
Questionconcat images Pin
sarah_malik22-Mar-07 12:10
Membersarah_malik22-Mar-07 12:10 

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.