Click here to Skip to main content
15,912,837 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: type safe issue Pin
CPallini11-Feb-08 3:41
mveCPallini11-Feb-08 3:41 
GeneralRe: type safe issue Pin
Rajkumar R11-Feb-08 3:54
Rajkumar R11-Feb-08 3:54 
QuestionRe: type safe issue Pin
CPallini11-Feb-08 4:10
mveCPallini11-Feb-08 4:10 
GeneralRe: type safe issue Pin
Rajkumar R11-Feb-08 4:12
Rajkumar R11-Feb-08 4:12 
QuestionRe: type safe issue Pin
CPallini11-Feb-08 5:11
mveCPallini11-Feb-08 5:11 
GeneralRe: type safe issue [modified] Pin
Matthew Faithfull11-Feb-08 3:28
Matthew Faithfull11-Feb-08 3:28 
GeneralRe: type safe issue [modified] Pin
Rajkumar R11-Feb-08 3:52
Rajkumar R11-Feb-08 3:52 
GeneralRe: type safe issue Pin
Matthew Faithfull11-Feb-08 4:29
Matthew Faithfull11-Feb-08 4:29 
Rajkumar R wrote:
address of IX and IY may not be the same.


It doesn't matter, as long as both are valid 4 byte parameters an address is an address is an address.


Rajkumar R wrote:
but compilers says error when CMyDocument2 * is passed to a function taking CMyDocument1 * ,even both derived one level from CMyDocument.


Not if the function takes CMyDocument*, which is the case we're dealing with here.

Nothing is exactly what it seems but everything with seems can be unpicked.

GeneralRe: type safe issue [modified] Pin
Rajkumar R11-Feb-08 4:34
Rajkumar R11-Feb-08 4:34 
GeneralRe: type safe issue Pin
Matthew Faithfull11-Feb-08 4:54
Matthew Faithfull11-Feb-08 4:54 
GeneralRe: type safe issue Pin
Rajkumar R11-Feb-08 5:04
Rajkumar R11-Feb-08 5:04 
GeneralRe: type safe issue Pin
Matthew Faithfull11-Feb-08 5:20
Matthew Faithfull11-Feb-08 5:20 
GeneralRe: type safe issue Pin
Rajkumar R11-Feb-08 5:25
Rajkumar R11-Feb-08 5:25 
GeneralRe: type safe issue Pin
led mike11-Feb-08 4:46
led mike11-Feb-08 4:46 
GeneralRe: type safe issue Pin
Matthew Faithfull11-Feb-08 4:58
Matthew Faithfull11-Feb-08 4:58 
GeneralRe: type safe issue Pin
Rajkumar R11-Feb-08 5:18
Rajkumar R11-Feb-08 5:18 
QuestionRe: type safe issue Pin
CPallini11-Feb-08 5:26
mveCPallini11-Feb-08 5:26 
GeneralRe: type safe issue Pin
Rajkumar R11-Feb-08 5:30
Rajkumar R11-Feb-08 5:30 
GeneralRe: type safe issue Pin
CPallini11-Feb-08 5:35
mveCPallini11-Feb-08 5:35 
GeneralRe: type safe issue Pin
Rajkumar R11-Feb-08 5:42
Rajkumar R11-Feb-08 5:42 
GeneralRe: type safe issue Pin
CPallini11-Feb-08 10:39
mveCPallini11-Feb-08 10:39 
GeneralRe: type safe issue Pin
Rajkumar R11-Feb-08 16:18
Rajkumar R11-Feb-08 16:18 
GeneralRe: type safe issue Pin
Matthew Faithfull11-Feb-08 6:04
Matthew Faithfull11-Feb-08 6:04 
GeneralRe: type safe issue Pin
Rajkumar R11-Feb-08 16:29
Rajkumar R11-Feb-08 16:29 
GeneralRe: type safe issue Pin
George_George12-Feb-08 2:21
George_George12-Feb-08 2:21 

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.