#18 Wrong path separators on Windows

closed-invalid
nobody
None
5
2005-08-02
2005-08-02
No

When I call LoadLibrary, I have to use Unix path
separators even on Windows. For example,

windll.LoadLibrary("c:\WINNT\system32\visa32.dll")

doesn't work although

windll.LoadLibrary("c:/WINNT/system32/visa32.dll")

works.

Discussion

  • Thomas Heller

    Thomas Heller - 2005-08-02

    Logged In: YES
    user_id=11105

    The usual problem ;-)

    Try
    windll.LoadLibrary(r"c:\WINNT\system32\visa32.dll")
    or
    windll.LoadLibrary("c:\\WINNT\\system32\\visa32.dll")

     
  • Thomas Heller

    Thomas Heller - 2005-08-02
    • status: open --> closed-invalid
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks