Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't get a DLL call to work in a form
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00188431
Message ID:
00188467
Views:
21
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform