>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only