Click here to Skip to main content
15,913,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralConvert code from VS6.0 to VC 1.52 Pin
KeithF18-Mar-08 5:24
KeithF18-Mar-08 5:24 
GeneralRe: Convert code from VS6.0 to VC 1.52 Pin
David Crow18-Mar-08 5:32
David Crow18-Mar-08 5:32 
GeneralRe: Convert code from VS6.0 to VC 1.52 Pin
KeithF18-Mar-08 5:43
KeithF18-Mar-08 5:43 
QuestionRe: Convert code from VS6.0 to VC 1.52 Pin
David Crow18-Mar-08 5:54
David Crow18-Mar-08 5:54 
GeneralRe: Convert code from VS6.0 to VC 1.52 Pin
KeithF18-Mar-08 6:01
KeithF18-Mar-08 6:01 
GeneralRe: Convert code from VS6.0 to VC 1.52 Pin
Chris Meech18-Mar-08 7:32
Chris Meech18-Mar-08 7:32 
GeneralRe: Convert code from VS6.0 to VC 1.52 Pin
David Crow18-Mar-08 9:46
David Crow18-Mar-08 9:46 
GeneralRe: Convert code from VS6.0 to VC 1.52 Pin
Joe Woodbury18-Mar-08 16:09
professionalJoe Woodbury18-Mar-08 16:09 
va_arg is a macro and the current code is depending on an implementation specific side effect. Somewhere in the back of mind, I recall this macro changing between 16 and 32-bit. If you have a bunch of code depending on Arg1 being a pointer to a pointer, you can do the following:

<br />
char* tmpArg1;<br />
char** Arg1;<br />
<br />
tmpArg1 = va_arg( arglist, char *);<br />
Arg1 = &tmpArg1;<br />


The alternative is to bag the pointer to a pointer stuff and just use Arg1 as a char*.


Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke


Questionwhy does mouse dispear in CRectTracker? Pin
includeh1018-Mar-08 4:39
includeh1018-Mar-08 4:39 
GeneralDifferent methods in objects in a List Pin
piul18-Mar-08 1:54
piul18-Mar-08 1:54 
GeneralRe: Different methods in objects in a List Pin
Cedric Moonen18-Mar-08 2:18
Cedric Moonen18-Mar-08 2:18 
GeneralRe: Different methods in objects in a List Pin
Hanan88818-Mar-08 2:34
Hanan88818-Mar-08 2:34 
GeneralRe: Different methods in objects in a List Pin
piul18-Mar-08 2:43
piul18-Mar-08 2:43 
GeneralRe: Different methods in objects in a List Pin
BadKarma18-Mar-08 2:54
BadKarma18-Mar-08 2:54 
GeneralRe: Different methods in objects in a List Pin
Cedric Moonen18-Mar-08 3:11
Cedric Moonen18-Mar-08 3:11 
GeneralRe: Different methods in objects in a List Pin
CPallini18-Mar-08 5:11
mveCPallini18-Mar-08 5:11 
GeneralRe: Different methods in objects in a List Pin
Cedric Moonen18-Mar-08 5:34
Cedric Moonen18-Mar-08 5:34 
GeneralRe: Different methods in objects in a List Pin
Hanan88818-Mar-08 3:15
Hanan88818-Mar-08 3:15 
GeneralRe: Different methods in objects in a List Pin
BadKarma18-Mar-08 2:45
BadKarma18-Mar-08 2:45 
QuestionRe: Different methods in objects in a List Pin
CPallini18-Mar-08 3:00
mveCPallini18-Mar-08 3:00 
GeneralRe: Different methods in objects in a List [modified] Pin
Member 75496020-Mar-08 5:25
Member 75496020-Mar-08 5:25 
GeneralDrawing pictures c++ win32 Pin
Hanan88818-Mar-08 1:45
Hanan88818-Mar-08 1:45 
QuestionRe: Drawing pictures c++ win32 Pin
David Crow18-Mar-08 3:25
David Crow18-Mar-08 3:25 
GeneralRe: Drawing pictures c++ win32 Pin
Hanan88818-Mar-08 3:33
Hanan88818-Mar-08 3:33 
GeneralRe: Drawing pictures c++ win32 Pin
Mark Salsbery18-Mar-08 7:06
Mark Salsbery18-Mar-08 7:06 

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.