Click here to Skip to main content
16,011,611 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: HTML parsing Pin
Jon Sagara6-Mar-02 12:01
Jon Sagara6-Mar-02 12:01 
GeneralRe: HTML parsing Pin
Nish Nishant6-Mar-02 17:17
sitebuilderNish Nishant6-Mar-02 17:17 
GeneralRe: HTML parsing Pin
Jon Sagara6-Mar-02 18:07
Jon Sagara6-Mar-02 18:07 
GeneralRe: HTML parsing Pin
Nish Nishant6-Mar-02 18:34
sitebuilderNish Nishant6-Mar-02 18:34 
GeneralWriting a NT Service using ATL in VC++ 7 Pin
Le centriste6-Mar-02 11:03
Le centriste6-Mar-02 11:03 
GeneralMDI child windows Pin
Rajveer6-Mar-02 9:59
Rajveer6-Mar-02 9:59 
GeneralRe: MDI child windows Pin
Roger Allen7-Mar-02 5:23
Roger Allen7-Mar-02 5:23 
GeneralVirtual table and backward compatibility Pin
6-Mar-02 9:25
suss6-Mar-02 9:25 
I have DLL that hold pointer to class that allocated in other DLL, this class has virtual functions so the DLL can use it with no need to Export & Import this class.
In these situation, I can add virtual functions to the class interface and the other DLL does no effected from it (backward compatibility...) in one condition: the new functions should be declared after the last original function, so the Virtual Table order is kept.
so far so good, but here is my problem:
this class is derived from base class that also has virtual functions, and if I want to add functionality to the base class the Virtual Table order is changed and I don't have backward compatibility.
So, how can I add virtual function to base class without changing the virtual table order ???
Thanks in advance

Didi Gurfinkel




GeneralRe: Virtual table and backward compatibility Pin
Joaquín M López Muñoz6-Mar-02 9:36
Joaquín M López Muñoz6-Mar-02 9:36 
GeneralRe: Virtual table and backward compatibility Pin
6-Mar-02 9:35
suss6-Mar-02 9:35 
GeneralRe: Virtual table and backward compatibility Pin
6-Mar-02 9:50
suss6-Mar-02 9:50 
GeneralRe: Virtual table and backward compatibility Pin
Joaquín M López Muñoz6-Mar-02 10:52
Joaquín M López Muñoz6-Mar-02 10:52 
GeneralStandard Interfaces : MIDL Pin
Prem Kumar6-Mar-02 8:29
Prem Kumar6-Mar-02 8:29 
GeneralRe: Standard Interfaces : MIDL Pin
Aaron Schaefer6-Mar-02 12:08
Aaron Schaefer6-Mar-02 12:08 
Generalfunction pointer Pin
Steve Severance6-Mar-02 8:19
Steve Severance6-Mar-02 8:19 
GeneralRe: function pointer [updated] Pin
Joaquín M López Muñoz6-Mar-02 8:34
Joaquín M López Muñoz6-Mar-02 8:34 
GeneralRe: function pointer [updated] Pin
Nish Nishant6-Mar-02 9:18
sitebuilderNish Nishant6-Mar-02 9:18 
GeneralRe: function pointer [updated] Pin
Joaquín M López Muñoz6-Mar-02 9:24
Joaquín M López Muñoz6-Mar-02 9:24 
GeneralRe: function pointer [updated] Pin
Nish Nishant6-Mar-02 9:28
sitebuilderNish Nishant6-Mar-02 9:28 
GeneralRe: function pointer [updated] Pin
Joaquín M López Muñoz6-Mar-02 9:32
Joaquín M López Muñoz6-Mar-02 9:32 
GeneralRe: function pointer Pin
Chris Losinger6-Mar-02 8:38
professionalChris Losinger6-Mar-02 8:38 
GeneralRe: function pointer Pin
pba_6-Mar-02 8:39
pba_6-Mar-02 8:39 
GeneralRe: function pointer Pin
Nish Nishant6-Mar-02 9:03
sitebuilderNish Nishant6-Mar-02 9:03 
GeneralRe: function pointer Pin
Steve Severance6-Mar-02 15:52
Steve Severance6-Mar-02 15:52 
GeneralRe: function pointer Pin
Nish Nishant6-Mar-02 16:39
sitebuilderNish Nishant6-Mar-02 16:39 

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.