Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't get a DLL call to work in a form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00188431
Message ID:
00188467
Vues:
23
geoge -

sorry about the e-mail, wrong button.

declare integer PCMSOpenServer in pcmsrv32 integer appInst, integer hwnd
declare integer PCMSCheckPlaceName in pcmsrv32 integer serverID, string cityzip

Public mserver, mtext1, mgood

mserver = PCMSOpenServer(0,0) &&& returns 10000
mtext1 = '15243'
mgood = PCMSCheckPlaceName(mserver,mtext1)

mgood will return 1 in this simple prg

when i take the last 2 lines of code in place them in the valid event on the form, everything shutsdown. Page fault error in pcmsrv32.

if i call the simple prg from the valid event - do simple() or do simple or =simple i get an invalid subscript.

any clues?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform