Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Declaring dlls
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00339128
Message ID:
00339213
Vues:
15
>I issue this command in my program:
>
>DECLARE _fpreset IN msvcrt20.dll
>
>I issue the following in my form after each SET PRINTER TO, REPORT FORM, SYS(1037), and also in the dataenvironment of the Report (all as layed out in the MS article KBQ183522)
>
> _fpreset()
>
>But, my memory keeps increasing with each run through of the report. I have a feeling the call is not being made correctly to the dll function.
>
>Do you have any experience with this MS fix actually working?

_fpreset() has 0 (nothing nada nil nunca NULL) to do with memory leaks; all it does is reset the FPU to a consistent knowable state. It does not deal with any memory management issues, other than to ensure that a reference to a floating point instruction doesn't blow up off the face of the earth becuase it points into an invalid memory area.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform