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

Managed C++/CLI

 
AnswerRe: VC7 Preprocessor variables not working. Pin
Jonathan [Darka]13-Jul-06 4:10
professionalJonathan [Darka]13-Jul-06 4:10 
GeneralRe: VC7 Preprocessor variables not working. Pin
Dave_Roach13-Jul-06 4:57
Dave_Roach13-Jul-06 4:57 
GeneralRe: VC7 Preprocessor variables not working. Pin
Jonathan [Darka]13-Jul-06 5:10
professionalJonathan [Darka]13-Jul-06 5:10 
GeneralRe: VC7 Preprocessor variables not working. Pin
Dave_Roach13-Jul-06 5:20
Dave_Roach13-Jul-06 5:20 
Questioncannot convert void * to System::Data::DataColumn Pin
arvindbhateja13-Jul-06 1:04
arvindbhateja13-Jul-06 1:04 
Can anyone tell me how can I overcome the following error:

Error 39 error C2440: '=' : cannot convert from 'void *' to 'System::Data::DataColumn ^'

Here is the code which is generating error:

CPtrList* MYpclFields; // this is working fine
POSITION MYposField; // is having the right value
DataColumn^ pColumnInfo; // System::Data::DataColumn object
...
...
...
pColumnInfo = MYpclFields->GetNext (MYposField); // error lies here

actually GetNext() fn. returns a (void *) and I want to convert that into (DataColumn^).

Plz...D'Oh! | :doh:

Thanks...
AnswerRe: cannot convert void * to System::Data::DataColumn Pin
Jun Du13-Jul-06 2:09
Jun Du13-Jul-06 2:09 
GeneralRe: cannot convert void * to System::Data::DataColumn [modified] Pin
arvindbhateja13-Jul-06 2:29
arvindbhateja13-Jul-06 2:29 
GeneralRe: cannot convert void * to System::Data::DataColumn Pin
Jun Du13-Jul-06 3:52
Jun Du13-Jul-06 3:52 
GeneralRe: cannot convert void * to System::Data::DataColumn Pin
arvindbhateja13-Jul-06 4:00
arvindbhateja13-Jul-06 4:00 
GeneralRe: cannot convert void * to System::Data::DataColumn Pin
Jun Du13-Jul-06 4:55
Jun Du13-Jul-06 4:55 
GeneralRe: cannot convert void * to System::Data::DataColumn [modified] Pin
arvindbhateja13-Jul-06 5:00
arvindbhateja13-Jul-06 5:00 
GeneralRe: cannot convert void * to System::Data::DataColumn Pin
Jun Du13-Jul-06 6:02
Jun Du13-Jul-06 6:02 
GeneralRe: cannot convert void * to System::Data::DataColumn Pin
arvindbhateja13-Jul-06 23:45
arvindbhateja13-Jul-06 23:45 
GeneralRe: cannot convert void * to System::Data::DataColumn Pin
Jun Du14-Jul-06 8:38
Jun Du14-Jul-06 8:38 
QuestionMoving the DrawnRectangle with mouse on the Form [modified] Pin
Nagaraju_Focus12-Jul-06 19:36
Nagaraju_Focus12-Jul-06 19:36 
AnswerRe: Moving the DrawnRectangle with mouse on the Form Pin
Jun Du13-Jul-06 2:03
Jun Du13-Jul-06 2:03 
GeneralRe: Moving the DrawnRectangle with mouse on the Form Pin
Nagaraju_Focus13-Jul-06 23:02
Nagaraju_Focus13-Jul-06 23:02 
GeneralRe: Moving the DrawnRectangle with mouse on the Form Pin
Jun Du14-Jul-06 2:10
Jun Du14-Jul-06 2:10 
GeneralRe: Moving the DrawnRectangle with mouse on the Form Pin
Nagaraju_Focus14-Jul-06 20:16
Nagaraju_Focus14-Jul-06 20:16 
GeneralRe: Moving the DrawnRectangle with mouse on the Form [modified] Pin
mertadin21-Jul-06 3:00
mertadin21-Jul-06 3:00 
QuestionC++ .NET Exception Pin
Pavan Rao12-Jul-06 19:21
Pavan Rao12-Jul-06 19:21 
AnswerRe: C++ .NET Exception Pin
Jonathan [Darka]12-Jul-06 21:54
professionalJonathan [Darka]12-Jul-06 21:54 
GeneralRe: C++ .NET Exception Pin
Pavan Rao12-Jul-06 22:56
Pavan Rao12-Jul-06 22:56 
GeneralRe: C++ .NET Exception Pin
Jonathan [Darka]12-Jul-06 22:58
professionalJonathan [Darka]12-Jul-06 22:58 
QuestionReleasing Managed Direct3D Device Pin
kevinFields12-Jul-06 6:16
kevinFields12-Jul-06 6:16 

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.