Click here to Skip to main content
15,925,256 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Plugin question Pin
Cedric Moonen28-Jun-05 22:04
Cedric Moonen28-Jun-05 22:04 
Maybe by using interfaces: make these classes derive from two abstract classes. Something like:

class IMessage<br />
{<br />
  virtual void Func1() = 0;<br />
  // Declare all the public functions as pure virtual functions<br />
};<br />
<br />
<br />
class CMessage : public IMessage<br />
{<br />
   void Func1();<br />
   // ...<br />
}<br />


All the functions will be defined in the .cpp file of the CMessage class. Thus, you only need to provide the header file from the IMessage and ISystem.
All your function in the dll will receive a pointer to IMessage or ISystem instead of CMessage and CSystem.

With this example, only the exe will be able to instantiate CSystem and CMessage classes. The dll will only be able to use them.

Hope this helps
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 
GeneralRe: Linked list Pin
David Crow30-Jun-05 3:47
David Crow30-Jun-05 3:47 

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.