Click here to Skip to main content
15,916,945 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: launching windows exploere in 'Film Strip' mode Pin
David Crow15-Nov-05 3:28
David Crow15-Nov-05 3:28 
GeneralRe: launching windows exploere in 'Film Strip' mode Pin
YaronNir16-Nov-05 0:17
YaronNir16-Nov-05 0:17 
QuestionCrash in my program when the screensaver is running Pin
André RB14-Nov-05 0:59
André RB14-Nov-05 0:59 
AnswerRe: Crash in my program when the screensaver is running Pin
ThatsAlok14-Nov-05 1:15
ThatsAlok14-Nov-05 1:15 
GeneralRe: Crash in my program when the screensaver is running Pin
André RB14-Nov-05 4:25
André RB14-Nov-05 4:25 
GeneralRe: Crash in my program when the screensaver is running Pin
normanS14-Nov-05 18:22
normanS14-Nov-05 18:22 
GeneralRe: Crash in my program when the screensaver is running Pin
André RB15-Nov-05 23:38
André RB15-Nov-05 23:38 
QuestionRe: Crash in my program when the screensaver is running Pin
David Crow15-Nov-05 3:53
David Crow15-Nov-05 3:53 
QuestionPassing structures using WM_COPYDATA between processes Pin
Axonn Echysttas14-Nov-05 0:05
Axonn Echysttas14-Nov-05 0:05 
AnswerRe: Passing structures using WM_COPYDATA between processes Pin
kakan14-Nov-05 2:12
professionalkakan14-Nov-05 2:12 
AnswerRe: Passing structures using WM_COPYDATA between processes Pin
Tim Smith14-Nov-05 3:01
Tim Smith14-Nov-05 3:01 
QuestionSHBrowseForFolder Pin
Rage13-Nov-05 23:37
professionalRage13-Nov-05 23:37 
AnswerRe: SHBrowseForFolder Pin
*Dreamz14-Nov-05 0:08
*Dreamz14-Nov-05 0:08 
AnswerRe: SHBrowseForFolder Pin
David Crow14-Nov-05 2:40
David Crow14-Nov-05 2:40 
AnswerA long standing favorite... Pin
jhwurmbach14-Nov-05 3:06
jhwurmbach14-Nov-05 3:06 
QuestionDraw arc algorithm Pin
gandalf198313-Nov-05 23:21
gandalf198313-Nov-05 23:21 
AnswerRe: Draw arc algorithm Pin
Rajesh R Subramanian13-Nov-05 23:30
professionalRajesh R Subramanian13-Nov-05 23:30 
Questioncaveats when exporting classes from a dll? Pin
WernerP13-Nov-05 22:48
WernerP13-Nov-05 22:48 
AnswerRe: caveats when exporting classes from a dll? Pin
Steen Krogsgaard14-Nov-05 2:24
Steen Krogsgaard14-Nov-05 2:24 
GeneralRe: caveats when exporting classes from a dll? Pin
WernerP14-Nov-05 5:59
WernerP14-Nov-05 5:59 
GeneralRe: caveats when exporting classes from a dll? Pin
Steen Krogsgaard14-Nov-05 23:23
Steen Krogsgaard14-Nov-05 23:23 
WernerP wrote:
MyDllClass theClass;
theClass.aVirtualFunc(); // the vtable will not be used when calling this function (right?). It's clear, to which class aVirtualFunc refers, it can be referred to by it's export name or ordinal.


I think the vtable will be used regardless of whether you use . or ->, but it may be implementation-specific. In any regard, you shouldn't count on it.

As cmk wrote, you have no control of the ordinals assigned to the exported functions when you use __declspec(dllexport). So the safest option is to recompile. Anyway, if you headers doesn't change it's only relinking which is pretty fast. If your headers change you need to recompile anyway.



Cheers
Steen.

"To claim that computer games influence children is ridiculous. If Pacman had influenced children born in the 80'ies we would see a lot of youngsters running around in dark rooms eating pills while listening to monotonous music"
AnswerRe: caveats when exporting classes from a dll? Pin
cmk14-Nov-05 12:56
cmk14-Nov-05 12:56 
GeneralRe: caveats when exporting classes from a dll? Pin
WernerP15-Nov-05 0:18
WernerP15-Nov-05 0:18 
GeneralRe: caveats when exporting classes from a dll? Pin
cmk15-Nov-05 0:47
cmk15-Nov-05 0:47 
QuestionWindow caption at center Pin
pc_dev13-Nov-05 22:44
pc_dev13-Nov-05 22:44 

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.