Has anyone else experienced a "random" GPF when calling curdir() ? If yes, is there a workaround for curdir()
xharbor .99.51
fwh 2.6
bcc 5.5
windows xp
windows xp64
GPF with curdir()
- don lowenstein
- Posts: 196
- Joined: Mon Oct 17, 2005 9:09 pm
- Contact:
GPF with curdir()
Don Lowenstein
www.laapc.com
www.laapc.com
- Antonio Linares
- Site Admin
- Posts: 37485
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- don lowenstein
- Posts: 196
- Joined: Mon Oct 17, 2005 9:09 pm
- Contact:
Thank you. I will try.
FYI - the offending line of code that brought this to my attention was a call to FWH function lIsDir( pathspec )
here is your code from filename.prg
function lIsDir( cNewDir ) // Checks an existing directory
local cDir := CurDrive() + ":\" + CurDir()
I linked in my own lIsDir() function changing CurDir() to GetCurDir()
I will keep you posted regarding the GPF.
FYI - the offending line of code that brought this to my attention was a call to FWH function lIsDir( pathspec )
here is your code from filename.prg
function lIsDir( cNewDir ) // Checks an existing directory
local cDir := CurDrive() + ":\" + CurDir()
I linked in my own lIsDir() function changing CurDir() to GetCurDir()
I will keep you posted regarding the GPF.
Don Lowenstein
www.laapc.com
www.laapc.com
-
- Posts: 23
- Joined: Sat Oct 22, 2005 8:22 pm