Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't get a DLL call to work in a form
Message
From
17/02/1999 11:30:42
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00188431
Message ID:
00188437
Views:
31
>After declaring the DLL functions I can call the functions in a simple prg. They return the correct information and have no errors. I created form that has text boxes. In the Textboxs valid event I copied the simple prg. It doesn't work, I get a page fault error and everything shuts down. I then changed the Valid event to call the simple prg as a function (Do Fcheck()) Now the form returns "invalid subscript". I do not have an array defined. The function does not call for an array either. Can I call DLL's from inside the Valid event? Help?


Why it said "Invalid subscript" if you want it as a function call it as "=fCheck()" but if you want it a program call "do fcheck".
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform