|
-
Oct 1st, 2002, 09:50 AM
#1
Thread Starter
Member
Very wierd string problem pls help
alright,
my problem is i wrote a class that returns a char * i can display in a message box but when i try "SetWindowText" it displays garbage e.g:
char *temp = mp3.GetTitle();
MessageBox(NULL,temp,temp,MB_OK);
SetWindowText(GetDlgItem(hwnd,IDC_ARTIST),temp);
now the message box displays it fine but the "SetWindowText" doenst please help i have no idea what it could be.
thanks in advance
chris
What is Life? One big dream or one Big nightmere.
-
Oct 2nd, 2002, 09:13 AM
#2
Is it a problem if you post the project?
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|