Click here to Skip to main content
15,921,577 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAnother cast problem Pin
Mazdak2-Mar-04 0:46
Mazdak2-Mar-04 0:46 
GeneralRe: Another cast problem Pin
Prakash Nadar2-Mar-04 0:51
Prakash Nadar2-Mar-04 0:51 
GeneralRe: Another cast problem Pin
Rickard Andersson202-Mar-04 1:22
Rickard Andersson202-Mar-04 1:22 
GeneralRe: Another cast problem Pin
Prakash Nadar2-Mar-04 1:28
Prakash Nadar2-Mar-04 1:28 
GeneralRe: Another cast problem Pin
David Crow2-Mar-04 7:43
David Crow2-Mar-04 7:43 
GeneralRe: Another cast problem Pin
Prakash Nadar2-Mar-04 13:16
Prakash Nadar2-Mar-04 13:16 
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 
Thanks for reply, I have a problem now, see this code:

for(int i = 0 ; i < sizeof(mypointer);i++)
   buffer1[i] = *(val+i);


sizeof(mypointer) cause the loop only run 3 times and other chars do not copy to array , if I change it to a larger number like 200 it works ok but I don't know how to get size of it dynamiclly.

Mazy

"A bank is a place that will lend you money if you can prove that you don't need it." - Bob Hope
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 
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 

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.