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

C / C++ / MFC

 
GeneralRe: Ugly cast Pin
toxcct23-Apr-04 4:32
toxcct23-Apr-04 4:32 
GeneralRe: Ugly cast Pin
Tim Smith23-Apr-04 16:14
Tim Smith23-Apr-04 16:14 
GeneralRe: Ugly cast Pin
Gary R. Wheeler24-Apr-04 2:01
Gary R. Wheeler24-Apr-04 2:01 
GeneralRe: Ugly cast Pin
Tim Smith23-Apr-04 4:12
Tim Smith23-Apr-04 4:12 
GeneralRe: Ugly cast Pin
Tim Smith23-Apr-04 4:09
Tim Smith23-Apr-04 4:09 
GeneralRe: Ugly cast Pin
_Magnus_23-Apr-04 4:18
_Magnus_23-Apr-04 4:18 
GeneralRe: Ugly cast Pin
Navin23-Apr-04 5:43
Navin23-Apr-04 5:43 
GeneralRe: Ugly cast Pin
Paul Ranson23-Apr-04 10:49
Paul Ranson23-Apr-04 10:49 
It works by accident. It's why you should never use the old style C cast. This compiles,
B * pb = (B*)0;
pb->Inc () ;

but goes bang.

Paul
GeneralRe: Ugly cast Pin
Tim Smith23-Apr-04 16:07
Tim Smith23-Apr-04 16:07 
GeneralRe: Ugly cast Pin
Paul Ranson23-Apr-04 23:19
Paul Ranson23-Apr-04 23:19 
GeneralCode Injection Problem Pin
Biswas23-Apr-04 3:40
Biswas23-Apr-04 3:40 
GeneralRe: Code Injection Problem Pin
jmkhael23-Apr-04 3:54
jmkhael23-Apr-04 3:54 
GeneralRe: Code Injection Problem Pin
Biswas25-Apr-04 18:30
Biswas25-Apr-04 18:30 
GeneralPipe WriteFile Problem Pin
Biswas26-Apr-04 23:01
Biswas26-Apr-04 23:01 
QuestionShellExecute(…) ? Pin
anderslundsgard23-Apr-04 3:37
anderslundsgard23-Apr-04 3:37 
AnswerRe: ShellExecute(…) ? Pin
David Crow23-Apr-04 3:48
David Crow23-Apr-04 3:48 
AnswerRe: ShellExecute(…) ? Pin
Mike Dimmick23-Apr-04 5:56
Mike Dimmick23-Apr-04 5:56 
GeneralProcess Creation Notification Pin
Steve Thresher23-Apr-04 3:32
Steve Thresher23-Apr-04 3:32 
GeneralRe: Process Creation Notification Pin
toxcct23-Apr-04 3:49
toxcct23-Apr-04 3:49 
GeneralRe: Process Creation Notification Pin
_Magnus_23-Apr-04 3:53
_Magnus_23-Apr-04 3:53 
GeneralLightweight HTML rendering Pin
antareus23-Apr-04 2:55
antareus23-Apr-04 2:55 
GeneralRe: Lightweight HTML rendering Pin
Garth J Lancaster23-Apr-04 16:22
professionalGarth J Lancaster23-Apr-04 16:22 
GeneralSend to txctt and mailMonty Pin
ChuThaiDuong23-Apr-04 2:25
ChuThaiDuong23-Apr-04 2:25 
GeneralRe: Send to txctt and mailMonty Pin
jmkhael23-Apr-04 2:27
jmkhael23-Apr-04 2:27 
QuestionHow to write a simple socket application(HELP) Pin
Nodoordonotthereisnotry23-Apr-04 2:24
Nodoordonotthereisnotry23-Apr-04 2:24 

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.