Click here to Skip to main content
16,017,304 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Help please Pin
Iain Clarke, Warrior Programmer9-Nov-08 22:02
Iain Clarke, Warrior Programmer9-Nov-08 22:02 
QuestionRe: Help please Pin
CPallini9-Nov-08 23:05
mveCPallini9-Nov-08 23:05 
AnswerRe: Help please Pin
Member 419459310-Nov-08 3:21
Member 419459310-Nov-08 3:21 
GeneralRe: Help please Pin
CPallini10-Nov-08 3:36
mveCPallini10-Nov-08 3:36 
QuestionDLL PROBLEM Pin
Member 37948639-Nov-08 18:30
Member 37948639-Nov-08 18:30 
AnswerRe: DLL PROBLEM Pin
Hamid_RT9-Nov-08 20:19
Hamid_RT9-Nov-08 20:19 
GeneralRe: DLL PROBLEM Pin
Member 379486310-Nov-08 7:02
Member 379486310-Nov-08 7:02 
AnswerRe: DLL PROBLEM Pin
Iain Clarke, Warrior Programmer9-Nov-08 22:14
Iain Clarke, Warrior Programmer9-Nov-08 22:14 
Hamid has pointed you to a good article - but it doesn't deal with "run time linking" of objects.

This is not a trivial subject, and is a significant part of the reason COM was invented.

In my software, I go a COM-similar way. I have a base class in a H file, with all-pure-virtual methods. I also have a "get me an object of CXXXX type please" C exportable function exported by the DLL. Inside the DLL I have a CImplementXXXX class that I create an instance of and return.

All very COM/CoCreateInstance. All I'm missing is GUIDs.

As to your problem...

Can you solve it by brute force? Writing a second DLL that compile time links to this class (using the approach in the article), and provides a mechannism like I describe above to create an interface to a proxy object within your DLL?

I'm running out of steam, so I'll wish you well.

Iain.
AnswerRe: DLL PROBLEM Pin
CPallini9-Nov-08 23:31
mveCPallini9-Nov-08 23:31 
GeneralRe: DLL PROBLEM Pin
Iain Clarke, Warrior Programmer10-Nov-08 0:06
Iain Clarke, Warrior Programmer10-Nov-08 0:06 
QuestionInitialize remainder Pin
dtaylor019-Nov-08 13:36
dtaylor019-Nov-08 13:36 
AnswerRe: Initialize remainder Pin
enhzflep9-Nov-08 14:49
enhzflep9-Nov-08 14:49 
QuestionUsing rawinput with MFC ( Can't get WM_INPUT message). Pin
APahuchiy9-Nov-08 9:07
APahuchiy9-Nov-08 9:07 
QuestionRe: Using rawinput with MFC ( Can't get WM_INPUT message). Pin
CPallini9-Nov-08 9:17
mveCPallini9-Nov-08 9:17 
AnswerRe: Using rawinput with MFC ( Can't get WM_INPUT message). Pin
APahuchiy9-Nov-08 9:28
APahuchiy9-Nov-08 9:28 
AnswerRe: Using rawinput with MFC ( Can't get WM_INPUT message). Pin
Mark Salsbery9-Nov-08 11:54
Mark Salsbery9-Nov-08 11:54 
GeneralRe: Using rawinput with MFC ( Can't get WM_INPUT message). Pin
APahuchiy9-Nov-08 12:46
APahuchiy9-Nov-08 12:46 
GeneralRe: Using rawinput with MFC ( Can't get WM_INPUT message). Pin
Mark Salsbery9-Nov-08 13:20
Mark Salsbery9-Nov-08 13:20 
GeneralRe: Using rawinput with MFC ( Can't get WM_INPUT message). Pin
APahuchiy9-Nov-08 21:25
APahuchiy9-Nov-08 21:25 
GeneralRe: Using rawinput with MFC ( Can't get WM_INPUT message). Pin
Mark Salsbery10-Nov-08 4:42
Mark Salsbery10-Nov-08 4:42 
GeneralRe: Using rawinput with MFC ( Can't get WM_INPUT message). Pin
Leon Leong8-Mar-12 22:44
Leon Leong8-Mar-12 22:44 
AnswerRe: Using rawinput with MFC ( Can't get WM_INPUT message). Pin
fjort18-Nov-09 20:30
fjort18-Nov-09 20:30 
QuestionKind question Pin
coolice20029-Nov-08 8:33
coolice20029-Nov-08 8:33 
AnswerRe: Kind question Pin
Perspx9-Nov-08 8:51
Perspx9-Nov-08 8:51 
GeneralRe: Kind question Pin
coolice20029-Nov-08 9:03
coolice20029-Nov-08 9:03 

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.