Click here to Skip to main content
15,887,683 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Stack overflow Pin
mark novak25-Jul-05 0:47
mark novak25-Jul-05 0:47 
GeneralRe: Stack overflow Pin
LiYS25-Jul-05 0:49
LiYS25-Jul-05 0:49 
GeneralRe: Stack overflow Pin
khan++25-Jul-05 0:54
khan++25-Jul-05 0:54 
GeneralRe: Stack overflow Pin
LiYS25-Jul-05 3:47
LiYS25-Jul-05 3:47 
GeneralRe: Stack overflow Pin
toxcct25-Jul-05 5:47
toxcct25-Jul-05 5:47 
GeneralRe: Stack overflow Pin
Tim Smith26-Jul-05 3:52
Tim Smith26-Jul-05 3:52 
GeneralThe old time classic dll questions! Pin
Themis24-Jul-05 23:58
Themis24-Jul-05 23:58 
GeneralRe: The old time classic dll questions! Pin
mark novak25-Jul-05 0:41
mark novak25-Jul-05 0:41 
Your GetProcAddress on "fngreet" doesn't work because it's real name isn't fngreet, C++ uses decorated functions so you will get something different which will change if you add/remove arguments, change types. You can use Dependency Walker to see what the real name is and use that. It's recommended to use C linkage instead which will make your GetProcAddress work. Declare the function using extern "C".

#ifdef GREET_EXPORTS<br />
#define GREET_API extern "C" __declspec(dllexport)<br />
#else<br />
#define GREET_API extern "C" __declspec(dllimport)<br />
#endif


You cannot use GetProcAddress to return a class, however you can create a function which returns a class and use that function.
QuestionAbout ComboBox Owner draw problem? Pin
starschen24-Jul-05 23:47
sussstarschen24-Jul-05 23:47 
AnswerRe: About ComboBox Owner draw problem? Pin
mark novak25-Jul-05 0:24
mark novak25-Jul-05 0:24 
GeneralRe: About ComboBox Owner draw problem? Pin
starschen25-Jul-05 15:28
sussstarschen25-Jul-05 15:28 
GeneralRe: About ComboBox Owner draw problem? Pin
mark novak25-Jul-05 15:40
mark novak25-Jul-05 15:40 
GeneralRe: About ComboBox Owner draw problem? Pin
starschen25-Jul-05 17:24
sussstarschen25-Jul-05 17:24 
GeneralRe: About ComboBox Owner draw problem? Pin
mark novak25-Jul-05 17:30
mark novak25-Jul-05 17:30 
GeneralRe: About ComboBox Owner draw problem? Pin
starschen25-Jul-05 17:42
sussstarschen25-Jul-05 17:42 
GeneralRe: About ComboBox Owner draw problem? Pin
mark novak25-Jul-05 18:16
mark novak25-Jul-05 18:16 
GeneralRe: About ComboBox Owner draw problem? Pin
starschen25-Jul-05 19:29
sussstarschen25-Jul-05 19:29 
GeneralToolbar Repainting problem Pin
Project Leader24-Jul-05 23:45
Project Leader24-Jul-05 23:45 
GeneralRe: Toolbar Repainting problem Pin
Jose Lamas Rios25-Jul-05 16:56
Jose Lamas Rios25-Jul-05 16:56 
GeneralOutlook Problem - 'Person Name Smart Tag' custom functionality Pin
Rajeev K Srivastava24-Jul-05 23:41
Rajeev K Srivastava24-Jul-05 23:41 
QuestionHow can i put a Link / Hyperlink into a MessageBox? Pin
IronMike24-Jul-05 23:10
IronMike24-Jul-05 23:10 
AnswerRe: How can i put a Link / Hyperlink into a MessageBox? Pin
khan++24-Jul-05 23:25
khan++24-Jul-05 23:25 
AnswerRe: How can i put a Link / Hyperlink into a MessageBox? Pin
David Crow25-Jul-05 3:06
David Crow25-Jul-05 3:06 
GeneralRe: How can i put a Link / Hyperlink into a MessageBox? Pin
James R. Twine25-Jul-05 4:35
James R. Twine25-Jul-05 4:35 
GeneralMSChart problem Pin
Marc Soleda24-Jul-05 23:02
Marc Soleda24-Jul-05 23:02 

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.