Click here to Skip to main content
15,914,444 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Disable MRU file list Pin
Haakon S.10-Jun-02 20:37
Haakon S.10-Jun-02 20:37 
GeneralRe: Disable MRU file list Pin
Alexandru Savescu10-Jun-02 21:30
Alexandru Savescu10-Jun-02 21:30 
GeneralRe: Disable MRU file list Pin
Stephen C. Steel11-Jun-02 8:19
Stephen C. Steel11-Jun-02 8:19 
QuestionHow do i found out if multiple items is selected in my ListView control? Pin
redeemer10-Jun-02 11:29
redeemer10-Jun-02 11:29 
AnswerRe: How do i found out if multiple items is selected in my ListView control? Pin
Gary Kirkham10-Jun-02 11:40
Gary Kirkham10-Jun-02 11:40 
GeneralRe: How do i found out if multiple items is selected in my ListView control? Pin
redeemer10-Jun-02 11:36
redeemer10-Jun-02 11:36 
GeneralRe: How do i found out if multiple items is selected in my ListView control? Pin
Michael Dunn10-Jun-02 17:57
sitebuilderMichael Dunn10-Jun-02 17:57 
GeneralCalling Applicaiton functions from a DLL Pin
10-Jun-02 11:28
suss10-Jun-02 11:28 
I'm currently working on a plugin system for an application I'm writing and I'm a bit confused as to why MSVC++6 requires the DLL to have all external symbols resolved.

For instance, lets say a function PluginInit() in my plugin calls a function SetName() that is part of the executable. I am currently required to link the DLL with the .obj file from my main program that defines the function SetName().

Is there any way to get the linker to not resolve all of the symbols untill runtime?  dlopen() on Linux does this with shared libraries. If not, the only way I can think of calling these functions is by using function pointers which would be a total mess. For instance:

----

in main application header file:

void SetName (char* name);<br />
void (*SetNamePtr) (char* name);


somewhere in initialization of the application:

SetNamePtr = SetName;

and then in my DLL:

SetNamePtr ("Plugin Name");

----

Is there a better way?

Thanks for all of your help,
Chris
GeneralRe: Calling Applicaiton functions from a DLL Pin
Rama Krishna Vavilala10-Jun-02 11:36
Rama Krishna Vavilala10-Jun-02 11:36 
GeneralRe: Calling Applicaiton functions from a DLL Pin
Mike Nordell10-Jun-02 12:35
Mike Nordell10-Jun-02 12:35 
GeneralpThread question in C++ Pin
ChiYung10-Jun-02 11:25
ChiYung10-Jun-02 11:25 
GeneralRe: pThread question in C++ Pin
markkuk10-Jun-02 12:06
markkuk10-Jun-02 12:06 
GeneralRe: pThread question in C++ Pin
10-Jun-02 18:34
suss10-Jun-02 18:34 
GeneralRe: pThread question in C++ Pin
markkuk11-Jun-02 6:18
markkuk11-Jun-02 6:18 
Questioncan CListCtrl show image in the subitems? Pin
rosegame10-Jun-02 8:40
rosegame10-Jun-02 8:40 
AnswerRe: can CListCtrl show image in the subitems? Pin
Gary Kirkham10-Jun-02 11:32
Gary Kirkham10-Jun-02 11:32 
GeneralTimers Pin
arthivjii10-Jun-02 8:30
arthivjii10-Jun-02 8:30 
GeneralRe: Timers Pin
Joaquín M López Muñoz10-Jun-02 9:33
Joaquín M López Muñoz10-Jun-02 9:33 
GeneralRe: Timers Pin
Paul M Watt10-Jun-02 21:44
mentorPaul M Watt10-Jun-02 21:44 
Generalthird challange to the masters of vc Pin
SilentWarrior10-Jun-02 7:43
SilentWarrior10-Jun-02 7:43 
GeneralRe: third challange to the masters of vc Pin
Chris Losinger10-Jun-02 8:03
professionalChris Losinger10-Jun-02 8:03 
GeneralRe: third challange to the masters of vc Pin
10-Jun-02 9:30
suss10-Jun-02 9:30 
GeneralRe: third challange to the masters of vc Pin
Chris Losinger10-Jun-02 13:00
professionalChris Losinger10-Jun-02 13:00 
GeneralRe: third challange to the masters of vc Pin
Christian Graus10-Jun-02 13:07
protectorChristian Graus10-Jun-02 13:07 
GeneralRe: third challange to the masters of vc Pin
Christian Graus10-Jun-02 13:04
protectorChristian Graus10-Jun-02 13:04 

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.