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

Managed C++/CLI

 
GeneralRe: Running a C++/CLI dll from C# Pin
Christian Graus2-Jan-07 15:44
protectorChristian Graus2-Jan-07 15:44 
QuestionMoving The Mouse Then Clicking It's Button ? Pin
Fritzables1-Jan-07 12:32
Fritzables1-Jan-07 12:32 
AnswerRe: Moving The Mouse Then Clicking It's Button ? Pin
Christian Graus1-Jan-07 23:54
protectorChristian Graus1-Jan-07 23:54 
GeneralRe: Moving The Mouse Then Clicking It's Button ? Pin
Fritzables2-Jan-07 0:29
Fritzables2-Jan-07 0:29 
QuestionMessage Removed Pin
1-Jan-07 7:58
Armond Sarkisian1-Jan-07 7:58 
AnswerRe: A Little Bit Confused... Pin
Xpnctoc1-Jan-07 9:20
Xpnctoc1-Jan-07 9:20 
AnswerRe: A Little Bit Confused... Pin
bsaksida1-Jan-07 10:35
bsaksida1-Jan-07 10:35 
QuestionHandle vs. pointer access speed??? Pin
Xpnctoc31-Dec-06 19:22
Xpnctoc31-Dec-06 19:22 
I wrote a game using OpenGL and C++/MFC. I wanted to port it over to C++/CLI to take advantage of the .NET framework for quicker design/implementation of dialog boxes and some memory management.

I ported over just the terrain algorithm so far, but I have already run into a severe dilemma, where my framerate has dropped from 40FPS to 5-10FPS. Identical algorithms. The difference is in the ported code I use a lot of managed handles rather than unmanaged pointers. To me it doesn't seem possible that memory access via managed handle could be slow enough to kill my rendering rates. But I don't know what else to think.

Can anyone shed some light on if there are significant performance differences between accessing data by managed handle versus unmanaged pointer? Please don't refer me to a gaming site. I have already posted to game dev sites from the graphics rendering perspective. I'm looking to this community for more insight to memory access and handle/pointer operations. Thanks...
AnswerRe: Handle vs. pointer access speed??? Pin
bsaksida1-Jan-07 2:27
bsaksida1-Jan-07 2:27 
GeneralRe: Handle vs. pointer access speed??? Pin
Xpnctoc1-Jan-07 4:28
Xpnctoc1-Jan-07 4:28 
GeneralRe: Handle vs. pointer access speed??? Pin
bsaksida1-Jan-07 4:37
bsaksida1-Jan-07 4:37 
GeneralRe: Handle vs. pointer access speed??? Pin
Xpnctoc1-Jan-07 5:18
Xpnctoc1-Jan-07 5:18 
AnswerNot what I thought it was... Pin
Xpnctoc1-Jan-07 5:24
Xpnctoc1-Jan-07 5:24 
GeneralRe: Not what I thought it was... Pin
bsaksida1-Jan-07 10:31
bsaksida1-Jan-07 10:31 
QuestionProgram can't run: "The application has failed to start because its side-by-side configuration is incorrect" Pin
Super Lloyd28-Dec-06 13:27
Super Lloyd28-Dec-06 13:27 
AnswerRe: Program can't run: "The application has failed to start because its side-by-side configuration is incorrect" Pin
bsaksida29-Dec-06 0:06
bsaksida29-Dec-06 0:06 
GeneralRe: Program can't run: "The application has failed to start because its side-by-side configuration is incorrect" Pin
Super Lloyd29-Dec-06 1:51
Super Lloyd29-Dec-06 1:51 
GeneralRe: Program can't run: "The application has failed to start because its side-by-side configuration is incorrect" Pin
bsaksida29-Dec-06 2:02
bsaksida29-Dec-06 2:02 
GeneralRe: Program can't run: "The application has failed to start because its side-by-side configuration is incorrect" Pin
Super Lloyd29-Dec-06 11:20
Super Lloyd29-Dec-06 11:20 
AnswerRe: Program can't run: "The application has failed to start because its side-by-side configuration is incorrect" Pin
George L. Jackson29-Dec-06 11:55
George L. Jackson29-Dec-06 11:55 
GeneralRe: Program can't run: "The application has failed to start because its side-by-side configuration is incorrect" Pin
Super Lloyd29-Dec-06 14:31
Super Lloyd29-Dec-06 14:31 
QuestionCompiling Question Pin
bsaksida28-Dec-06 11:04
bsaksida28-Dec-06 11:04 
AnswerRe: Compiling Question Pin
Mark Salsbery28-Dec-06 11:36
Mark Salsbery28-Dec-06 11:36 
GeneralRe: Compiling Question [modified] Pin
bsaksida28-Dec-06 12:44
bsaksida28-Dec-06 12:44 
GeneralRe: Compiling Question Pin
Mark Salsbery28-Dec-06 12:55
Mark Salsbery28-Dec-06 12:55 

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.