Click here to Skip to main content
16,007,809 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWriting a similar function as ComboBox SelectString Pin
beko7-Apr-09 21:16
beko7-Apr-09 21:16 
AnswerRe: Writing a similar function as ComboBox SelectString Pin
Stuart Dootson7-Apr-09 21:53
professionalStuart Dootson7-Apr-09 21:53 
GeneralRe: Writing a similar function as ComboBox SelectString Pin
beko7-Apr-09 22:09
beko7-Apr-09 22:09 
QuestionRe: Writing a similar function as ComboBox SelectString Pin
TinyDevices7-Apr-09 22:23
professionalTinyDevices7-Apr-09 22:23 
AnswerRe: Writing a similar function as ComboBox SelectString Pin
Stuart Dootson7-Apr-09 22:27
professionalStuart Dootson7-Apr-09 22:27 
GeneralRe: Writing a similar function as ComboBox SelectString Pin
TinyDevices7-Apr-09 22:33
professionalTinyDevices7-Apr-09 22:33 
QuestionDLL multy [modified] Pin
denisxfrom7-Apr-09 20:49
denisxfrom7-Apr-09 20:49 
AnswerRe: DLL multy Pin
Stuart Dootson7-Apr-09 21:20
professionalStuart Dootson7-Apr-09 21:20 
In general, I'd look for a known set of functions, rather than trying to get a list of functions in the DLL - after all, you need to know how to call the functions, if they're plug-ins?

So - the first task is to design your plug-in interface so it's generic enough to do what you want.

Once you've done that, it's relatively easy to iterate through the files in a directory (look at the FindFirstFile[^] documentation), see if they're DLLs (LoadLibrary[^]) and see if they have the function you want (GetProcAddress[^]).

Now, if you really want to list the functions exported by a DLL, you need to read the internal structure[^] of a DLL, to get its export table. There's a short program to illustrate that here[^] - look for the last post on the page.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

Questionhai Pin
roopa.n7-Apr-09 20:39
roopa.n7-Apr-09 20:39 
AnswerRe: hai Pin
TinyDevices7-Apr-09 22:26
professionalTinyDevices7-Apr-09 22:26 
JokeRe: hai Pin
Nelek8-Apr-09 0:30
protectorNelek8-Apr-09 0:30 
AnswerRe: hai Pin
0x3c08-Apr-09 1:32
0x3c08-Apr-09 1:32 
Questionhai Pin
roopa.n7-Apr-09 20:38
roopa.n7-Apr-09 20:38 
AnswerRe: hai Pin
Cedric Moonen7-Apr-09 21:01
Cedric Moonen7-Apr-09 21:01 
AnswerRe: hai Pin
Rajesh R Subramanian7-Apr-09 22:31
professionalRajesh R Subramanian7-Apr-09 22:31 
QuestionAddScanPackageService is retruning E_INVALIDARG Pin
ashish8patil7-Apr-09 20:29
ashish8patil7-Apr-09 20:29 
AnswerRe: AddScanPackageService is retruning E_INVALIDARG Pin
Stuart Dootson7-Apr-09 21:30
professionalStuart Dootson7-Apr-09 21:30 
GeneralRe: AddScanPackageService is retruning E_INVALIDARG Pin
ashish8patil7-Apr-09 21:44
ashish8patil7-Apr-09 21:44 
QuestionDatabase Server \Client model Pin
krishnan.s7-Apr-09 19:41
krishnan.s7-Apr-09 19:41 
AnswerRe: Database Server \Client model Pin
Stuart Dootson7-Apr-09 21:38
professionalStuart Dootson7-Apr-09 21:38 
QuestionHow can load dll in project? Pin
Le@rner7-Apr-09 19:10
Le@rner7-Apr-09 19:10 
AnswerRe: How can load dll in project? Pin
«_Superman_»7-Apr-09 19:20
professional«_Superman_»7-Apr-09 19:20 
GeneralRe: How can load dll in project? Pin
Le@rner7-Apr-09 20:19
Le@rner7-Apr-09 20:19 
GeneralRe: How can load dll in project? Pin
«_Superman_»7-Apr-09 20:53
professional«_Superman_»7-Apr-09 20:53 
GeneralRe: How can load dll in project? Pin
Le@rner7-Apr-09 20:56
Le@rner7-Apr-09 20:56 

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.