Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FPW2.6, REGFN, Windows 2000, and DynaZip
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00392792
Message ID:
00392835
Vues:
8
>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
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform