Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error - Could not allocate global memory
Message
De
19/04/1997 14:55:56
 
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00028981
Message ID:
00028985
Vues:
35
>The User is getting RANDOMLY the error Could Not Allocate Global Memory error message when the program is trying to register a windows API function.
>The line of code generating the error is fnApi = RegFn("GETPROFILESTRING", "CCC@CI", "I").
>The error is documented by MS as coming from API _UserError(), which I don't know much about.
>The environment: Win95 network (2 stations)
>MEMLIMIT in config.fpw: 80%, 1024, 4096
>I would appreciate any more specific information on what is generating the error and any potential workaround.
>TIA
>Sorin

GETPROFILESTRING is an Win32API function. Declare it with "DECLARE DLL" not with RegFn from FoxTools. DECLARE is much more reliable and you won't have problems you might have with FoxTools. As far as I know (maybe wrong), FoxTools doesn't work with 32 bit DLLs.

Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform