Click here to Skip to main content
15,913,467 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Major problem with header files Pin
toxcct22-Aug-07 23:19
toxcct22-Aug-07 23:19 
GeneralRe: Major problem with header files Pin
sGrabert22-Aug-07 23:22
sGrabert22-Aug-07 23:22 
GeneralRe: Major problem with header files Pin
Mark Salsbery23-Aug-07 6:16
Mark Salsbery23-Aug-07 6:16 
GeneralRe: Major problem with header files Pin
Mark Salsbery23-Aug-07 6:07
Mark Salsbery23-Aug-07 6:07 
GeneralRe: Major problem with header files Pin
toxcct23-Aug-07 6:12
toxcct23-Aug-07 6:12 
GeneralRe: Major problem with header files Pin
sGrabert22-Aug-07 23:05
sGrabert22-Aug-07 23:05 
GeneralRe: Major problem with header files Pin
Cedric Moonen22-Aug-07 23:18
Cedric Moonen22-Aug-07 23:18 
GeneralRe: Minor problem with header files [modified] Pin
sGrabert22-Aug-07 23:35
sGrabert22-Aug-07 23:35 
(i renamed the caption to "minor", seems more appropriate)

workflow:
1. DLL
1a. creating the dll.h file with function prototypes
1b. creating the dll.cpp file with function implementation
(the dll itself does not use the functions, so no linking check here!)
2. app
2a. dynamic loading of dll using dll.h

I wanted to ensure the correct calling of functions in the app using the .h file:
(i have cut all the class stuff etc.)
<br />
[dll.h]<br />
int DLLInit(char* DLLInfo);<br />
<br />
[app.h]<br />
#include "dll.h"<br />
typedef bool (*DLLINIT)(char* DLLInfo);<br />
DLLINIT pDLLInit;<br />
<br />
pDLLInit= (DLLINIT)::GetProcAddress(m_DLL, "DLLInit");<br />

Is this possible (or even useful) in any way?



-- modified at 5:50 Thursday 23rd August, 2007
QuestionEmbed one application file in other application? Pin
bosfan22-Aug-07 22:27
bosfan22-Aug-07 22:27 
AnswerRe: Embed one application file in other application? Pin
Iain Clarke, Warrior Programmer22-Aug-07 23:32
Iain Clarke, Warrior Programmer22-Aug-07 23:32 
GeneralRe: Embed one application file in other application? Pin
bosfan23-Aug-07 0:45
bosfan23-Aug-07 0:45 
AnswerRe: Embed one application file in other application? Pin
David Crow23-Aug-07 2:55
David Crow23-Aug-07 2:55 
QuestionMIME embedded attachment Pin
monsieur_jj22-Aug-07 21:40
monsieur_jj22-Aug-07 21:40 
AnswerRe: MIME embedded attachment Pin
monsieur_jj22-Aug-07 23:37
monsieur_jj22-Aug-07 23:37 
AnswerRe: MIME embedded attachment Pin
Iain Clarke, Warrior Programmer22-Aug-07 23:42
Iain Clarke, Warrior Programmer22-Aug-07 23:42 
GeneralRe: MIME embedded attachment Pin
monsieur_jj23-Aug-07 14:37
monsieur_jj23-Aug-07 14:37 
GeneralRe: MIME embedded attachment Pin
Iain Clarke, Warrior Programmer23-Aug-07 21:57
Iain Clarke, Warrior Programmer23-Aug-07 21:57 
GeneralRe: MIME embedded attachment Pin
monsieur_jj23-Aug-07 22:21
monsieur_jj23-Aug-07 22:21 
GeneralRe: MIME embedded attachment Pin
monsieur_jj23-Aug-07 23:20
monsieur_jj23-Aug-07 23:20 
GeneralRe: MIME embedded attachment Pin
monsieur_jj23-Aug-07 15:06
monsieur_jj23-Aug-07 15:06 
GeneralRe: MIME embedded attachment Pin
monsieur_jj23-Aug-07 19:30
monsieur_jj23-Aug-07 19:30 
GeneralRe: MIME embedded attachment Pin
monsieur_jj24-Aug-07 1:13
monsieur_jj24-Aug-07 1:13 
QuestionCRichEditCtrl class and ClistBox class Pin
prithaa22-Aug-07 21:34
prithaa22-Aug-07 21:34 
AnswerRe: CRichEditCtrl class and ClistBox class Pin
Nelek22-Aug-07 22:24
protectorNelek22-Aug-07 22:24 
GeneralRe: CRichEditCtrl class and ClistBox class Pin
Roger Broomfield22-Aug-07 22:28
Roger Broomfield22-Aug-07 22:28 

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.