Click here to Skip to main content
16,004,974 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using GetClientRect() and ExtTextOut() Pin
Abhinay Kumar4-Feb-09 3:33
Abhinay Kumar4-Feb-09 3:33 
QuestionRe: Using GetClientRect() and ExtTextOut() Pin
David Crow4-Feb-09 3:22
David Crow4-Feb-09 3:22 
AnswerRe: Using GetClientRect() and ExtTextOut() Pin
Abhinay Kumar4-Feb-09 3:37
Abhinay Kumar4-Feb-09 3:37 
Questionproblem in vc++ project Pin
kir_MFC3-Feb-09 21:50
kir_MFC3-Feb-09 21:50 
AnswerRe: problem in vc++ project Pin
Smith#3-Feb-09 21:55
Smith#3-Feb-09 21:55 
AnswerRe: problem in vc++ project Pin
Nishad S3-Feb-09 22:11
Nishad S3-Feb-09 22:11 
QuestionRe: problem in vc++ project Pin
David Crow4-Feb-09 3:24
David Crow4-Feb-09 3:24 
Questionstrcpy Pin
hrishiS3-Feb-09 21:25
hrishiS3-Feb-09 21:25 
Hello Everyone there,
I am working on vc++6. An win32 console based application. I have this problem in my project...
Whenever I run my application the control comes to the function strcpy and stops and one dialog box appear by title "find source " and asking..."please enter the path for STRCAT.ASM." and a list of directories...
The strange behavior is that when I run the same code in a different win32 project, it runs perfectly....May be some setting...could u please help me out


code is....

char currentTime[20];
struct tm * pLocalTime;
strcpy(currentTime, ""); //error comes here
long int nLocalTime = 0;
time(&nLocalTime);
pLocalTime = localtime(&nLocalTime);
sprintf(currentTime,
"%04d-%02d-%02d-%02d.%02d.%02d",
(pLocalTime->tm_year) + 1900,
pLocalTime->tm_mon + 1,
pLocalTime->tm_mday,
pLocalTime->tm_hour,
pLocalTime->tm_min,
pLocalTime->tm_sec);


Thanks in advance,
Himangshu

I am a learner Always

AnswerRe: strcpy Pin
Smith#3-Feb-09 21:53
Smith#3-Feb-09 21:53 
GeneralRe: strcpy Pin
hrishiS3-Feb-09 22:37
hrishiS3-Feb-09 22:37 
Questiondisplying of latest data from an XML on the list control. [modified] Pin
brucewayn3-Feb-09 20:54
brucewayn3-Feb-09 20:54 
AnswerRe: displying of latest data from an XML on the list control. Pin
Stuart Dootson3-Feb-09 21:23
professionalStuart Dootson3-Feb-09 21:23 
Questionstuck with a trivia Pin
Smith#3-Feb-09 20:39
Smith#3-Feb-09 20:39 
AnswerRe: stuck with a trivia Pin
cmk3-Feb-09 21:04
cmk3-Feb-09 21:04 
GeneralRe: stuck with a trivia Pin
Smith#3-Feb-09 21:19
Smith#3-Feb-09 21:19 
AnswerRe: stuck with a trivia Pin
«_Superman_»3-Feb-09 21:10
professional«_Superman_»3-Feb-09 21:10 
GeneralRe: stuck with a trivia Pin
Smith#3-Feb-09 21:25
Smith#3-Feb-09 21:25 
GeneralRe: stuck with a trivia Pin
«_Superman_»3-Feb-09 21:27
professional«_Superman_»3-Feb-09 21:27 
GeneralRe: stuck with a trivia Pin
Smith#3-Feb-09 21:42
Smith#3-Feb-09 21:42 
GeneralRe: stuck with a trivia Pin
«_Superman_»3-Feb-09 21:52
professional«_Superman_»3-Feb-09 21:52 
GeneralRe: stuck with a trivia Pin
Smith#3-Feb-09 21:58
Smith#3-Feb-09 21:58 
GeneralRe: stuck with a trivia Pin
«_Superman_»3-Feb-09 22:03
professional«_Superman_»3-Feb-09 22:03 
GeneralRe: stuck with a trivia Pin
Smith#3-Feb-09 22:20
Smith#3-Feb-09 22:20 
AnswerRe: stuck with a trivia Pin
Stuart Dootson3-Feb-09 21:12
professionalStuart Dootson3-Feb-09 21:12 
GeneralRe: stuck with a trivia [modified] Pin
Smith#3-Feb-09 21:24
Smith#3-Feb-09 21:24 

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.