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

Managed C++/CLI

 
AnswerRe: string concatenation Pin
Nish Nishant2-Nov-06 10:02
sitebuilderNish Nishant2-Nov-06 10:02 
QuestionDisable viewing resourses in exe file from VS? Pin
dragonmc1-Nov-06 10:13
dragonmc1-Nov-06 10:13 
AnswerRe: Disable viewing resourses in exe file from VS? Pin
Michael Dunn3-Nov-06 2:29
sitebuilderMichael Dunn3-Nov-06 2:29 
GeneralRe: Disable viewing resourses in exe file from VS? Pin
dragonmc3-Nov-06 5:56
dragonmc3-Nov-06 5:56 
QuestionHandling middle mouse button click over taskbar buttons Pin
wargol1-Nov-06 4:58
wargol1-Nov-06 4:58 
QuestionRemoving the Close button on Modal Dialog Pin
bankai12331-Oct-06 18:39
bankai12331-Oct-06 18:39 
AnswerRe: Removing the Close button on Modal Dialog Pin
led mike1-Nov-06 4:44
led mike1-Nov-06 4:44 
QuestionRS232 IN C++/CLI .NET2 vs2005 Pin
yonas_mgm31-Oct-06 12:06
yonas_mgm31-Oct-06 12:06 
Dear all,

I have been trying to send a string and read through Rs232 loop back null modem using the .net2 class serial port. The code is below:

the program sort of works but does not print "hello world", it prints the number 5, which is the byte size i am looking to print. i expected "hello" to print. any ideas as to where i am going wrong? many thanks.

void SendRs232Data()

{

serialPort->Open();

serialPort->Write("Hello World");

int offset = 0;//The offset in the buffer array to begin writing.

int count = 5; //The number of bytes to read.

array<unsigned char="">^ buffer = gcnew array<unsigned char=""> (10);//The buffer array to write the input to.

serialPort->Read(buffer, offset, count);

lblSerial->Text= (serialPort->Read(buffer, offset, count)).ToString();

serialPort->Close();

}
AnswerRe: RS232 IN C++/CLI .NET2 vs2005 Pin
RSangeetha31-Oct-06 17:55
RSangeetha31-Oct-06 17:55 
GeneralRe: RS232 IN C++/CLI .NET2 vs2005 Pin
yonas_mgm12-Nov-06 13:16
yonas_mgm12-Nov-06 13:16 
QuestionInvoking delegates(Asynchronouly) in the invocation order Pin
RSangeetha31-Oct-06 2:26
RSangeetha31-Oct-06 2:26 
QuestionSplit Multipage TIF File with CXImage Lib Pin
dummyea30-Oct-06 23:17
dummyea30-Oct-06 23:17 
AnswerRe: Split Multipage TIF File with CXImage Lib Pin
Christian Graus31-Oct-06 1:22
protectorChristian Graus31-Oct-06 1:22 
GeneralRe: Split Multipage TIF File with CXImage Lib Pin
dummyea31-Oct-06 1:39
dummyea31-Oct-06 1:39 
GeneralRe: Split Multipage TIF File with CXImage Lib Pin
Christian Graus31-Oct-06 2:08
protectorChristian Graus31-Oct-06 2:08 
QuestionMixed Mode, Pinning Pointers Pin
Mark Salsbery30-Oct-06 13:39
Mark Salsbery30-Oct-06 13:39 
AnswerRe: Mixed Mode, Pinning Pointers Pin
Nish Nishant30-Oct-06 16:28
sitebuilderNish Nishant30-Oct-06 16:28 
GeneralRe: Mixed Mode, Pinning Pointers Pin
Mark Salsbery30-Oct-06 17:37
Mark Salsbery30-Oct-06 17:37 
GeneralRe: Mixed Mode, Pinning Pointers Pin
Nish Nishant31-Oct-06 2:01
sitebuilderNish Nishant31-Oct-06 2:01 
GeneralRe: Mixed Mode, Pinning Pointers Pin
Mark Salsbery31-Oct-06 5:12
Mark Salsbery31-Oct-06 5:12 
Questionregistering a plugin Pin
saqib8230-Oct-06 1:58
saqib8230-Oct-06 1:58 
AnswerRe: registering a plugin Pin
led mike30-Oct-06 4:54
led mike30-Oct-06 4:54 
QuestionCan anyone help me? Pin
francium30-Oct-06 1:49
francium30-Oct-06 1:49 
AnswerRe: Can anyone help me? Pin
led mike30-Oct-06 4:53
led mike30-Oct-06 4:53 
AnswerRe: Can anyone help me? Pin
Christian Graus30-Oct-06 16:25
protectorChristian Graus30-Oct-06 16:25 

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.