Click here to Skip to main content
15,910,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Modeless dialogs and OnOK Pin
Alex Cramer10-Apr-02 18:02
Alex Cramer10-Apr-02 18:02 
GeneralCMediaPlayer2 Pin
Jesper S10-Apr-02 10:05
Jesper S10-Apr-02 10:05 
GeneralWriting a plugin system Pin
Zac Howland10-Apr-02 9:55
Zac Howland10-Apr-02 9:55 
GeneralRe: Writing a plugin system Pin
Joaquín M López Muñoz10-Apr-02 10:03
Joaquín M López Muñoz10-Apr-02 10:03 
GeneralRe: Writing a plugin system Pin
Zac Howland10-Apr-02 10:33
Zac Howland10-Apr-02 10:33 
GeneralRe: Writing a plugin system Pin
Joaquín M López Muñoz10-Apr-02 10:41
Joaquín M López Muñoz10-Apr-02 10:41 
GeneralRe: Writing a plugin system Pin
Zac Howland11-Apr-02 2:44
Zac Howland11-Apr-02 2:44 
GeneralRe: Writing a plugin system Pin
Chris Losinger10-Apr-02 10:08
professionalChris Losinger10-Apr-02 10:08 
for my stuff, i just defined a COM interface and told plugin writers "implement this interface, name it thusly and put your plugin DLL in this folder". then, to see which plugins are available, i just scan the folder and attempt to Create an instance of each DLL. it works well. people can write plugins for my stuff using any language that can create an IDispatch interface (this includes the biggies, VB and VC).

it is somewhat ugly to have to scan a folder, but it was the easest way to go. there is some COM interface that you can implement that tells the system "yes, i implement this other interface". that would have allowed me to use yet another interface to query the system to see which components implemented my plugin interface,
but there were difficulties getting VB to implement a non-IDispatch interface. so, i went with the scan-the-folder option.

-c



Conscience is what hurts when everything else feels good.

Smaller Animals Software, Inc.

QuestionDirectX 8.1 on CD-ROM? Pin
Jeremy Falcon10-Apr-02 9:02
professionalJeremy Falcon10-Apr-02 9:02 
QuestionHow to used "Multiple Display Monitors" and "virtual screen" Pin
hhxz_wind10-Apr-02 7:42
hhxz_wind10-Apr-02 7:42 
AnswerRe: How to used "Multiple Display Monitors" and "virtual screen" Pin
alex.barylski10-Apr-02 8:22
alex.barylski10-Apr-02 8:22 
QuestionMS to drop static linking from VC? Pin
Jim A. Johnson10-Apr-02 7:27
Jim A. Johnson10-Apr-02 7:27 
AnswerRe: MS to drop static linking from VC? Pin
Joaquín M López Muñoz10-Apr-02 9:31
Joaquín M López Muñoz10-Apr-02 9:31 
GeneralCalculating a text's dimension Pin
Hans Ruck10-Apr-02 7:21
Hans Ruck10-Apr-02 7:21 
GeneralRe: Calculating a text's dimension Pin
Ravi Bhavnani10-Apr-02 7:27
professionalRavi Bhavnani10-Apr-02 7:27 
GeneralRe: Calculating a text's dimension Pin
Chris Losinger10-Apr-02 7:35
professionalChris Losinger10-Apr-02 7:35 
GeneralRe: Calculating a text's dimension Pin
Hans Ruck10-Apr-02 7:51
Hans Ruck10-Apr-02 7:51 
GeneralRe: Calculating a text's dimension Pin
Stan Shannon10-Apr-02 7:54
Stan Shannon10-Apr-02 7:54 
GeneralMFC App and C2065 Pin
10-Apr-02 6:13
suss10-Apr-02 6:13 
GeneralRe: MFC App and C2065 Pin
Jeremy Falcon10-Apr-02 7:45
professionalJeremy Falcon10-Apr-02 7:45 
GeneralRe: MFC App and C2065 Pin
10-Apr-02 8:17
suss10-Apr-02 8:17 
GeneralRe: MFC App and C2065 Pin
Jeremy Falcon10-Apr-02 8:22
professionalJeremy Falcon10-Apr-02 8:22 
GeneralRe: MFC App and C2065 Pin
10-Apr-02 8:29
suss10-Apr-02 8:29 
GeneralRe: MFC App and C2065 Pin
Jeremy Falcon10-Apr-02 8:47
professionalJeremy Falcon10-Apr-02 8:47 
GeneralRe: MFC App and C2065 Pin
10-Apr-02 9:53
suss10-Apr-02 9:53 

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.