Question about installing and using SDK
-
I was looking at an article here about an editable browser (http://codeproject.com/editctrl/HtmlEdit.asp) which is the sort of thing I am looking for. It mentions that I have to have a recent SDK update installed. According to the Microsoft site, the Feb 2003 SDK is the latest that is compatible with vc6, so I got that and installed it. Unfortunately, when I compile the demo program from the article, I get error messages such as: IDM_IE50_PASTE' : undeclared identifier IDM_GETFRAMEZONE' : undeclared identifier IDM_RESPECTVISIBILITY_INDESIGN' : undeclared identifier HtmlEditCtrl2.cpp(1627) : error 2039: 'InlineIsEqualGUID' : is not a member of '`global namespace'' which suggests that the compiler is not finding the declarations. My question is, what do I need to do to fix it? Do I need to put the SDK files in a certain place? set a path in vc6? what? I already posted this question (in a little less detail) on the page of this article, but I have not gotten any response, so I figured I'd try here. This is obviously the first time I've installed SDK updates, and I clearly am not doing something correctly. Thanks for any info.
-
I was looking at an article here about an editable browser (http://codeproject.com/editctrl/HtmlEdit.asp) which is the sort of thing I am looking for. It mentions that I have to have a recent SDK update installed. According to the Microsoft site, the Feb 2003 SDK is the latest that is compatible with vc6, so I got that and installed it. Unfortunately, when I compile the demo program from the article, I get error messages such as: IDM_IE50_PASTE' : undeclared identifier IDM_GETFRAMEZONE' : undeclared identifier IDM_RESPECTVISIBILITY_INDESIGN' : undeclared identifier HtmlEditCtrl2.cpp(1627) : error 2039: 'InlineIsEqualGUID' : is not a member of '`global namespace'' which suggests that the compiler is not finding the declarations. My question is, what do I need to do to fix it? Do I need to put the SDK files in a certain place? set a path in vc6? what? I already posted this question (in a little less detail) on the page of this article, but I have not gotten any response, so I figured I'd try here. This is obviously the first time I've installed SDK updates, and I clearly am not doing something correctly. Thanks for any info.
What is the value of
WINVER
and_WIN32_WINNT
? IsHtmlEditCtrl2.h
being included before anything else? Do you have the IDE set to search the ...\Microsoft SDK\Include folder before the ...\VC98\Include folder?
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
-
What is the value of
WINVER
and_WIN32_WINNT
? IsHtmlEditCtrl2.h
being included before anything else? Do you have the IDE set to search the ...\Microsoft SDK\Include folder before the ...\VC98\Include folder?
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
First off, wow! I'm forever impressed at how quickly you guys manage to give good answers to questions. So thanks. OK, to answer your questions: 1) Value of WINVER and _WIN32_WINNT? I'm afraid I'm ignorant enough that I have no idea where to look or how to find that answer. Sorry. 2) Is it included before anything else? If you mean in the Dlg.h, then yes. 3) Search the SDK path before? It was NOT, but it is now. So that solved the compile problem. But that has revealed another problem that I will go ahead and ask you about (knowing full-well you may not be able to answer this one): Now I get a linking error: unresolved external symbol _WinMain@16 Any thoughts on that one? I was hoping to just download the demo from the article and see this thing in action. That's why I don't really know much about the "program." Regardless of whether or not you can answer my latest question, thanks for your very quick reply -- since question #3 solved my original problem. So many of you guys that prowl these boards are awesome, so thanks to you all.
-
What is the value of
WINVER
and_WIN32_WINNT
? IsHtmlEditCtrl2.h
being included before anything else? Do you have the IDE set to search the ...\Microsoft SDK\Include folder before the ...\VC98\Include folder?
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
It just occurred to me that I pasted in only part of the link error line. I figured I should problably include the whole line: msvcrtd.lib(crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16 Thanks.
-
It just occurred to me that I pasted in only part of the link error line. I figured I should problably include the whole line: msvcrtd.lib(crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16 Thanks.
David Fleming wrote: msvcrtd.lib(crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16 Are you building for UNICODE? If so, you need to change in your linker settings the Entry Point to wWinMainCRTStartup. More info here: "You receive an "unresolved external symbol _WinMain@16" error ..." at support.microsoft.com[^] Hope that helps, -- jlr http://jlamas.blogspot.com/[^]
-
David Fleming wrote: msvcrtd.lib(crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16 Are you building for UNICODE? If so, you need to change in your linker settings the Entry Point to wWinMainCRTStartup. More info here: "You receive an "unresolved external symbol _WinMain@16" error ..." at support.microsoft.com[^] Hope that helps, -- jlr http://jlamas.blogspot.com/[^]
Perfect. Thanks.