Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dlls and Reportpreviewer
Message
 
 
À
11/08/2008 07:48:14
Jon Neale
Bond International Software
Wootton Bassett, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01337987
Message ID:
01337996
Vues:
9
You're welcome.

>Thanks Sergey, that's sorted it.
>
>Jon
>
>>Hi Jon,
>>
>>You hit a VFP bug. When Windows API function is declared w/o alias VFP releases any previous declarations with an alias.
>>You can use a trick from GdiPlusX. Comment out DECLARE and create following function. If GS_SplitReleaseDC is not declared yet, the function will be called. Otherwise the function in DLL will be called.
>>
>>FUNCTION GS_SplitReleaseDC(hWnd, HDC)
>>DECLARE Long ReleaseDC IN WIN32API AS GS_SplitReleaseDC Long hWnd, Long HDC
>>RETURN GS_SplitReleaseDC(m.hWnd, m.HDC)
>>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform