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

C / C++ / MFC

 
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 
GeneralRe: Testing Dll Error problem Pin
Game-point12-Nov-09 21:55
Game-point12-Nov-09 21:55 
GeneralRe: Testing Dll Error problem Pin
Maxwell Chen12-Nov-09 22:06
Maxwell Chen12-Nov-09 22:06 
AnswerRe: Testing Dll Error problem Pin
Cedric Moonen12-Nov-09 22:10
Cedric Moonen12-Nov-09 22:10 
GeneralRe: Testing Dll Error problem Pin
Game-point12-Nov-09 22:14
Game-point12-Nov-09 22:14 
GeneralRe: Testing Dll Error problem Pin
Cedric Moonen12-Nov-09 22:24
Cedric Moonen12-Nov-09 22:24 
QuestionMFC Pin
billu 212-Nov-09 20:23
billu 212-Nov-09 20:23 
AnswerRe: MFC Pin
CPallini12-Nov-09 20:36
mveCPallini12-Nov-09 20:36 
GeneralRe: MFC Pin
billu 212-Nov-09 21:20
billu 212-Nov-09 21:20 
GeneralRe: MFC Pin
CPallini12-Nov-09 21:27
mveCPallini12-Nov-09 21:27 
AnswerRe: MFC Pin
David Crow13-Nov-09 3:43
David Crow13-Nov-09 3:43 
QuestionHow to delete a line from file? Pin
Paulraj G12-Nov-09 20:22
Paulraj G12-Nov-09 20:22 
AnswerRe: How to delete a line from file? Pin
Maxwell Chen12-Nov-09 20:31
Maxwell Chen12-Nov-09 20:31 
AnswerRe: How to delete a line from file? Pin
CPallini12-Nov-09 20:35
mveCPallini12-Nov-09 20:35 
AnswerRe: How to delete a line from file? Pin
«_Superman_»12-Nov-09 20:36
professional«_Superman_»12-Nov-09 20:36 
AnswerRe: How to delete a line from file? Pin
David Crow13-Nov-09 3:46
David Crow13-Nov-09 3:46 

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.