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. need help

need help

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestion
5 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.
  • F Offline
    F Offline
    Francis Chau
    wrote on last edited by
    #1

    Hi, I'm new to Visual C++! Could some of you tell me what is the function of int WINAPI WinMain(HINSTANCE hThisInst, HINSTANCE hPrevInst, LPSTR lpszArgs, int nWinMode) Thanks!

    T T 2 Replies Last reply
    0
    • F Francis Chau

      Hi, I'm new to Visual C++! Could some of you tell me what is the function of int WINAPI WinMain(HINSTANCE hThisInst, HINSTANCE hPrevInst, LPSTR lpszArgs, int nWinMode) Thanks!

      T Offline
      T Offline
      toxcct
      wrote on last edited by
      #2

      it is the entry point (as main() in C or in Console-Mode programs) of you windowed program. if you program directly into WinMain(), you use Win32 API... otherwise, you can have a look at MFC classes and functionnalities (more easy to use i find...)


      TOXCCT >>> GEII power
      [toxcct][VisualCalc]

      1 Reply Last reply
      0
      • F Francis Chau

        Hi, I'm new to Visual C++! Could some of you tell me what is the function of int WINAPI WinMain(HINSTANCE hThisInst, HINSTANCE hPrevInst, LPSTR lpszArgs, int nWinMode) Thanks!

        T Offline
        T Offline
        ThatsAlok
        wrote on last edited by
        #3

        It is entry point for any Windows based Application similiar to void main()(in case of Dos based C++) and int main()(in case of Dos based c)


        [Vote One Here, Complete my Survey....] Alok Gupta
        visit me at http://www.thisisalok.tk          "I Think Believe this Will Help"

        F 1 Reply Last reply
        0
        • T ThatsAlok

          It is entry point for any Windows based Application similiar to void main()(in case of Dos based C++) and int main()(in case of Dos based c)


          [Vote One Here, Complete my Survey....] Alok Gupta
          visit me at http://www.thisisalok.tk          "I Think Believe this Will Help"

          F Offline
          F Offline
          Francis Chau
          wrote on last edited by
          #4

          Thanks!

          T 1 Reply Last reply
          0
          • F Francis Chau

            Thanks!

            T Offline
            T Offline
            ThatsAlok
            wrote on last edited by
            #5

            Francis Chau wrote: Thanks! Tox!! Deserves this more than me:)


            [Vote One Here, Complete my Survey....] Alok Gupta
            visit me at http://www.thisisalok.tk          "I Think Believe this Will Help"

            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