Click here to Skip to main content
15,898,942 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Publish an RTMP stream to FMS using Microrosft Visual C Pin
Jon68z7-Nov-09 16:50
Jon68z7-Nov-09 16:50 
QuestionImplicit conversion from char * to string: g++ vs VS Pin
dplong8-Sep-09 6:40
dplong8-Sep-09 6:40 
AnswerRe: Implicit conversion from char * to string: g++ vs VS Pin
Stuart Dootson8-Sep-09 10:24
professionalStuart Dootson8-Sep-09 10:24 
QuestionVC++ MFC Strlen [modified] Pin
GC1048-Sep-09 4:09
GC1048-Sep-09 4:09 
QuestionRe: VC++ MFC Strlen Pin
David Crow8-Sep-09 4:39
David Crow8-Sep-09 4:39 
AnswerRe: VC++ MFC Strlen Pin
GC1048-Sep-09 4:52
GC1048-Sep-09 4:52 
AnswerRe: VC++ MFC Strlen Pin
Stuart Dootson8-Sep-09 4:51
professionalStuart Dootson8-Sep-09 4:51 
GeneralRe: VC++ MFC Strlen Pin
GC1048-Sep-09 4:59
GC1048-Sep-09 4:59 
Thanks for feedback, I see your point made about the CW2A and memory deallocation - would be nice if this was made clear in the MSDN documentation!

Eventually, the "12345" will be sent through the serial port using 'WriteFile'. I have been under the imporession that the characters /strings need to be in an ansi 8 bit format for the writing to serial port to work. Any suggestions for an alternative to CW2A macro?

Sprintf(BasicString, "ABCDDEF") : Bad because I haven't initialised it as soon as I declared it? or the fact that I'm using sprintf to load the string?

I also take your point about needing to learn about pointers. I am wading through numerous c++ books but there's nothing like creating a real application Smile | :)
GeneralRe: VC++ MFC Strlen Pin
Stuart Dootson8-Sep-09 5:17
professionalStuart Dootson8-Sep-09 5:17 
QuestionVC++ MFC class data member initialisation [modified] Pin
GC1048-Sep-09 1:59
GC1048-Sep-09 1:59 
AnswerRe: VC++ MFC class data member initialisation Pin
CPallini8-Sep-09 2:10
mveCPallini8-Sep-09 2:10 
AnswerRe: VC++ MFC class data member initialisation Pin
Code-o-mat8-Sep-09 3:50
Code-o-mat8-Sep-09 3:50 
GeneralRe: VC++ MFC class data member initialisation Pin
GC1048-Sep-09 4:00
GC1048-Sep-09 4:00 
Questionwhich module creates a specific file? Pin
Joseph Marzbani8-Sep-09 1:25
Joseph Marzbani8-Sep-09 1:25 
AnswerRe: which module creates a specific file? Pin
Garth J Lancaster8-Sep-09 1:52
professionalGarth J Lancaster8-Sep-09 1:52 
GeneralRe: which module creates a specific file? Pin
Joseph Marzbani8-Sep-09 3:00
Joseph Marzbani8-Sep-09 3:00 
AnswerRe: which module creates a specific file? Pin
Selvam R8-Sep-09 2:02
professionalSelvam R8-Sep-09 2:02 
AnswerRe: which module creates a specific file? Pin
Stuart Dootson8-Sep-09 3:39
professionalStuart Dootson8-Sep-09 3:39 
AnswerRe: which module creates a specific file? Pin
kilt10-Sep-09 6:36
kilt10-Sep-09 6:36 
QuestionRe: which module creates a specific file? Pin
David Crow14-Sep-09 3:50
David Crow14-Sep-09 3:50 
QuestionVC++ pointers with Readfile function [modified] Pin
GC1048-Sep-09 1:19
GC1048-Sep-09 1:19 
AnswerRe: VC++ pointers with Readfile function Pin
«_Superman_»8-Sep-09 1:27
professional«_Superman_»8-Sep-09 1:27 
GeneralRe: VC++ pointers with Readfile function Pin
Cedric Moonen8-Sep-09 3:26
Cedric Moonen8-Sep-09 3:26 
AnswerRe: VC++ pointers with Readfile function Pin
David Crow8-Sep-09 3:05
David Crow8-Sep-09 3:05 
GeneralRe: VC++ pointers with Readfile function Pin
GC1048-Sep-09 4:48
GC1048-Sep-09 4:48 

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.