Click here to Skip to main content
15,900,378 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question[Message Deleted] Pin
scottmp1024-Jun-08 9:19
scottmp1024-Jun-08 9:19 
AnswerRe: System tray hard crash on close Pin
led mike24-Jun-08 10:08
led mike24-Jun-08 10:08 
AnswerRe: [Message Deleted] Pin
Hamid_RT27-Jun-08 7:43
Hamid_RT27-Jun-08 7:43 
QuestionHow do I get a menu bar by using a resource ID? Pin
KellyR24-Jun-08 9:12
KellyR24-Jun-08 9:12 
AnswerRe: How do I get a menu bar by using a resource ID? Pin
led mike24-Jun-08 9:41
led mike24-Jun-08 9:41 
GeneralRe: How do I get a menu bar by using a resource ID? Pin
KellyR24-Jun-08 9:44
KellyR24-Jun-08 9:44 
AnswerRe: How do I get a menu bar by using a resource ID? Pin
Hamid_RT27-Jun-08 7:49
Hamid_RT27-Jun-08 7:49 
Questionan easy one: importing from dll Pin
bulg24-Jun-08 8:27
bulg24-Jun-08 8:27 
Hi all,

This is a question of the form, "why do I type this" instead of "what do I type."

I'm importing some functions from local.dll. I've got a bunch of examples for doing this, and so I start writing these:
typedef int (*My_Function_Name_t)(int, int, char*, int);
typedef bool(*My_Next_Fxn_Name_t)(char**);
...

and then creating function pointers:
My_Function_Name_t My_Function_Name;
My_Next_Fxn_Name_t My_Next_Fxn_Name;

and then setting these to the functions in the dll:
My_Function_Name = (My_Function_Name_t)::GetProcAddress(localdll,"My_Function_Name");
...


Is this the only way to do this? Is there a better or newer way? I'd like to stick to C/C++ (not C# or .NET)
AnswerRe: an easy one: importing from dll Pin
Cedric Moonen24-Jun-08 8:34
Cedric Moonen24-Jun-08 8:34 
QuestionEvaluating a user generated boolean query Pin
wolfsburged24-Jun-08 7:39
wolfsburged24-Jun-08 7:39 
QuestionRe: Evaluating a user generated boolean query Pin
David Crow24-Jun-08 7:49
David Crow24-Jun-08 7:49 
AnswerRe: Evaluating a user generated boolean query Pin
wolfsburged24-Jun-08 8:04
wolfsburged24-Jun-08 8:04 
AnswerRe: Evaluating a user generated boolean query Pin
Niklas L25-Jun-08 1:16
Niklas L25-Jun-08 1:16 
GeneralRe: Evaluating a user generated boolean query Pin
wolfsburged27-Jun-08 4:19
wolfsburged27-Jun-08 4:19 
QuestionUsing VC++ 2008 compiler with VC++ 2005, but keep compatibility with Win98 ? Pin
Defenestration24-Jun-08 5:54
Defenestration24-Jun-08 5:54 
AnswerRe: Using VC++ 2008 compiler with VC++ 2005, but keep compatibility with Win98 ? Pin
toxcct24-Jun-08 5:57
toxcct24-Jun-08 5:57 
GeneralRe: Using VC++ 2008 compiler with VC++ 2005, but keep compatibility with Win98 ? Pin
Defenestration24-Jun-08 6:06
Defenestration24-Jun-08 6:06 
GeneralRe: Using VC++ 2008 compiler with VC++ 2005, but keep compatibility with Win98 ? Pin
toxcct24-Jun-08 6:18
toxcct24-Jun-08 6:18 
GeneralRe: Using VC++ 2008 compiler with VC++ 2005, but keep compatibility with Win98 ? Pin
Defenestration24-Jun-08 10:55
Defenestration24-Jun-08 10:55 
AnswerRe: Using VC++ 2008 compiler with VC++ 2005, but keep compatibility with Win98 ? Pin
JudyL_MD24-Jun-08 10:39
JudyL_MD24-Jun-08 10:39 
GeneralRe: Using VC++ 2008 compiler with VC++ 2005, but keep compatibility with Win98 ? Pin
Defenestration24-Jun-08 10:56
Defenestration24-Jun-08 10:56 
GeneralRe: Using VC++ 2008 compiler with VC++ 2005, but keep compatibility with Win98 ? Pin
JudyL_MD25-Jun-08 2:03
JudyL_MD25-Jun-08 2:03 
AnswerRe: Using VC++ 2008 compiler with VC++ 2005, but keep compatibility with Win98 ? Pin
Joe Woodbury24-Jun-08 11:07
professionalJoe Woodbury24-Jun-08 11:07 
AnswerPossible solution to getting VC++ 2008 compiled apps to run on Win98... Pin
Defenestration24-Jun-08 12:24
Defenestration24-Jun-08 12:24 
Questionresource.h corruption Pin
Like2Byte24-Jun-08 4:01
Like2Byte24-Jun-08 4:01 

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.