Click here to Skip to main content
15,888,802 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to create setup files Pin
rjnl1-Mar-05 15:39
rjnl1-Mar-05 15:39 
AnswerRe: how to create setup files Pin
LighthouseJ1-Mar-05 15:59
LighthouseJ1-Mar-05 15:59 
AnswerRe: how to create setup files Pin
zhang8006051-Mar-05 16:13
zhang8006051-Mar-05 16:13 
AnswerRe: how to create setup files Pin
ThatsAlok2-Mar-05 2:38
ThatsAlok2-Mar-05 2:38 
QuestionHow to determine the column No. in CListView when user right-clicked the list header? Pin
lisoft1-Mar-05 15:32
lisoft1-Mar-05 15:32 
AnswerRe: How to determine the column No. in CListView when user right-clicked the list header? Pin
zhang8006051-Mar-05 17:04
zhang8006051-Mar-05 17:04 
GeneralSeveral child documents Pin
joy0071-Mar-05 15:32
joy0071-Mar-05 15:32 
GeneralPointer to Void problem Pin
LighthouseJ1-Mar-05 15:19
LighthouseJ1-Mar-05 15:19 
I have a function declared like this: bool CSerialControl::DoCommPackage (DWORD dwBlockTime, void *lpvOutputData, unsigned int uiOutputLength, void *lpvIncoming, unsigned int uiExpectedInputLength) { ... }
When I call the function, I have this:
char buf[70];<br />
if (classData->m_serialPort->DoCommPackage(INFINITE, NULL, 0, buf, 70)) { ... do something useful ... }

It gets the right return value, true under the proper circumstances, and does something useful, but in the useful part, the buf character array is unchanged from when it was allocated before the if statement. I don't get why it's unchanged, am I missing something or what? Thanks, Nate.
GeneralRe: Pointer to Void problem Pin
zhang8006051-Mar-05 15:44
zhang8006051-Mar-05 15:44 
GeneralRe: Pointer to Void problem Pin
LighthouseJ1-Mar-05 16:17
LighthouseJ1-Mar-05 16:17 
GeneralGantt charts Pin
Anonymous1-Mar-05 15:07
Anonymous1-Mar-05 15:07 
GeneralRe: Gantt charts Pin
cmk2-Mar-05 14:03
cmk2-Mar-05 14:03 
GeneralRe: Gantt charts Pin
Anonymous2-Mar-05 16:05
Anonymous2-Mar-05 16:05 
Questionhow to detect someone on Local Network in accessing our files system??? Pin
ngocdq1-Mar-05 14:57
ngocdq1-Mar-05 14:57 
GeneralCRecordset date &amp; time Pin
jmbz841-Mar-05 13:16
jmbz841-Mar-05 13:16 
GeneralRe: CRecordset date &amp; time Pin
Yulianto.1-Mar-05 13:50
Yulianto.1-Mar-05 13:50 
GeneralRe: CRecordset date &amp; time Pin
zhang8006051-Mar-05 15:25
zhang8006051-Mar-05 15:25 
GeneralName that API: Found it!! Pin
Michael Dunn1-Mar-05 10:42
sitebuilderMichael Dunn1-Mar-05 10:42 
GeneralRe: Name that API: Found it!! Pin
Ryan Binns1-Mar-05 17:02
Ryan Binns1-Mar-05 17:02 
GeneralRe: Name that API: Found it!! Pin
Michael Dunn2-Mar-05 12:12
sitebuilderMichael Dunn2-Mar-05 12:12 
GeneralRe: Name that API: Found it!! Pin
PJ Arends1-Mar-05 19:02
professionalPJ Arends1-Mar-05 19:02 
GeneralRe: Name that API: Found it!! Pin
Ryan Binns1-Mar-05 20:06
Ryan Binns1-Mar-05 20:06 
GeneralRe: Name that API: Found it!! Pin
Michael Dunn2-Mar-05 12:13
sitebuilderMichael Dunn2-Mar-05 12:13 
Generalobtaining fixed disk size Pin
tlowell1-Mar-05 10:41
tlowell1-Mar-05 10:41 
General2 dimmensional dynamic array of pointers Pin
Liborac_1-Mar-05 10:13
Liborac_1-Mar-05 10:13 

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.