Click here to Skip to main content
15,922,407 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: hosting mshtml overwrites WM_ events... Pin
Ryan Binns12-Apr-06 19:40
Ryan Binns12-Apr-06 19:40 
GeneralRe: hosting mshtml overwrites WM_ events... Pin
chasetoys12-Apr-06 23:41
chasetoys12-Apr-06 23:41 
GeneralRe: hosting mshtml overwrites WM_ events... Pin
Ryan Binns12-Apr-06 23:53
Ryan Binns12-Apr-06 23:53 
GeneralRe: hosting mshtml overwrites WM_ events... Pin
chasetoys13-Apr-06 8:54
chasetoys13-Apr-06 8:54 
GeneralRe: hosting mshtml overwrites WM_ events... Pin
Ryan Binns13-Apr-06 14:03
Ryan Binns13-Apr-06 14:03 
AnswerRe: hosting mshtml overwrites WM_ events... Pin
Stephen Hewitt12-Apr-06 18:43
Stephen Hewitt12-Apr-06 18:43 
GeneralRe: hosting mshtml overwrites WM_ events... Pin
chasetoys12-Apr-06 19:23
chasetoys12-Apr-06 19:23 
QuestionCompile Error Help - I'm stuck Pin
gmhanna12-Apr-06 14:51
gmhanna12-Apr-06 14:51 
Hi, I'm converting from Watcom C/C++ 10.6 and I'm receiving the following errors when I try to do this:
<br />
#define LONG   long<br />
#define EXPENTRY __declspec(dllexport) __stdcall<br />
...<br />
    typedef LONG    (EXPENTRY FNWP)(HWND, UINT, WPARAM, LPARAM);<br />
    typedef FNWP *PFNWP;<br />
...<br />
    PFNWP      pfnHeading;<br />

The errors are:
<br />
x:\dev\MCP2003W\usrparms.h(70): error C2059: syntax error : 'type'<br />
x:\dev\MCP2003W\usrparms.h(71): error C2143: syntax error : missing '{' before '*'<br />
x:\dev\MCP2003W\usrparms.h(236): error C2061: syntax error : identifier 'PFNWP'<br />

I don't see what I did wrong and it compiles perfectly under Watcom. How do I do this in Visual C/C++?

Thank you,

Glenn

-- modified at 20:51 Wednesday 12th April, 2006
AnswerRe: Compile Error Help - I'm stuck Pin
Michael Dunn12-Apr-06 15:14
sitebuilderMichael Dunn12-Apr-06 15:14 
GeneralRe: Compile Error Help - I'm stuck Pin
Stephen Hewitt12-Apr-06 15:56
Stephen Hewitt12-Apr-06 15:56 
GeneralRe: Compile Error Help - I'm stuck Pin
gmhanna13-Apr-06 3:02
gmhanna13-Apr-06 3:02 
GeneralRe: Compile Error Help - I'm stuck Pin
gmhanna13-Apr-06 3:11
gmhanna13-Apr-06 3:11 
QuestionUnused member functions Pin
mkuhac12-Apr-06 14:45
mkuhac12-Apr-06 14:45 
QuestionProject Settings Pin
ankita patel12-Apr-06 14:42
ankita patel12-Apr-06 14:42 
AnswerRe: Project Settings Pin
Michael Dunn12-Apr-06 15:16
sitebuilderMichael Dunn12-Apr-06 15:16 
GeneralRe: Project Settings Pin
ankita patel12-Apr-06 15:29
ankita patel12-Apr-06 15:29 
QuestionVideo Files Pin
Raz71612-Apr-06 14:10
Raz71612-Apr-06 14:10 
AnswerRe: Video Files Pin
Raz71613-Apr-06 11:57
Raz71613-Apr-06 11:57 
QuestionImplementing a Timer Pin
murali197312-Apr-06 14:04
murali197312-Apr-06 14:04 
AnswerRe: Implementing a Timer Pin
BlackDice12-Apr-06 14:09
BlackDice12-Apr-06 14:09 
GeneralRe: Implementing a Timer Pin
Stephen Hewitt12-Apr-06 14:21
Stephen Hewitt12-Apr-06 14:21 
GeneralRe: Implementing a Timer Pin
murali197313-Apr-06 6:09
murali197313-Apr-06 6:09 
GeneralRe: Implementing a Timer Pin
Stephen Hewitt13-Apr-06 18:36
Stephen Hewitt13-Apr-06 18:36 
AnswerRe: Implementing a Timer Pin
Michael Dunn12-Apr-06 15:18
sitebuilderMichael Dunn12-Apr-06 15:18 
GeneralRe: Implementing a Timer Pin
murali197313-Apr-06 6:06
murali197313-Apr-06 6:06 

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.