Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting registered functions
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Detecting registered functions
Divers
Thread ID:
00227758
Message ID:
00227758
Vues:
62
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 ?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform