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

Managed C++/CLI

 
AnswerRe: help vc++.net Pin
Richard MacCutchan17-May-10 1:26
mveRichard MacCutchan17-May-10 1:26 
Question[] symbol appears in string when reading from / writing to file Pin
KlaasVersteeg16-May-10 23:57
KlaasVersteeg16-May-10 23:57 
QuestionSizeof out of scope? Pin
Xpnctoc8-May-10 6:39
Xpnctoc8-May-10 6:39 
AnswerRe: Sizeof out of scope? Pin
Michel Godfroid8-May-10 8:48
Michel Godfroid8-May-10 8:48 
AnswerRe: Sizeof out of scope? Pin
Richard MacCutchan8-May-10 8:59
mveRichard MacCutchan8-May-10 8:59 
AnswerRe: Sizeof out of scope? Pin
Xpnctoc8-May-10 17:54
Xpnctoc8-May-10 17:54 
GeneralRe: Sizeof out of scope? Pin
Michel Godfroid8-May-10 20:15
Michel Godfroid8-May-10 20:15 
GeneralRe: Sizeof out of scope? Pin
Xpnctoc9-May-10 12:18
Xpnctoc9-May-10 12:18 
But I'm not dealing with strictly unmanaged C++ anyway. My project is a "mixed mode" C++/CLI project. By definition, the project has to be .NET-aware. And the breakpoint that I set was actually in a managed code section (i.e., in one of the Windows Forms event handlers). So why can't it use the same .NET compilation support as C#?

Even if the project was 100% unmanaged, the compiler still has to convert a sizeof call into a useable via some kind of library. Why can't the debugger make use of that part of the compiler?

I don't label the problem itself as "stupid". I obviously don't understand it and was trying to get some clarification. What I do label as "stupid" is the "out of scope" error message. It just seems to me that there has to be a lot better/more helpful wording for when this error condition is encountered -- something like:

"'Sizeof' operator is unsupported in debugging."

If they had a truly informative error message like that, I wouldn't have had to start this post to begin with. It still wouldn't answer the "why" questions, but at least it would be a lot less cryptic than some vague "out of scope" message. After all, if sizeof is an operator rather than a function as you originally suggested, how the heck can an operator -- a built-in part of the language -- be out of scope?
GeneralRe: Sizeof out of scope? Pin
Richard MacCutchan9-May-10 22:12
mveRichard MacCutchan9-May-10 22:12 
GeneralRe: Sizeof out of scope? Pin
Xpnctoc10-May-10 4:30
Xpnctoc10-May-10 4:30 
GeneralRe: Sizeof out of scope? Pin
Richard MacCutchan10-May-10 5:15
mveRichard MacCutchan10-May-10 5:15 
GeneralRe: Sizeof out of scope? Pin
Xpnctoc10-May-10 5:47
Xpnctoc10-May-10 5:47 
GeneralRe: Sizeof out of scope? Pin
Richard MacCutchan10-May-10 6:13
mveRichard MacCutchan10-May-10 6:13 
QuestionIncorporating a jpg image in .exe file Pin
Invinci5-May-10 1:31
Invinci5-May-10 1:31 
AnswerRe: Incorporating a jpg image in .exe file Pin
Andreoli Carlo5-May-10 5:04
professionalAndreoli Carlo5-May-10 5:04 
QuestionBasic memory management problem Pin
randomVariable30-Apr-10 4:31
randomVariable30-Apr-10 4:31 
QuestionMessage Removed Pin
29-Apr-10 23:56
arun_pk29-Apr-10 23:56 
AnswerRe: List View Column delete Pin
Andreoli Carlo30-Apr-10 4:34
professionalAndreoli Carlo30-Apr-10 4:34 
QuestionProblems creating Native C++ object from within C++/CLI [modified] Pin
smea29-Apr-10 8:56
smea29-Apr-10 8:56 
AnswerRe: Problems creating Native C++ object from within C++/CLI Pin
Michel Godfroid30-Apr-10 0:14
Michel Godfroid30-Apr-10 0:14 
GeneralRe: Problems creating Native C++ object from within C++/CLI Pin
smea5-May-10 3:21
smea5-May-10 3:21 
AnswerRe: Problems creating Native C++ object from within C++/CLI Pin
Michel Godfroid5-May-10 3:23
Michel Godfroid5-May-10 3:23 
Questionrun , show and application in my project and handle its forms Pin
iman_kh28-Apr-10 3:45
iman_kh28-Apr-10 3:45 
AnswerRe: run , show and application in my project and handle its forms Pin
Xeqtr28-Apr-10 7:14
Xeqtr28-Apr-10 7:14 
QuestionDynamic label text? Pin
Lucidation26-Apr-10 9:52
Lucidation26-Apr-10 9:52 

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.