Click here to Skip to main content
16,008,954 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralCallback in C++ to invoke object in MC++ Pin
Elf17-Oct-02 20:54
Elf17-Oct-02 20:54 
GeneralRe: Callback in C++ to invoke object in MC++ Pin
Nish Nishant17-Oct-02 21:10
sitebuilderNish Nishant17-Oct-02 21:10 
Generalchanging RTF hyperlink appearance w/ C++ .NET Pin
group_captain_mandrake17-Oct-02 17:54
group_captain_mandrake17-Oct-02 17:54 
GeneralCalling Nishant S; Nick Parker ; anyone RE CString and /clr Pin
Doug16-Oct-02 12:36
Doug16-Oct-02 12:36 
GeneralRe: Calling Nishant S; Nick Parker ; anyone RE CString and /clr Pin
Nish Nishant16-Oct-02 19:23
sitebuilderNish Nishant16-Oct-02 19:23 
GeneralRe: Calling Nishant S; Nick Parker ; anyone RE CString and /clr Pin
Doug17-Oct-02 11:09
Doug17-Oct-02 11:09 
GeneralRe: Calling Nishant S; Nick Parker ; anyone RE CString and /clr Pin
Doug17-Oct-02 11:19
Doug17-Oct-02 11:19 
GeneralADO.NET : SqlDataReader : I need to assign retrieved value to C++ variable Pin
Doug13-Oct-02 13:31
Doug13-Oct-02 13:31 
I can get the following to work, the result displaying on the screen:

Console::WriteLine(myReader->GetSqlValue(3));

What I really need to do is to assign the item retrieved to a C++ variable eg.

int halfhrSQL = myReader->GetSqlValue(3);

This gives the C2440 compile error: cannot convert from 'System::Object __gc *' to 'int'.

No matter what cast I use, I cannot get around the error.

Please help if you can.

Thanks, Doug (New Zealand)



Doug
GeneralRe: ADO.NET : SqlDataReader : I need to assign retrieved value to C++ variable Pin
Nish Nishant13-Oct-02 15:05
sitebuilderNish Nishant13-Oct-02 15:05 
GeneralRe: ADO.NET : SqlDataReader : I need to assign retrieved value to C++ variable Pin
Doug13-Oct-02 18:15
Doug13-Oct-02 18:15 
GeneralRe: ADO.NET : SqlDataReader : I need to assign retrieved value to C++ variable Pin
Nick Parker14-Oct-02 8:19
protectorNick Parker14-Oct-02 8:19 
GeneralRe: ADO.NET : SqlDataReader : I need to assign retrieved value to C++ variable Pin
Doug14-Oct-02 10:17
Doug14-Oct-02 10:17 
GeneralRe: ADO.NET : SqlDataReader : I need to assign retrieved value to C++ variable Pin
Doug16-Oct-02 12:40
Doug16-Oct-02 12:40 
GeneralRe: ADO.NET : SqlDataReader : I need to assign retrieved value to C++ variable Pin
Doug15-Oct-02 12:17
Doug15-Oct-02 12:17 
GeneralRe: ADO.NET : SqlDataReader : I need to assign retrieved value to C++ variable Pin
Doug16-Oct-02 12:39
Doug16-Oct-02 12:39 
GeneralUnmanaged Event Pin
ajb10-Oct-02 11:41
ajb10-Oct-02 11:41 
QuestionIncluding Wbemdisp? Pin
EnkelIk9-Oct-02 2:48
EnkelIk9-Oct-02 2:48 
AnswerRe: Including Wbemdisp? Pin
Michael Mac11-Oct-02 2:20
Michael Mac11-Oct-02 2:20 
QuestionHow do I make an assembly? Pin
EnkelIk7-Oct-02 22:31
EnkelIk7-Oct-02 22:31 
AnswerRe: How do I make an assembly? Pin
EnkelIk9-Oct-02 21:56
EnkelIk9-Oct-02 21:56 
Questionhow to? Pin
imran_rafique5-Oct-02 15:27
imran_rafique5-Oct-02 15:27 
AnswerRe: how to? Pin
Slayer14-Oct-02 3:09
Slayer14-Oct-02 3:09 
GeneralUsing STL in MC++ Pin
Anonymous2-Oct-02 9:09
Anonymous2-Oct-02 9:09 
GeneralRe: Using STL in MC++ Pin
Alexandru Savescu14-Nov-02 5:42
Alexandru Savescu14-Nov-02 5:42 
QuestionNew line in textbox? Pin
EnkelIk30-Sep-02 20:42
EnkelIk30-Sep-02 20:42 

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.