Click here to Skip to main content
15,560,618 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Another cast problem Pin
David Crow3-Mar-04 3:23
David Crow3-Mar-04 3:23 
GeneralRe: Another cast problem Pin
Mazdak2-Mar-04 2:27
Mazdak2-Mar-04 2:27 
GeneralRe: Another cast problem Pin
Rickard Andersson202-Mar-04 2:32
Rickard Andersson202-Mar-04 2:32 
GeneralRe: Another cast problem Pin
Mazdak2-Mar-04 2:44
Mazdak2-Mar-04 2:44 
GeneralRe: Another cast problem Pin
Prakash Nadar2-Mar-04 2:34
Prakash Nadar2-Mar-04 2:34 
GeneralRe: Another cast problem Pin
Prakash Nadar2-Mar-04 2:36
Prakash Nadar2-Mar-04 2:36 
GeneralRe: Another cast problem Pin
Mazdak2-Mar-04 2:42
Mazdak2-Mar-04 2:42 
GeneralRe: Another cast problem Pin
Rickard Andersson202-Mar-04 2:15
Rickard Andersson202-Mar-04 2:15 
If I understand you, you want to copy the data from a char* to a unsigned char[]?

char* p = "bla bla";
unsigned char uch[WHATEVER_SIZE];
strcpy(reinterpret_cast<char*>(uch), p);
cout << uch << endl;


Rickard Andersson
Here is my card, contact me later!

UIN: 50302279
Sonork: 37318

GeneralRe: Another cast problem Pin
Mazdak2-Mar-04 2:30
Mazdak2-Mar-04 2:30 
GeneralDisplaying an EMF file Pin
Pazzuzu2-Mar-04 0:41
Pazzuzu2-Mar-04 0:41 
QuestionInstallShield commands? Pin
Dov Sherman1-Mar-04 23:31
Dov Sherman1-Mar-04 23:31 
Generaldelete Pin
vikramlinux1-Mar-04 22:23
vikramlinux1-Mar-04 22:23 
GeneralRe: delete Pin
valikac2-Mar-04 6:36
valikac2-Mar-04 6:36 
GeneralRe: delete Pin
vikramlinux2-Mar-04 18:12
vikramlinux2-Mar-04 18:12 
GeneralRe: delete Pin
valikac2-Mar-04 18:52
valikac2-Mar-04 18:52 
GeneralRe: delete Pin
vikramlinux2-Mar-04 19:13
vikramlinux2-Mar-04 19:13 
GeneralAutomate Enabling of DHCP Pin
hollesome1-Mar-04 22:17
hollesome1-Mar-04 22:17 
GeneralRe: Automate Enabling of DHCP Pin
David Crow2-Mar-04 10:54
David Crow2-Mar-04 10:54 
GeneralRe: Automate Enabling of DHCP Pin
hollesome2-Mar-04 15:55
hollesome2-Mar-04 15:55 
GeneralRe: Automate Enabling of DHCP Pin
David Crow3-Mar-04 3:34
David Crow3-Mar-04 3:34 
General&lt;ENTER&gt; in dialog Pin
catngo1-Mar-04 22:06
catngo1-Mar-04 22:06 
GeneralRe: &lt;ENTER&gt; in dialog Pin
Robert A. T. Káldy2-Mar-04 1:31
Robert A. T. Káldy2-Mar-04 1:31 
GeneralRe: &lt;ENTER&gt; in dialog Pin
catngo2-Mar-04 4:55
catngo2-Mar-04 4:55 
GeneralAbout memory copy speedup Pin
w_yufeng1-Mar-04 18:55
w_yufeng1-Mar-04 18:55 
GeneralRe: About memory copy speedup Pin
Joe Woodbury1-Mar-04 19:18
professionalJoe Woodbury1-Mar-04 19:18 

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.