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. Managed C++/CLI
  4. WinMain ambiguity Error

WinMain ambiguity Error

Scheduled Pinned Locked Moved Managed C++/CLI
c++winformsjsonhelptutorial
1 Posts 1 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.
  • G Offline
    G Offline
    guestcat
    wrote on last edited by
    #1

    hi, i am using Visual C++ toolkit 2003. i am writing a windows forms application. if i click a button , it has to call an win 32 api from windows.h, say MessageBox(), i included #include windwos.h now it is giving an ambiguity error WinMain is already defined, how to get out of this, even i tried the order of #using mscorlib.dll # include windows.h // i am having some assumption or workarounds for this,, but i need a solution ?? // because i am intersted in discussing about this .. // warm welcome for the discussion

    ^-^ @|@ - redCat

    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