CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Win64 API

  1. #1
    Join Date
    Mar 2005
    Location
    .NET 3.5
    Posts
    97

    Win64 API

    Has it already been released? If not,how they can be written programs for
    Windows XP 64-bit ed. and Windows 2k 64-bit ed.?

    Perhaps Win32 API does suffice,but it must be defined _WIN64_ before any
    #include directive...??

  2. #2
    Join Date
    May 2000
    Location
    KY, USA
    Posts
    18,652

    Re: Win64 API

    Well...there is no Windows 2000 64-bit edition...other than than...Windows® Server 2003 SP1 Platform SDK...

  3. #3
    Join Date
    Nov 2003
    Location
    Belgium
    Posts
    8,150

    Re: Win64 API

    I think the latest platform sdk would suffice (win32 api). BUT you need to use the correct functions. For example, you should use SetWindowLongPtr instead of SetWindowLong, GWLP_WNDPROC i.o. GWL_WNDPROC, don't cast your pointers to DWORD, UINT, ... because they will be truncated, you should use UINT_PTR etc.

    Also, check the platform SDK for "Platform SDK: 64-bit Windows Programming"
    Marc Gregoire - NuonSoft (http://www.nuonsoft.com)
    My Blog
    Wallpaper Cycler 3.5.0.97

    Author of Professional C++, 4th Edition by Wiley/Wrox (includes C++17 features)
    ISBN: 978-1-119-42130-6
    [ http://www.facebook.com/professionalcpp ]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured