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

C / C++ / MFC

 
GeneralRe: Another cast problem Pin
Prakash Nadar2-Mar-04 1:51
Prakash Nadar2-Mar-04 1:51 
GeneralRe: Another cast problem Pin
Rickard Andersson202-Mar-04 2:22
Rickard Andersson202-Mar-04 2:22 
GeneralRe: Another cast problem Pin
Prakash Nadar2-Mar-04 2:28
Prakash Nadar2-Mar-04 2:28 
GeneralRe: Another cast problem Pin
David Crow2-Mar-04 8:43
David Crow2-Mar-04 8:43 
GeneralRe: Another cast problem Pin
Prakash Nadar2-Mar-04 14:16
Prakash Nadar2-Mar-04 14:16 
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 
Mazdak wrote:
sizeof(mypointer)

Change to:

strlen(mypointer)


When you do sizeof of a pointer it returns the size of the pointer, not the length of the string.

Rickard Andersson
Here is my card, contact me later!

UIN: 50302279
Sonork: 37318

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 
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 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.