Click here to Skip to main content
15,920,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Another cast problem Pin
David Crow3-Mar-04 2:23
David Crow3-Mar-04 2:23 
GeneralRe: Another cast problem Pin
Mazdak2-Mar-04 1:27
Mazdak2-Mar-04 1:27 
GeneralRe: Another cast problem Pin
Rickard Andersson202-Mar-04 1:32
Rickard Andersson202-Mar-04 1:32 
GeneralRe: Another cast problem Pin
Mazdak2-Mar-04 1:44
Mazdak2-Mar-04 1:44 
GeneralRe: Another cast problem Pin
Prakash Nadar2-Mar-04 1:34
Prakash Nadar2-Mar-04 1:34 
GeneralRe: Another cast problem Pin
Prakash Nadar2-Mar-04 1:36
Prakash Nadar2-Mar-04 1:36 
GeneralRe: Another cast problem Pin
Mazdak2-Mar-04 1:42
Mazdak2-Mar-04 1:42 
GeneralRe: Another cast problem Pin
Rickard Andersson202-Mar-04 1:15
Rickard Andersson202-Mar-04 1: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 1:30
Mazdak2-Mar-04 1:30 
GeneralDisplaying an EMF file Pin
Pazzuzu1-Mar-04 23:41
Pazzuzu1-Mar-04 23:41 
QuestionInstallShield commands? Pin
Dov Sherman1-Mar-04 22:31
Dov Sherman1-Mar-04 22:31 
Generaldelete Pin
vikramlinux1-Mar-04 21:23
vikramlinux1-Mar-04 21:23 
GeneralRe: delete Pin
valikac2-Mar-04 5:36
valikac2-Mar-04 5:36 
GeneralRe: delete Pin
vikramlinux2-Mar-04 17:12
vikramlinux2-Mar-04 17:12 
GeneralRe: delete Pin
valikac2-Mar-04 17:52
valikac2-Mar-04 17:52 
GeneralRe: delete Pin
vikramlinux2-Mar-04 18:13
vikramlinux2-Mar-04 18:13 
GeneralAutomate Enabling of DHCP Pin
hollesome1-Mar-04 21:17
hollesome1-Mar-04 21:17 
GeneralRe: Automate Enabling of DHCP Pin
David Crow2-Mar-04 9:54
David Crow2-Mar-04 9:54 
GeneralRe: Automate Enabling of DHCP Pin
hollesome2-Mar-04 14:55
hollesome2-Mar-04 14:55 
GeneralRe: Automate Enabling of DHCP Pin
David Crow3-Mar-04 2:34
David Crow3-Mar-04 2:34 
General&lt;ENTER&gt; in dialog Pin
catngo1-Mar-04 21:06
catngo1-Mar-04 21:06 
GeneralRe: &lt;ENTER&gt; in dialog Pin
Robert A. T. Káldy2-Mar-04 0:31
Robert A. T. Káldy2-Mar-04 0:31 
GeneralRe: &lt;ENTER&gt; in dialog Pin
catngo2-Mar-04 3:55
catngo2-Mar-04 3:55 
GeneralAbout memory copy speedup Pin
w_yufeng1-Mar-04 17:55
w_yufeng1-Mar-04 17:55 
GeneralRe: About memory copy speedup Pin
Joe Woodbury1-Mar-04 18:18
professionalJoe Woodbury1-Mar-04 18: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.