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

C / C++ / MFC

 
GeneralBuild->Profile Pin
jamesrgoodwin27-May-05 3:13
jamesrgoodwin27-May-05 3:13 
GeneralWM_MOUSEMOVE Pin
mohsen nowruzi27-May-05 2:13
mohsen nowruzi27-May-05 2:13 
GeneralRe: WM_MOUSEMOVE Pin
Ravi Bhavnani27-May-05 2:35
professionalRavi Bhavnani27-May-05 2:35 
GeneralRe: WM_MOUSEMOVE Pin
toxcct27-May-05 3:08
toxcct27-May-05 3:08 
GeneralRe: WM_MOUSEMOVE Pin
Flit30-May-05 5:30
Flit30-May-05 5:30 
GeneralMy last question before the article -> Calling External Functions from VC++ - IMPORTANT Pin
Axonn Echysttas27-May-05 1:40
Axonn Echysttas27-May-05 1:40 
GeneralRe: My last question before the article -> Calling External Functions from VC++ - IMPORTANT Pin
ThatsAlok27-May-05 1:48
ThatsAlok27-May-05 1:48 
GeneralRe: My last question before the article -> Calling External Functions from VC++ - IMPORTANT Pin
Chris Meech27-May-05 9:38
Chris Meech27-May-05 9:38 
This is a general answer, cause like a lot of things the devil is always in the details. Smile | :) But you can call a function from any executable file when coding in any environment if the following three conditions can be met.
1) The function is exported from the executable file.
2) The calling convention of the function is known and your programming environment supports that calling convention.
3) The signature of the function is known. ie. What does the function return, what is it's name and what parameters does it require.

Usually, regardless of the file being an EXE, a DLL or any type of executable, if you can satisfy all three of the above you should be able to call the function. Oh and if I've forgot something, just blame it on my three Guinness lunch. Smile | :)

Oh and good luck with your article.

Chris Meech

I am Canadian. [heard in a local bar]

Remember that in Texas, Gun Control is hitting what you aim at. [Richard Stringer]

Nice sig! [Tim Deveaux on Matt Newman's sig with a quote from me]
GeneralRe: My last question before the article -> Calling External Functions from VC++ - IMPORTANT Pin
Axonn Echysttas27-May-05 11:47
Axonn Echysttas27-May-05 11:47 
GeneralRe: My last question before the article -> Calling External Functions from VC++ - IMPORTANT Pin
ThatsAlok27-May-05 17:55
ThatsAlok27-May-05 17:55 
Generalsaving edited bitmap Pin
laiju27-May-05 1:37
laiju27-May-05 1:37 
Generalregarding notation _(underscore) Pin
prat7827-May-05 0:47
prat7827-May-05 0:47 
GeneralRe: regarding notation _(underscore) Pin
Chris Losinger27-May-05 3:58
professionalChris Losinger27-May-05 3:58 
GeneralRe: regarding notation _(underscore) Pin
David Crow27-May-05 8:00
David Crow27-May-05 8:00 
GeneralINT_PTR Pin
IlanTal27-May-05 0:36
IlanTal27-May-05 0:36 
GeneralRe: INT_PTR Pin
ThatsAlok27-May-05 0:49
ThatsAlok27-May-05 0:49 
GeneralRe: INT_PTR Pin
Bob Stanneveld27-May-05 1:57
Bob Stanneveld27-May-05 1:57 
GeneralRe: INT_PTR Pin
toxcct27-May-05 0:51
toxcct27-May-05 0:51 
GeneralRe: INT_PTR Pin
ThatsAlok27-May-05 1:03
ThatsAlok27-May-05 1:03 
GeneralRe: INT_PTR Pin
toxcct27-May-05 1:05
toxcct27-May-05 1:05 
GeneralRe: INT_PTR Pin
Cedric Moonen27-May-05 1:06
Cedric Moonen27-May-05 1:06 
GeneralRe: INT_PTR Pin
ThatsAlok27-May-05 1:20
ThatsAlok27-May-05 1:20 
GeneralRe: INT_PTR Pin
toxcct27-May-05 1:30
toxcct27-May-05 1:30 
GeneralRe: INT_PTR Pin
Bob Stanneveld27-May-05 1:57
Bob Stanneveld27-May-05 1:57 
GeneralRe: INT_PTR Pin
Bob Stanneveld27-May-05 1:56
Bob Stanneveld27-May-05 1:56 

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.