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. MSVCRT.dll and _resetstkoflw() Win 2000 and XP

MSVCRT.dll and _resetstkoflw() Win 2000 and XP

Scheduled Pinned Locked Moved C / C++ / MFC
helpcsharpc++visual-studioquestion
4 Posts 4 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.
  • J Offline
    J Offline
    jerome_data
    wrote on last edited by
    #1

    Hi I have a problem with msvcrt.dll from WinNT/System32 on windows 2000 (this dll doesn't have _resetstkoflw entry). My software use this function and it works correctly on Win XP. I use Visual Studio and MFC. Is it possible to forced my software to load other msvcrt.dll? Please Help thanks

    M D S 3 Replies Last reply
    0
    • J jerome_data

      Hi I have a problem with msvcrt.dll from WinNT/System32 on windows 2000 (this dll doesn't have _resetstkoflw entry). My software use this function and it works correctly on Win XP. I use Visual Studio and MFC. Is it possible to forced my software to load other msvcrt.dll? Please Help thanks

      M Offline
      M Offline
      Matthew Faithfull
      wrote on last edited by
      #2

      You could try static linking to the C Runtime rather than linking dynamically to the installed msvcrt.dll at runtime. However if you do this you should use a #define to set the WINNT Version to 0x500, see MSDN for the exact macros to use, to make your entire build Windows 2000 compatible. If _resetstkoflw relies on WinXP only APIs then it will be cut from your code by the #define anyway and you may still have a problem. If setting the WINNT Version to 0x500 does not remove the _resetstkoflw declaration but it doesn't work on Windows 2000 at runtime then you've found a bug in C Runtime :) Good luck

      Nothing is exactly what it seems but everything with seems can be unpicked.

      1 Reply Last reply
      0
      • J jerome_data

        Hi I have a problem with msvcrt.dll from WinNT/System32 on windows 2000 (this dll doesn't have _resetstkoflw entry). My software use this function and it works correctly on Win XP. I use Visual Studio and MFC. Is it possible to forced my software to load other msvcrt.dll? Please Help thanks

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        According to this, it should be available on Windows 2000.


        "A good athlete is the result of a good and worthy opponent." - David Crow

        "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

        1 Reply Last reply
        0
        • J jerome_data

          Hi I have a problem with msvcrt.dll from WinNT/System32 on windows 2000 (this dll doesn't have _resetstkoflw entry). My software use this function and it works correctly on Win XP. I use Visual Studio and MFC. Is it possible to forced my software to load other msvcrt.dll? Please Help thanks

          S Offline
          S Offline
          Stephen Hewitt
          wrote on last edited by
          #4

          If you need to use this function it seems to me than 99 times out of 100 it would be better to just increase the stack size and not use it!

          Steve

          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