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

Managed C++/CLI

 
AnswerRe: adding dll Pin
2bee 25-Apr-06 23:50
2bee 25-Apr-06 23:50 
GeneralRe: adding dll Pin
George L. Jackson26-Apr-06 9:00
George L. Jackson26-Apr-06 9:00 
Questionspeed data access in server Pin
sabitasamal24-Apr-06 20:40
sabitasamal24-Apr-06 20:40 
Questioni have problems Pin
sieucauthu23-Apr-06 19:12
sieucauthu23-Apr-06 19:12 
AnswerRe: i have problems Pin
Steve Pullan23-Apr-06 19:29
Steve Pullan23-Apr-06 19:29 
GeneralRe: i have problems Pin
sieucauthu23-Apr-06 19:49
sieucauthu23-Apr-06 19:49 
QuestionUsing serial ports in vs on xp Pin
McFly55523-Apr-06 10:37
McFly55523-Apr-06 10:37 
AnswerRe: Using serial ports in vs on xp Pin
2bee 23-Apr-06 11:34
2bee 23-Apr-06 11:34 
Hi,

if you are using .Net 2 then System::IO::Ports::SerialPort should be the way to go. However, i found this new serial port class quite unreliable (in terms of switching RTS) and used therefore recently the one from windows.h.

for example:

HANDLE _ComPort = CreateFile( ptrComName,....); // create a port

and use

WriteFile(_ComPort, ptrTxFrame, pTxFrameLength,&ulBytesWritten, 0);

ReadFile(_ComPort, ptrRxFrame, 256, &ulBytesWritten, NULL);

to read and write, but with this approach you'll always have to pinpoint your buffers.

pin_ptr<unsigned char> ptrTxFrame = &pTxFrame[0];

best regards Tobias
GeneralRe: Using serial ports in vs on xp Pin
McFly55524-Apr-06 14:52
McFly55524-Apr-06 14:52 
GeneralRe: Using serial ports in vs on xp Pin
2bee 24-Apr-06 20:30
2bee 24-Apr-06 20:30 
GeneralRe: Using serial ports in vs on xp Pin
TheCat00722-Jun-06 18:16
TheCat00722-Jun-06 18:16 
QuestionCan anyone tell me why am i getting these errors? Pin
rahultaing22-Apr-06 22:45
rahultaing22-Apr-06 22:45 
AnswerRe: Can anyone tell me why am i getting these errors? Pin
George L. Jackson23-Apr-06 1:48
George L. Jackson23-Apr-06 1:48 
Questionhow can i update the code of my server! Pin
farshad.f22-Apr-06 6:57
farshad.f22-Apr-06 6:57 
Questionproblem with mail &amp;&amp; messenger services! Pin
farshad.f21-Apr-06 19:06
farshad.f21-Apr-06 19:06 
Questionremote file manager! Pin
farshad.f21-Apr-06 18:54
farshad.f21-Apr-06 18:54 
QuestiontreeView_NodeMouseClick Event Pin
rahultaing21-Apr-06 13:00
rahultaing21-Apr-06 13:00 
Questionarray of strings Pin
John L. DeVito20-Apr-06 10:13
professionalJohn L. DeVito20-Apr-06 10:13 
AnswerRe: array of strings Pin
Dave Doknjas20-Apr-06 12:34
Dave Doknjas20-Apr-06 12:34 
AnswerRe: array of strings Pin
John R. Shaw22-Apr-06 19:51
John R. Shaw22-Apr-06 19:51 
GeneralRe: array of strings Pin
2bee 23-Apr-06 8:06
2bee 23-Apr-06 8:06 
GeneralRe: array of strings Pin
John R. Shaw23-Apr-06 11:28
John R. Shaw23-Apr-06 11:28 
QuestionCString to System::String + MFC Q Pin
eladbo19-Apr-06 22:34
eladbo19-Apr-06 22:34 
AnswerRe: CString to System::String + MFC Q Pin
ariaci21-Apr-06 2:45
ariaci21-Apr-06 2:45 
AnswerRe: CString to System::String + MFC Q Pin
Maksim Libenson22-Apr-06 2:14
Maksim Libenson22-Apr-06 2:14 

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.