Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting registered functions
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Detecting registered functions
Miscellaneous
Thread ID:
00227758
Message ID:
00227758
Views:
61
I found a small program & .dll called "Addzip" that works very nicely from within VFP, but I have a problem.

The first time the .dll is called, it declare various functions in the dll (via a logical parameter passed). Subsequent calls to the dll are NOT supposed to do the declares again (and generate an error).

code snippet:

IF Params = 0 OR lInitialize
PRIVATE HWND
DECLARE INTEGER GetActiveWindow IN win32api
HWND = GetActiveWindow()
DECLARE addZIP_Initialise IN AZIP32
DECLARE SHORT addZIP_SetParentWindowHandle IN AZIP32 SHORT @ HWindow
DECLARE SHORT addZIP_ArchiveName IN AZIP32 STRING @ sArchName.....


How can you tell within VFP whether or not these declares have been done ?
Next
Reply
Map
View

Click here to load this message in the networking platform