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. upgrading app from vc6 to vc.net

upgrading app from vc6 to vc.net

Scheduled Pinned Locked Moved Managed C++/CLI
csharpc++helpquestion
2 Posts 2 Posters 7 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.
  • S Offline
    S Offline
    slah
    wrote on last edited by
    #1

    HI I have just upgraded my application written in VC++ 6.0 to VC++.net. i am receiving errors in message map. the description of error is error C2440: 'static_cast' : cannot convert from 'void (__thiscall CProjectView::* )(WPARAM,LPARAM)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)' i am quite frustrated. Is anybody out there who understands what is the possible cause of this error.

    N 1 Reply Last reply
    0
    • S slah

      HI I have just upgraded my application written in VC++ 6.0 to VC++.net. i am receiving errors in message map. the description of error is error C2440: 'static_cast' : cannot convert from 'void (__thiscall CProjectView::* )(WPARAM,LPARAM)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)' i am quite frustrated. Is anybody out there who understands what is the possible cause of this error.

      N Offline
      N Offline
      Nish Nishant
      wrote on last edited by
      #2

      The return types don't match. One is a void and the other is an LRESULT


      Author of the romantic comedy Summer Love and Some more Cricket [New Win]

      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