Click here to Skip to main content
15,886,055 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: problems with converting from string to int Pin
Stuart Dootson8-Apr-09 12:46
professionalStuart Dootson8-Apr-09 12:46 
QuestionWhy DllMain is not be called when I load the DLL file? Pin
ernst200205308-Apr-09 9:16
ernst200205308-Apr-09 9:16 
AnswerRe: Why DllMain is not be called when I load the DLL file? Pin
Stuart Dootson8-Apr-09 9:22
professionalStuart Dootson8-Apr-09 9:22 
JokeRe: Why DllMain is not be called when I load the DLL file? Pin
CPallini8-Apr-09 10:12
mveCPallini8-Apr-09 10:12 
GeneralRe: Why DllMain is not be called when I load the DLL file? Pin
ernst200205308-Apr-09 12:37
ernst200205308-Apr-09 12:37 
GeneralRe: Why DllMain is not be called when I load the DLL file? Pin
Stuart Dootson8-Apr-09 13:22
professionalStuart Dootson8-Apr-09 13:22 
QuestionDetecting Windows SDK version using macros Pin
tareqsiraj8-Apr-09 7:01
tareqsiraj8-Apr-09 7:01 
AnswerRe: Detecting Windows SDK version using macros Pin
Stuart Dootson8-Apr-09 8:38
professionalStuart Dootson8-Apr-09 8:38 
tareqsiraj wrote:
SDK 6.1 defines some function signatures a bit differently than the Platform SDK that ships with VC++ 2005


You mean the extra bits on parameters, like in this definition of CoInitializeEx?

WINOLEAPI  CoInitializeEx(__in_opt LPVOID pvReserved, __in DWORD dwCoInit);


They don't make any difference to the compiler - they're just macros that expand to nothing unless you're using Prefast[^].

Just #include things and don't worry about them.


tareqsiraj wrote:
If there is such a trick, I was thinking of using the new function signature for the newer SDKs while still letting the the people without the windows sdk 6.1 compile


Not entirely sure what you mean there - as I said, just use the SDK headers and don't worry about what version they are unless they're too old for the version of Windows you're targeting and don't contain the functions you need.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: Detecting Windows SDK version using macros Pin
tareqsiraj8-Apr-09 9:00
tareqsiraj8-Apr-09 9:00 
GeneralRe: Detecting Windows SDK version using macros Pin
Stuart Dootson8-Apr-09 9:20
professionalStuart Dootson8-Apr-09 9:20 
GeneralRe: Detecting Windows SDK version using macros Pin
tareqsiraj8-Apr-09 9:53
tareqsiraj8-Apr-09 9:53 
AnswerRe: Detecting Windows SDK version using macros Pin
Randor 9-Apr-09 1:12
professional Randor 9-Apr-09 1:12 
GeneralRe: Detecting Windows SDK version using macros Pin
tareqsiraj9-Apr-09 7:35
tareqsiraj9-Apr-09 7:35 
QuestionNew Thread and WM_QUIT Pin
TheScientistIsDead8-Apr-09 7:00
TheScientistIsDead8-Apr-09 7:00 
AnswerRe: New Thread and WM_QUIT Pin
Stuart Dootson8-Apr-09 8:29
professionalStuart Dootson8-Apr-09 8:29 
GeneralRe: New Thread and WM_QUIT Pin
TheScientistIsDead8-Apr-09 16:44
TheScientistIsDead8-Apr-09 16:44 
GeneralRe: New Thread and WM_QUIT Pin
Stuart Dootson8-Apr-09 20:10
professionalStuart Dootson8-Apr-09 20:10 
AnswerRe: New Thread and WM_QUIT Pin
Roger Stoltz8-Apr-09 21:31
Roger Stoltz8-Apr-09 21:31 
QuestionSetting REG_MULTI_SZ value Pin
csrss8-Apr-09 5:17
csrss8-Apr-09 5:17 
QuestionRe: Setting REG_MULTI_SZ value Pin
CPallini8-Apr-09 7:30
mveCPallini8-Apr-09 7:30 
AnswerRe: Setting REG_MULTI_SZ value Pin
csrss8-Apr-09 8:06
csrss8-Apr-09 8:06 
GeneralRe: Setting REG_MULTI_SZ value Pin
CPallini8-Apr-09 10:14
mveCPallini8-Apr-09 10:14 
Questiona managed array cannot have this element type Pin
Member 20210228-Apr-09 3:55
Member 20210228-Apr-09 3:55 
AnswerRe: a managed array cannot have this element type Pin
Cedric Moonen8-Apr-09 4:03
Cedric Moonen8-Apr-09 4:03 
AnswerAsked and answered 2 weeks ago Pin
led mike8-Apr-09 4:23
led mike8-Apr-09 4:23 

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.