Click here to Skip to main content
14,669,640 members
Home » Discussions » Managed C++/CLI
   

Managed C++/CLI

 
QuestionRe: VC7 Preprocessor variables not working. Pin
Jun Du13-Jul-06 2:10
MemberJun Du13-Jul-06 2:10 
AnswerRe: VC7 Preprocessor variables not working. Pin
Dave_Roach13-Jul-06 3:08
MemberDave_Roach13-Jul-06 3:08 
GeneralRe: VC7 Preprocessor variables not working. [modified] Pin
Sebastian Schneider13-Jul-06 22:09
MemberSebastian Schneider13-Jul-06 22:09 
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
MemberDave_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
MemberDave_Roach13-Jul-06 5:20 
Questioncannot convert void * to System::Data::DataColumn Pin
arvindbhateja13-Jul-06 1:04
Memberarvindbhateja13-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
MemberJun Du13-Jul-06 2:09 
GeneralRe: cannot convert void * to System::Data::DataColumn [modified] Pin
arvindbhateja13-Jul-06 2:29
Memberarvindbhateja13-Jul-06 2:29 
GeneralRe: cannot convert void * to System::Data::DataColumn Pin
Jun Du13-Jul-06 3:52
MemberJun Du13-Jul-06 3:52 
GeneralRe: cannot convert void * to System::Data::DataColumn Pin
arvindbhateja13-Jul-06 4:00
Memberarvindbhateja13-Jul-06 4:00 
GeneralRe: cannot convert void * to System::Data::DataColumn Pin
Jun Du13-Jul-06 4:55
MemberJun Du13-Jul-06 4:55 
GeneralRe: cannot convert void * to System::Data::DataColumn [modified] Pin
arvindbhateja13-Jul-06 5:00
Memberarvindbhateja13-Jul-06 5:00 
GeneralRe: cannot convert void * to System::Data::DataColumn Pin
Jun Du13-Jul-06 6:02
MemberJun Du13-Jul-06 6:02 
GeneralRe: cannot convert void * to System::Data::DataColumn Pin
arvindbhateja13-Jul-06 23:45
Memberarvindbhateja13-Jul-06 23:45 
GeneralRe: cannot convert void * to System::Data::DataColumn Pin
Jun Du14-Jul-06 8:38
MemberJun Du14-Jul-06 8:38 
QuestionMoving the DrawnRectangle with mouse on the Form [modified] Pin
Nagaraju_Focus12-Jul-06 19:36
MemberNagaraju_Focus12-Jul-06 19:36 
AnswerRe: Moving the DrawnRectangle with mouse on the Form Pin
Jun Du13-Jul-06 2:03
MemberJun Du13-Jul-06 2:03 
GeneralRe: Moving the DrawnRectangle with mouse on the Form Pin
Nagaraju_Focus13-Jul-06 23:02
MemberNagaraju_Focus13-Jul-06 23:02 
GeneralRe: Moving the DrawnRectangle with mouse on the Form Pin
Jun Du14-Jul-06 2:10
MemberJun Du14-Jul-06 2:10 
GeneralRe: Moving the DrawnRectangle with mouse on the Form Pin
Nagaraju_Focus14-Jul-06 20:16
MemberNagaraju_Focus14-Jul-06 20:16 
GeneralRe: Moving the DrawnRectangle with mouse on the Form [modified] Pin
mertadin21-Jul-06 3:00
Membermertadin21-Jul-06 3:00 
QuestionC++ .NET Exception Pin
Pavan Rao12-Jul-06 19:21
MemberPavan Rao12-Jul-06 19:21 
AnswerRe: C++ .NET Exception Pin
Jonathan [Darka]12-Jul-06 21:54
professionalJonathan [Darka]12-Jul-06 21:54 

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.