Announcement

Collapse
No announcement yet.

PB/DLL 2.0 (16-bit) How to detect running from UNC (non-mapped) drive?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Kev Peel
    replied

    Blugghhhh!

    Lance;

    I thought you were the master

    Ahh haa Ha ha! (in evil grin mode!)

    ------------------
    Kev G Peel
    KGP Software, Bridgwater, UK.
    www.go.to/kgpsoftware

    Leave a comment:


  • Lance Edmonds
    replied
    Brilliant! Thanks!

    Now why didn't I think of that? (other than the fact that it was about 2am when I needed a solution! )



    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Edwin Knoppert
    replied
    Could not try it yet but : GetModuleFileName() ??

    ------------------
    [email protected]

    Leave a comment:


  • PB/DLL 2.0 (16-bit) How to detect running from UNC (non-mapped) drive?

    Hi folks,

    Does anyone know how I can detect if a PB/DLL 2.0 EXE was launched from a UNC drive? On my Win2K system, executing a 16-bit EXE from a network drive results in CURDIR$ showing "I:\WINNT\TEMP", but the app was launched directly from "\\server\misc\noname.exe".

    I found a PB/DOS solution (see my postings in the PB/DOS forum), so now I'm left to urgently find a PB/DLL 2.0 solution.

    Any ideas folks?

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>
Working...
X
😀
🥰
🤢
😎
😡
👍
👎