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

C / C++ / MFC

 
GeneralRe: Hey guys, I need help again :-( Pin
Psych0hans29-Jun-05 1:29
Psych0hans29-Jun-05 1:29 
GeneralGet the full name of the computer and the domain of the network Pin
akayoku28-Jun-05 22:07
akayoku28-Jun-05 22:07 
GeneralRe: Get the full name of the computer and the domain of the network Pin
ThatsAlok28-Jun-05 22:55
ThatsAlok28-Jun-05 22:55 
GeneralRe: Get the full name of the computer and the domain of the network Pin
akayoku28-Jun-05 23:36
akayoku28-Jun-05 23:36 
GeneralRe: Get the full name of the computer and the domain of the network Pin
ThatsAlok28-Jun-05 23:46
ThatsAlok28-Jun-05 23:46 
GeneralRe: Get the full name of the computer and the domain of the network Pin
David Crow29-Jun-05 3:30
David Crow29-Jun-05 3:30 
GeneralMS Project 2003 XML Option Pin
mksreenivas28-Jun-05 22:04
mksreenivas28-Jun-05 22:04 
GeneralPlugin question Pin
Steve Messer28-Jun-05 21:42
Steve Messer28-Jun-05 21:42 
I have an application that that loads some dll's at runtime. I am trying to design a message mechanism so that I can pass messages back and forth to and from the dll.

I have the following function in my dll:

OnMessage( CSystem * pSys, CMessage * pMsg );
And then in my exe I have the following function in my CSystem class:

OnMessage( CMessage * pMsg );
So the first function is intended to pass messages to the dll and the second function is so that the dll can pass messages back to the exe.

In the dll's OnMessage() I would like to be able to call the following:

CMessage * pMyMessage = NULL;<br />
pMyMessage = pSys->NewMessage( "Volume-Up"); <br />
<br />
pSys->OnMessage( pMyMessage );

The classes CSystem and CMessage are defined in the exe but I want to be able to use them from my dll.

How can I give the dll access to these classes without giving the source code to the plugin?
GeneralRe: Plugin question Pin
Cedric Moonen28-Jun-05 22:04
Cedric Moonen28-Jun-05 22:04 
GeneralRe: Plugin question Pin
Steve Messer28-Jun-05 22:15
Steve Messer28-Jun-05 22:15 
GeneralLibrary Conflict Pin
MK7828-Jun-05 21:34
MK7828-Jun-05 21:34 
GeneralRe: Library Conflict Pin
oustar29-Jun-05 0:04
oustar29-Jun-05 0:04 
GeneralRe: Library Conflict Pin
Blake V. Miller29-Jun-05 19:05
Blake V. Miller29-Jun-05 19:05 
QuestionCan CSocket comunicate with the Palm Client? Pin
javaClaude28-Jun-05 21:30
javaClaude28-Jun-05 21:30 
AnswerRe: Can CSocket comunicate with the Palm Client? Pin
GDavy28-Jun-05 23:04
GDavy28-Jun-05 23:04 
GeneralLinked list Pin
LiYS28-Jun-05 21:28
LiYS28-Jun-05 21:28 
GeneralRe: Linked list Pin
Yulianto.28-Jun-05 21:47
Yulianto.28-Jun-05 21:47 
GeneralRe: Linked list Pin
LiYS28-Jun-05 21:57
LiYS28-Jun-05 21:57 
GeneralRe: Linked list Pin
Yulianto.28-Jun-05 22:05
Yulianto.28-Jun-05 22:05 
GeneralRe: Linked list Pin
LiYS28-Jun-05 22:14
LiYS28-Jun-05 22:14 
GeneralRe: Linked list Pin
Yulianto.28-Jun-05 22:19
Yulianto.28-Jun-05 22:19 
GeneralRe: Linked list Pin
LiYS30-Jun-05 16:59
LiYS30-Jun-05 16:59 
GeneralRe: Linked list Pin
LiYS28-Jun-05 22:43
LiYS28-Jun-05 22:43 
GeneralRe: Linked list Pin
Yulianto.28-Jun-05 22:56
Yulianto.28-Jun-05 22:56 
GeneralRe: Linked list Pin
John R. Shaw29-Jun-05 8:19
John R. Shaw29-Jun-05 8:19 

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.