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

C / C++ / MFC

 
QuestionDLL Injection Pin
_slave2master_12-Sep-06 9:13
_slave2master_12-Sep-06 9:13 
QuestionA tough API question!? help please Pin
Cy#12-Sep-06 9:11
Cy#12-Sep-06 9:11 
AnswerRe: A tough API question!? help please Pin
Waldermort12-Sep-06 11:07
Waldermort12-Sep-06 11:07 
QuestionWin32: PropertySheet Wizard97 with ownerdrawn buttons? Pin
virtualnik12-Sep-06 9:08
virtualnik12-Sep-06 9:08 
QuestionGetQueuedCompletionStatus returns ERROR_NOACCESS Pin
malgosia12-Sep-06 8:36
malgosia12-Sep-06 8:36 
AnswerRe: what happened? Did I edited some .h file accidently??? Pin
Chris Losinger12-Sep-06 8:23
professionalChris Losinger12-Sep-06 8:23 
GeneralRe: what happened? Did I edited some .h file accidently??? Pin
Maximilien12-Sep-06 8:25
Maximilien12-Sep-06 8:25 
GeneralI thought I ruined it, can I copy others to cover it? Pin
bloodwinner12-Sep-06 8:33
bloodwinner12-Sep-06 8:33 
for example from: http://www.cs.umbc.edu/~squire/download/WinUser.h

/****************************************************************************
* *
* winuser.h -- USER procedure declarations, constant definitions and macros *
* *
* Copyright (c) Microsoft Corporation. All rights reserved. *
* *
****************************************************************************/



#ifndef _WINUSER_
#define _WINUSER_



//
// Define API decoration for direct importing of DLL references.
//

#if !defined(_USER32_)
#define WINUSERAPI DECLSPEC_IMPORT
#else
#define WINUSERAPI
#endif

#ifdef _MAC
#include <macwin32.h>
#endif

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#ifndef WINVER
#define WINVER 0x0500 /* version 5.0 */
#endif /* !WINVER */

#include <stdarg.h>

#ifndef NOUSER

typedef HANDLE HDWP;
typedef VOID MENUTEMPLATEA;
typedef VOID MENUTEMPLATEW;
#ifdef UNICODE
typedef MENUTEMPLATEW MENUTEMPLATE;
#else
typedef MENUTEMPLATEA MENUTEMPLATE;
#endif // UNICODE


...
....
.....
GeneralRe: I thought I ruined it, can I copy others to cover it? Pin
Chris Losinger12-Sep-06 8:35
professionalChris Losinger12-Sep-06 8:35 
Generalthe problem may be the line "extern "C" {" (27th line) Pin
bloodwinner12-Sep-06 8:47
bloodwinner12-Sep-06 8:47 
GeneralRe: the problem may be the line &quot;extern &quot;C&quot; {&quot; (27th line) Pin
Chris Losinger12-Sep-06 8:55
professionalChris Losinger12-Sep-06 8:55 
AnswerRe: what happened? Did I edited some .h file accidently??? Pin
Anonymuos12-Sep-06 8:45
Anonymuos12-Sep-06 8:45 
GeneralRe: what happened? Did I edited some .h file accidently??? Pin
bloodwinner12-Sep-06 8:49
bloodwinner12-Sep-06 8:49 
AnswerRe: what happened? Did I edited some .h file accidently??? Pin
bob1697212-Sep-06 8:57
bob1697212-Sep-06 8:57 
AnswerRe: what happened? Did I edited some .h file accidently??? Pin
Nibu babu thomas12-Sep-06 17:33
Nibu babu thomas12-Sep-06 17:33 
Questionwhat happened? Did I edited some .h file accidently??? Pin
bloodwinner12-Sep-06 8:16
bloodwinner12-Sep-06 8:16 
Questionstrange behavior Pin
Haoman1712-Sep-06 8:12
Haoman1712-Sep-06 8:12 
AnswerRe: strange behavior Pin
Chris Losinger12-Sep-06 8:26
professionalChris Losinger12-Sep-06 8:26 
AnswerRe: strange behavior Pin
Jun Du12-Sep-06 8:33
Jun Du12-Sep-06 8:33 
AnswerRe: strange behavior Pin
Zac Howland12-Sep-06 9:45
Zac Howland12-Sep-06 9:45 
QuestionCComboBox do not show droplist Pin
NorGUI12-Sep-06 7:02
NorGUI12-Sep-06 7:02 
QuestionRe: CComboBox do not show droplist Pin
David Crow12-Sep-06 7:04
David Crow12-Sep-06 7:04 
AnswerRe: CComboBox do not show droplist Pin
NorGUI12-Sep-06 20:20
NorGUI12-Sep-06 20:20 
QuestionImplementing a Clustered NT Service Pin
GuimaSun12-Sep-06 6:51
GuimaSun12-Sep-06 6:51 
Questionmicrosoft document properties retreival code Pin
dannyjoe12-Sep-06 5:59
dannyjoe12-Sep-06 5:59 

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.