Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Question about installing and using SDK

Question about installing and using SDK

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestionc++csscom
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    David Fleming
    wrote on last edited by
    #1

    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.

    D 1 Reply Last reply
    0
    • D David Fleming

      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.

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      What is the value of WINVER and _WIN32_WINNT? Is HtmlEditCtrl2.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

      D 2 Replies Last reply
      0
      • D David Crow

        What is the value of WINVER and _WIN32_WINNT? Is HtmlEditCtrl2.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

        D Offline
        D Offline
        David Fleming
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • D David Crow

          What is the value of WINVER and _WIN32_WINNT? Is HtmlEditCtrl2.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

          D Offline
          D Offline
          David Fleming
          wrote on last edited by
          #4

          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.

          J 1 Reply Last reply
          0
          • D David Fleming

            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.

            J Offline
            J Offline
            Jose Lamas Rios
            wrote on last edited by
            #5

            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/[^]

            D 1 Reply Last reply
            0
            • J Jose Lamas Rios

              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/[^]

              D Offline
              D Offline
              David Fleming
              wrote on last edited by
              #6

              Perfect. Thanks.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups