Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Missing USER32.DLL?
Message
 
À
20/01/1999 11:40:43
Donald Krasnick
Stanton Systems and Consulting
Havertown, Pennsylvanie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00178013
Message ID:
00178062
Vues:
28
>>Hi Donald,
>>
>>I've never seen anything like this. Can I assume that if the file name of the DLL is not showing, that the function cannot be called?
>
>Yup. There specific error I get is 1753 "Cannot load 32-bit DLL c:\win95\system\." Help on the error is rather terse, and Devnet/Technet yield no more information.
>
>This function was DECLAREd when the CPU was booted; the error occurred the first time it was called (I think), about 5 minutes later.

Hi Donald,

Obviously, I don't think there was a CLEAR DLLS issued, otherwise you wouldn't see the reference with the DISPLAY STATUS. However, it could be that VFP's internal memory management may have (somehow) messed the reference up. About all I can suggest is that the functions be DECLAREd only as needed. From what I understand, there isn't a great deal of additional overhead that'll be incurred from the duplication when it happens. This will also guard against another method CLEARing the DLLS.

FWIW, my own general design when working with DLLs is to DECLARE as needed when the object persists throughout the app's session. If the object is only to be used in a particular method that's not subject to any external clearing (short-lived), then I'll declare the functions in the Init method.

hth,
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform