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. Writing Code for 64-bit windows

Writing Code for 64-bit windows

Scheduled Pinned Locked Moved C / C++ / MFC
2 Posts 2 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.
  • V Offline
    V Offline
    vikas amin
    wrote on last edited by
    #1

    Hi I need to write code for 64-bit OS do anyone has any good document/ebook for it . I need to use an existing dll(which works fine in 32bit) to be used in a 64bit machine Can anyone put some light on this topic Thanks & Regards :laugh:

    Vikas Amin EATON PUNE

    D 1 Reply Last reply
    0
    • V vikas amin

      Hi I need to write code for 64-bit OS do anyone has any good document/ebook for it . I need to use an existing dll(which works fine in 32bit) to be used in a 64bit machine Can anyone put some light on this topic Thanks & Regards :laugh:

      Vikas Amin EATON PUNE

      D Offline
      D Offline
      Dimitris Vikeloudas
      wrote on last edited by
      #2

      Windows System Programming (Third Edition) by Johnson M. Hart has some chapters about Win64. Maybe you want to have a look. In general there should not be a great difference between Win32 & Win64 apart from the obvious ones. Search for any conditional compiled code under _WIN32 directive. Consider if such code will work in Win64 and if so (most likely) add the _WIN64 directive there. Also when you are using pointer arithmetic do not hardwire the sizes but use the sizeof operator. Well, most of us do that anyway so should not be a problem. Keeping things simple is a great art

      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