Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PEMSTATUS() In a DLL
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00595837
Message ID:
00596378
Views:
20
>Larry,
>
>Thanks. I thought I had heard somewhere that PEMSTATUS wouldn't work
>in a DLL, but I needed to check.
>
>I had been thinking of testing for the method by passing the required
>parameters and trapping the error, but it seams kinda sloppy. What
>do ya think?

Kevin,
As you saw from my previous post, that recommendation #2. Instead of an ON ERROR kind of thing, you may be able to test it directly using the TYPE() function. Ex.

if type("oDLL.oForm.MyMethod(param1,param2)") = "L" then

I haven't tested it so I'm not sure if TYPE() would actually execute the method or not.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform