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

Managed C++/CLI

 
QuestionHow to use recompiled header file? Pin
Super Lloyd27-Aug-06 4:11
Super Lloyd27-Aug-06 4:11 
QuestionManaged Wrapper for native abstract base class Pin
zenzero27-Aug-06 2:22
zenzero27-Aug-06 2:22 
AnswerRe: Managed Wrapper for native abstract base class Pin
tutu_cloud6-Sep-06 9:47
tutu_cloud6-Sep-06 9:47 
Questionnew memory stack for different parameters Pin
electronic_infections26-Aug-06 16:13
electronic_infections26-Aug-06 16:13 
QuestionPrinting Library Pin
Bob X26-Aug-06 11:06
Bob X26-Aug-06 11:06 
AnswerRe: Printing Library Pin
Nish Nishant28-Aug-06 4:47
sitebuilderNish Nishant28-Aug-06 4:47 
QuestionSlow Managed code versus Fast Native code Pin
zenzero26-Aug-06 4:01
zenzero26-Aug-06 4:01 
AnswerRe: Slow Managed code versus Fast Native code Pin
Christian Graus27-Aug-06 3:14
protectorChristian Graus27-Aug-06 3:14 
The managed version, when run, always needs to compile your code before running it. This is the main reason for the delays.

I wrote a very complex piece of image processing code in C#, and moved it to C++. The C# version took 5 minutes, the C++ port took days. I had to rethink my approach, the rewritten c++ version takes 4 minutes. The point is, languages are different and care needs to be taken to do reasonable bench tests. One core thing is to make sure the actual application takes long enough for the initial compilation step not to be an issue. To avoid this problem, simply write the code to run twice from a subroutine, with a keypress inbetween. The second time, it will have been precompiled.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog

GeneralRe: Slow Managed code versus Fast Native code Pin
zenzero27-Aug-06 5:04
zenzero27-Aug-06 5:04 
AnswerRe: Slow Managed code versus Fast Native code Pin
Nish Nishant28-Aug-06 4:46
sitebuilderNish Nishant28-Aug-06 4:46 
GeneralRe: Slow Managed code versus Fast Native code Pin
zenzero28-Aug-06 7:18
zenzero28-Aug-06 7:18 
Questionstd::wstring by ref Pin
wb24-Aug-06 23:52
wb24-Aug-06 23:52 
Question0D 0A terminated string to 00 terminated string Pin
samkook24-Aug-06 13:20
samkook24-Aug-06 13:20 
QuestionArray handling problems: Pin
luhfluh24-Aug-06 9:43
luhfluh24-Aug-06 9:43 
AnswerRe: Array handling problems: Pin
Christian Graus24-Aug-06 14:21
protectorChristian Graus24-Aug-06 14:21 
GeneralRe: Array handling problems: Pin
luhfluh25-Aug-06 0:59
luhfluh25-Aug-06 0:59 
QuestionHow to display Exception after the Form is loaded Pin
mmhu24-Aug-06 4:59
mmhu24-Aug-06 4:59 
AnswerRe: How to display Exception after the Form is loaded Pin
Nish Nishant25-Aug-06 2:59
sitebuilderNish Nishant25-Aug-06 2:59 
GeneralRe: How to display Exception after the Form is loaded Pin
mmhu26-Aug-06 13:26
mmhu26-Aug-06 13:26 
QuestionSetting toolbox tab programatically Pin
Edward Diener24-Aug-06 2:22
Edward Diener24-Aug-06 2:22 
QuestionInvisible text in Messagebox [modified] Pin
dawei.code23-Aug-06 0:02
dawei.code23-Aug-06 0:02 
AnswerRe: Invisible text in Messagebox Pin
Nish Nishant24-Aug-06 11:22
sitebuilderNish Nishant24-Aug-06 11:22 
GeneralRe: Invisible text in Messagebox Pin
dawei.code25-Aug-06 2:04
dawei.code25-Aug-06 2:04 
QuestionNon-managed (unsafe) code impersonation Pin
Ray Cassick22-Aug-06 9:00
Ray Cassick22-Aug-06 9:00 
AnswerRe: Non-managed (unsafe) code impersonation Pin
Nish Nishant23-Aug-06 6:45
sitebuilderNish Nishant23-Aug-06 6:45 

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.