Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-6161

kernel32: GetModuleFileName returns a relative path

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • RosDlls
    • Operating System: ReactOS
      Platform: x86 Hardware

    Description

      GetModuleFileName seems to return relative paths under some conditions.
      I've done:

      • open command prompt
      • cd ..\bin [ into C:\ReactOS\bin ]
      • kmtest_

      kmtest_.exe asserts because GetModuleFileName gives it a relative path (which it must not).

      This worked before. I'm guessing it might be related to changes in path functions. I'll try and regress-test it when I find the time.

      Attachments

        Issue Links

          Activity

            People

              alex_ionescu Alex Ionescu
              ThFabba ThFabba
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: