>I have an FPW application which works well under Win3.1, 95, 98, and NT. Under W2K, however, it crashes on the following line which attempts to register a function in a DLL.
>
> fdunzstart = RegFn("dunzstart", "", "I", "DZ_EASY.DLL")
>
>This line is actually from DZ_EASY.PRG, a function library provided by Inner Media, the makers of DynaZip - and, as I say, it has always worked for us. But in W2K it triggers :
>
> Application popup: Application Error : FOXPROW caused a General
> Protection Fault in module DUNZIP.DLL at 0001:009A.
>
FPW may not be able to use 32-bit .DLLs; if DZ_WASY.DLL is a 32 bit DLL, give up unless you don't mind writing a wrapper 16 bit DLL to handle the thunk.
>I have the latest version of 16-bit DynaZip and Inner Media claims that it works with FPW. But they say that, given the context, it must be a problem with Foxtools.fll or RegFn. But why would that line trigger a GPF which references DUNZIP.DLL??
>
>Just to complicate things...<g>...Inner Media support suggested the other day that W2K wants nulls to be passed instead of empty strings. I don't know how to produce a null in FPW except CHR(0) ... but that didn't help the line above. Then today they said that W2K wants empty strings and NOT nulls .... but, of course, that's what we've done all along. So now I'm confused as to whether nulls might even be a factor but I thought I'd mention it for anyone who is actually pondering my predicament <g>.
>
>Thanks for any ideas.
>
>-Bob