Click here to Skip to main content
15,885,954 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: VirualAlloc and ReadFile Pin
Rajesh R Subramanian1-Jun-11 9:24
professionalRajesh R Subramanian1-Jun-11 9:24 
GeneralRe: VirualAlloc and ReadFile Pin
csrss1-Jun-11 10:01
csrss1-Jun-11 10:01 
GeneralRe: VirualAlloc and ReadFile Pin
csrss1-Jun-11 10:08
csrss1-Jun-11 10:08 
GeneralRe: VirualAlloc and ReadFile Pin
Rajesh R Subramanian1-Jun-11 10:19
professionalRajesh R Subramanian1-Jun-11 10:19 
GeneralRe: VirualAlloc and ReadFile Pin
csrss1-Jun-11 11:11
csrss1-Jun-11 11:11 
QuestionRe: VirualAlloc and ReadFile Pin
David Crow1-Jun-11 10:10
David Crow1-Jun-11 10:10 
AnswerRe: VirualAlloc and ReadFile Pin
csrss1-Jun-11 11:12
csrss1-Jun-11 11:12 
Questionva_list not working form me and i dont know why Pin
kosacid1-Jun-11 5:19
kosacid1-Jun-11 5: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 5:51
sitebuilderLuc Pattyn1-Jun-11 5:51 
GeneralRe: va_list not working form me and i dont know why Pin
kosacid1-Jun-11 6:02
kosacid1-Jun-11 6:02 
AnswerRe: va_list not working form me and i dont know why Pin
Luc Pattyn1-Jun-11 6:53
sitebuilderLuc Pattyn1-Jun-11 6:53 
GeneralOT Pin
CPallini1-Jun-11 8:14
mveCPallini1-Jun-11 8:14 
GeneralRe: OT Pin
Luc Pattyn1-Jun-11 13:59
sitebuilderLuc Pattyn1-Jun-11 13:59 
AnswerRe: va_list not working form me and i dont know why Pin
«_Superman_»1-Jun-11 6:01
professional«_Superman_»1-Jun-11 6:01 
GeneralRe: va_list not working form me and i dont know why Pin
kosacid1-Jun-11 6:06
kosacid1-Jun-11 6:06 
QuestionUsing ShellExecute to open a web page as a child of Dialog Pin
pix_programmer1-Jun-11 1:09
pix_programmer1-Jun-11 1:09 
AnswerRe: Using ShellExecute to open a web page as a child of Dialog Pin
barneyman1-Jun-11 1:35
barneyman1-Jun-11 1:35 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
pix_programmer1-Jun-11 1:58
pix_programmer1-Jun-11 1:58 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
barneyman1-Jun-11 1:59
barneyman1-Jun-11 1:59 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
pix_programmer1-Jun-11 2:06
pix_programmer1-Jun-11 2:06 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
barneyman1-Jun-11 2:12
barneyman1-Jun-11 2:12 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
pix_programmer1-Jun-11 2:22
pix_programmer1-Jun-11 2:22 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
barneyman1-Jun-11 2:27
barneyman1-Jun-11 2:27 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
pix_programmer1-Jun-11 2:46
pix_programmer1-Jun-11 2:46 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
barneyman1-Jun-11 3:00
barneyman1-Jun-11 3: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.