Click here to Skip to main content
15,922,894 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: Block Worlds Problem Pin
Covean12-Nov-09 22:56
Covean12-Nov-09 22:56 
GeneralRe: Block Worlds Problem Pin
Richard MacCutchan12-Nov-09 23:19
mveRichard MacCutchan12-Nov-09 23:19 
GeneralRe: Block Worlds Problem Pin
Jim_Long13-Nov-09 2:02
Jim_Long13-Nov-09 2:02 
AnswerRe: Block Worlds Problem Pin
David Crow13-Nov-09 3:37
David Crow13-Nov-09 3:37 
GeneralRe: Block Worlds Problem Pin
Richard MacCutchan13-Nov-09 5:11
mveRichard MacCutchan13-Nov-09 5:11 
JokeRe: Block Worlds Problem Pin
David Crow13-Nov-09 3:30
David Crow13-Nov-09 3:30 
GeneralRe: Block Worlds Problem Pin
Richard MacCutchan13-Nov-09 5:17
mveRichard MacCutchan13-Nov-09 5:17 
QuestionCommand line complilation Pin
Pavan_Putra12-Nov-09 20:53
Pavan_Putra12-Nov-09 20:53 
AnswerRe: Command line complilation Pin
KingsGambit12-Nov-09 21:23
KingsGambit12-Nov-09 21:23 
GeneralRe: Command line complilation Pin
Pavan_Putra12-Nov-09 21:55
Pavan_Putra12-Nov-09 21:55 
AnswerRe: Command line complilation Pin
SandipG 12-Nov-09 22:26
SandipG 12-Nov-09 22:26 
GeneralRe: Command line complilation Pin
Pavan_Putra12-Nov-09 22:50
Pavan_Putra12-Nov-09 22:50 
GeneralRe: Command line complilation Pin
Michael Schubert12-Nov-09 22:57
Michael Schubert12-Nov-09 22:57 
GeneralRe: Command line complilation Pin
Pavan_Putra12-Nov-09 22:58
Pavan_Putra12-Nov-09 22:58 
GeneralRe: Command line complilation Pin
«_Superman_»13-Nov-09 4:59
professional«_Superman_»13-Nov-09 4:59 
QuestionRunning process caption Pin
MsmVc12-Nov-09 20:51
MsmVc12-Nov-09 20:51 
AnswerRe: Running process caption Pin
Rajesh R Subramanian12-Nov-09 20:54
professionalRajesh R Subramanian12-Nov-09 20:54 
QuestionTesting Dll Error problem Pin
Game-point12-Nov-09 20:32
Game-point12-Nov-09 20:32 
AnswerRe: Testing Dll Error problem Pin
«_Superman_»12-Nov-09 20:34
professional«_Superman_»12-Nov-09 20:34 
GeneralRe: Testing Dll Error problem Pin
Game-point12-Nov-09 21:57
Game-point12-Nov-09 21:57 
AnswerRe: Testing Dll Error problem Pin
Maxwell Chen12-Nov-09 20:36
Maxwell Chen12-Nov-09 20:36 
GeneralRe: Testing Dll Error problem Pin
Game-point12-Nov-09 22:02
Game-point12-Nov-09 22:02 
GeneralRe: Testing Dll Error problem Pin
Cedric Moonen12-Nov-09 22:17
Cedric Moonen12-Nov-09 22:17 
This is not going to work: first, your exe defines the MyFunction as exported. In the exe, you should import the function. If you are using LoadLibrary, you will need to call GetProcAddress in order to retrieve the function.

You could also load your dll implicitely by linking to the lib file generared when you compile your dll, it becomes much easier.

I suggest you start reading some articles about creating and using dll's because you seem to mix a bit everything. Here[^] is a couple of articles about dll's, I suggest you read them (in the correct order of course). Otherwise, I am sure there are plenty of articles on the net if you google a bit about it.

Cédric Moonen
Software developer

Charting control [v2.0]
OpenGL game tutorial in C++

GeneralRe: Testing Dll Error problem Pin
Game-point12-Nov-09 22:26
Game-point12-Nov-09 22:26 
AnswerRe: Testing Dll Error problem Pin
KingsGambit12-Nov-09 20:38
KingsGambit12-Nov-09 20:38 

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.