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

Managed C++/CLI

 
AnswerRe: is there any lose of value ? Pin
ian mariano28-Oct-02 4:03
ian mariano28-Oct-02 4:03 
Questionis it the right code? Pin
imran_rafique23-Oct-02 16:29
imran_rafique23-Oct-02 16:29 
AnswerRe: is it the right code? Pin
Christian Graus22-Nov-02 13:27
protectorChristian Graus22-Nov-02 13:27 
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 
Hello Doug

I compiled and ran this program successfully.

<br />
#include <Stdafx.h><br />
#include <cstdlib><br />
#include <atlstr.h><br />
<br />
#using <mscorlib.dll><br />
#using <System.dll><br />
#using <system.data.dll><br />
<br />
using namespace std;<br />
using namespace System;<br />
<br />
int main()<br />
{<br />
CString busNumberSQL[2];<br />
CString bus = "Hello";<br />
busNumberSQL[1] = bus;<br />
Console::WriteLine(busNumberSQL[1]); //shows "Hello" on my console<br />
return 0;<br />
}<br />


I have no idea why it's not working on your box.

Regards,
Nish


Author of the romantic comedy

Summer Love and Some more Cricket [New Win]

Review by Shog9
Click here for review[NW]

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 
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 

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.