Click here to Skip to main content
15,845,273 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: VirualAlloc and ReadFile Pin
Rajesh R Subramanian1-Jun-11 10:24
professionalRajesh R Subramanian1-Jun-11 10:24 
GeneralRe: VirualAlloc and ReadFile Pin
csrss1-Jun-11 11:01
csrss1-Jun-11 11:01 
GeneralRe: VirualAlloc and ReadFile Pin
csrss1-Jun-11 11:08
csrss1-Jun-11 11:08 
GeneralRe: VirualAlloc and ReadFile Pin
Rajesh R Subramanian1-Jun-11 11:19
professionalRajesh R Subramanian1-Jun-11 11:19 
GeneralRe: VirualAlloc and ReadFile Pin
csrss1-Jun-11 12:11
csrss1-Jun-11 12:11 
QuestionRe: VirualAlloc and ReadFile Pin
David Crow1-Jun-11 11:10
David Crow1-Jun-11 11:10 
AnswerRe: VirualAlloc and ReadFile Pin
csrss1-Jun-11 12:12
csrss1-Jun-11 12:12 
Questionva_list not working form me and i dont know why Pin
kosacid1-Jun-11 6:19
kosacid1-Jun-11 6:19 
void Print(const char* s_Format, ...)
{
	va_list  args;
	va_start(args, s_Format);
	char s_Out[1024];
	sprintf(s_Out,s_Format, args);
	Output += s_Out;
	FILE *f = fopen("connection.log", "at");
	fprintf(f, Output.c_str());
	fclose(f);
	return;
}


the s_Format is fine but the arguments are not working the string Output; is stored in the header
when i send Print("Sending File: %s\n",fpath); all i get is Sending File: ú· when it should be Sending File: test.ini
even when i do say Print("hello","hello"); i get hello then garbage
AnswerRe: va_list not working form me and i dont know why Pin
Luc Pattyn1-Jun-11 6:51
sitebuilderLuc Pattyn1-Jun-11 6:51 
GeneralRe: va_list not working form me and i dont know why Pin
kosacid1-Jun-11 7:02
kosacid1-Jun-11 7:02 
AnswerRe: va_list not working form me and i dont know why Pin
Luc Pattyn1-Jun-11 7:53
sitebuilderLuc Pattyn1-Jun-11 7:53 
GeneralOT Pin
CPallini1-Jun-11 9:14
mveCPallini1-Jun-11 9:14 
GeneralRe: OT Pin
Luc Pattyn1-Jun-11 14:59
sitebuilderLuc Pattyn1-Jun-11 14:59 
AnswerRe: va_list not working form me and i dont know why Pin
«_Superman_»1-Jun-11 7:01
professional«_Superman_»1-Jun-11 7:01 
GeneralRe: va_list not working form me and i dont know why Pin
kosacid1-Jun-11 7:06
kosacid1-Jun-11 7:06 
QuestionUsing ShellExecute to open a web page as a child of Dialog Pin
pix_programmer1-Jun-11 2:09
pix_programmer1-Jun-11 2:09 
AnswerRe: Using ShellExecute to open a web page as a child of Dialog Pin
barneyman1-Jun-11 2:35
barneyman1-Jun-11 2:35 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
pix_programmer1-Jun-11 2:58
pix_programmer1-Jun-11 2:58 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
barneyman1-Jun-11 2:59
barneyman1-Jun-11 2:59 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
pix_programmer1-Jun-11 3:06
pix_programmer1-Jun-11 3:06 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
barneyman1-Jun-11 3:12
barneyman1-Jun-11 3:12 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
pix_programmer1-Jun-11 3:22
pix_programmer1-Jun-11 3:22 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
barneyman1-Jun-11 3:27
barneyman1-Jun-11 3:27 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
pix_programmer1-Jun-11 3:46
pix_programmer1-Jun-11 3:46 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
barneyman1-Jun-11 4:00
barneyman1-Jun-11 4:00 

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.