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

Managed C++/CLI

 
QuestionRe: Reference Casting question. Pin
led mike11-Sep-08 5:45
led mike11-Sep-08 5:45 
AnswerRe: Reference Casting question. Pin
Mark Salsbery11-Sep-08 5:57
Mark Salsbery11-Sep-08 5:57 
GeneralRe: Reference Casting question. [modified] Pin
peterdrozd11-Sep-08 5:26
peterdrozd11-Sep-08 5:26 
GeneralRe: Reference Casting question. Pin
Mark Salsbery11-Sep-08 5:40
Mark Salsbery11-Sep-08 5:40 
GeneralRe: Reference Casting question. Pin
peterdrozd11-Sep-08 5:44
peterdrozd11-Sep-08 5:44 
GeneralRe: Reference Casting question. Pin
Mark Salsbery11-Sep-08 5:56
Mark Salsbery11-Sep-08 5:56 
GeneralRe: Reference Casting question. Pin
Mark Salsbery11-Sep-08 5:59
Mark Salsbery11-Sep-08 5:59 
GeneralRe: Reference Casting question. Pin
peterdrozd11-Sep-08 7:50
peterdrozd11-Sep-08 7:50 
fixed it.

I had to remove all references for that data. The problem was that I have some arguments that have to be passed as references. I have others that have to be passed as value types. the _Event is a value type. I was passing it in as a reference so in that function, I was referencing the pointer I think. So it would compile but the value was probably greater than max value.

I guess this all came about because I have become accustomed to coding inline classes and not removing the class definition from the implementation. there are not too many good examples online that I found on how to do it right.

thanks everyone for your help.

-Peter
Cool | :cool:
GeneralRe: Reference Casting question. Pin
Mark Salsbery11-Sep-08 8:00
Mark Salsbery11-Sep-08 8:00 
QuestionRe: Reference Casting question. Pin
Mark Salsbery11-Sep-08 5:45
Mark Salsbery11-Sep-08 5:45 
QuestionMinGW and namespaces [modified] Pin
piwi13311-Sep-08 1:18
piwi13311-Sep-08 1:18 
QuestionRe: MinGW and namespaces Pin
sashoalm11-Sep-08 1:31
sashoalm11-Sep-08 1:31 
AnswerRe: MinGW and namespaces Pin
piwi13311-Sep-08 1:36
piwi13311-Sep-08 1:36 
GeneralRe: MinGW and namespaces Pin
sashoalm11-Sep-08 1:43
sashoalm11-Sep-08 1:43 
GeneralRe: MinGW and namespaces Pin
piwi13311-Sep-08 1:56
piwi13311-Sep-08 1:56 
GeneralRe: MinGW and namespaces Pin
sashoalm11-Sep-08 2:03
sashoalm11-Sep-08 2:03 
QuestionTo Create CVS File Pin
mikobi11-Sep-08 1:15
mikobi11-Sep-08 1:15 
AnswerRe: To Create CVS File Pin
_AnsHUMAN_ 11-Sep-08 2:10
_AnsHUMAN_ 11-Sep-08 2:10 
GeneralRe: To Create CVS File Pin
mikobi18-Sep-08 21:13
mikobi18-Sep-08 21:13 
Questioncompiler in VC++6.0 Pin
aa_zz11-Sep-08 0:58
aa_zz11-Sep-08 0:58 
QuestionArrays and enums in an extended control Pin
poppabaggins10-Sep-08 4:06
poppabaggins10-Sep-08 4:06 
GeneralRe: Arrays and enums in an extended control Pin
led mike10-Sep-08 5:07
led mike10-Sep-08 5:07 
GeneralRe: Arrays and enums in an extended control Pin
Mark Salsbery10-Sep-08 5:34
Mark Salsbery10-Sep-08 5:34 
GeneralRe: Arrays and enums in an extended control Pin
led mike10-Sep-08 5:42
led mike10-Sep-08 5:42 
AnswerRe: Arrays and enums in an extended control Pin
Mark Salsbery10-Sep-08 5:31
Mark Salsbery10-Sep-08 5:31 

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.