Click here to Skip to main content
15,906,567 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: MFC Doc/View and CButton Pin
David Crow10-Apr-07 2:29
David Crow10-Apr-07 2:29 
QuestionDLL fails on 9x platform, runs on NT platform Pin
JeffRoz9-Apr-07 14:14
JeffRoz9-Apr-07 14:14 
AnswerRe: DLL fails on 9x platform, runs on NT platform Pin
Rick York9-Apr-07 15:54
mveRick York9-Apr-07 15:54 
GeneralRe: DLL fails on 9x platform, runs on NT platform Pin
JeffRoz9-Apr-07 16:49
JeffRoz9-Apr-07 16:49 
GeneralRe: DLL fails on 9x platform, runs on NT platform Pin
Steve S10-Apr-07 0:16
Steve S10-Apr-07 0:16 
GeneralRe: DLL fails on 9x platform, runs on NT platform Pin
JeffRoz10-Apr-07 3:09
JeffRoz10-Apr-07 3:09 
GeneralRe: DLL fails on 9x platform, runs on NT platform Pin
JudyL_MD10-Apr-07 7:36
JudyL_MD10-Apr-07 7:36 
GeneralRe: DLL fails on 9x platform, runs on NT platform Pin
JeffRoz10-Apr-07 8:43
JeffRoz10-Apr-07 8:43 
Ohhhhh...ok. I will give that a try, then. Interesting that on 9x the code works if the "return 1" is uncommented, and fails when it is commented?


So like this?

typedef NTSTATUS (NTAPI *PLSAOPENPOLICY)(PLSA_UNICODE_STRING, PLSA_OBJECT_ATTRIBUTES, ACCESS_MASK, PLSA_HANDLE);
PLSAOPENPOLICY pLsaOpenPolicy = NULL;

h32 = LoadLibrary(TEXT("advapi32.dll"));
if (h32)
{
pLsaOpenPolicy = (PLSAOPENPOLICY) GetProcAddress(hAdvApi32,"LsaOpenPolicy");

pLsaOpenPolicy(NULL,&ObjectAttributes,POLICY_VIEW_LOCAL_INFORMATION,&hPolicy);
}
GeneralRe: DLL fails on 9x platform, runs on NT platform Pin
JudyL_MD10-Apr-07 8:55
JudyL_MD10-Apr-07 8:55 
GeneralRe: DLL fails on 9x platform, runs on NT platform Pin
JeffRoz10-Apr-07 17:26
JeffRoz10-Apr-07 17:26 
QuestionRe: DLL fails on 9x platform, runs on NT platform Pin
JeffRoz16-Apr-07 5:26
JeffRoz16-Apr-07 5:26 
AnswerRe: DLL fails on 9x platform, runs on NT platform Pin
JudyL_MD16-Apr-07 6:05
JudyL_MD16-Apr-07 6:05 
QuestionHow to send update text message with only standard windows library Pin
theFrenchHornet9-Apr-07 12:55
theFrenchHornet9-Apr-07 12:55 
AnswerRe: How to send update text message with only standard windows library Pin
Mark Salsbery9-Apr-07 16:38
Mark Salsbery9-Apr-07 16:38 
GeneralRe: How to send update text message with only standard windows library Pin
theFrenchHornet10-Apr-07 4:27
theFrenchHornet10-Apr-07 4:27 
GeneralRe: How to send update text message with only standard windows library Pin
theFrenchHornet10-Apr-07 4:45
theFrenchHornet10-Apr-07 4:45 
AnswerRe: How to send update text message with only standard windows library Pin
prasad_som9-Apr-07 18:36
prasad_som9-Apr-07 18:36 
GeneralRe: How to send update text message with only standard windows library Pin
theFrenchHornet10-Apr-07 4:46
theFrenchHornet10-Apr-07 4:46 
QuestionNeed help on game creation Pin
thesad9-Apr-07 10:15
thesad9-Apr-07 10:15 
QuestionRe: Need help on game creation Pin
David Crow9-Apr-07 10:52
David Crow9-Apr-07 10:52 
AnswerRe: Need help on game creation Pin
Rick York9-Apr-07 15:58
mveRick York9-Apr-07 15:58 
GeneralRe: Need help on game creation Pin
Rajesh R Subramanian9-Apr-07 20:00
professionalRajesh R Subramanian9-Apr-07 20:00 
AnswerRe: Need help on game creation Pin
Wes Aday10-Apr-07 4:26
professionalWes Aday10-Apr-07 4:26 
Questionhidden process Pin
mahdiehIR9-Apr-07 10:12
mahdiehIR9-Apr-07 10:12 
AnswerRe: hidden process Pin
Dmitry Khudorozhkov9-Apr-07 10:28
Dmitry Khudorozhkov9-Apr-07 10:28 

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.