Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C Library Wrapper ?
Message
De
27/03/2004 21:51:10
Joel Leach
Memorial Business Systems, Inc.
Tennessie, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00890218
Message ID:
00890224
Vues:
24
Hi Greg,

I really don't know much about this, but I'll try to give a couple of hints. "Dynamic linked" sounds kinda like a DLL to me. Is that the case? If so, you might be able to use DECLARE to call functions in the DLL, or CREATEOBJECT() if it is a COM DLL. Otherwise, maybe you can create an FLL to access the Header/Library files. The VFP help file has some info on that.

>Hi everyone !
>
>I am working on a project that requires me to use a C libraries to monitor and recieve events from a Mitel 3300 Switch (Telephone PBX).
>
>Mitel docs state that:
>
>To communicate with the MiTAI server in the 3300 ICP or the SX-2000 ApSU, a MiTAI application needs to compile and link with MiTAI Client libraries. There are two types of MiTAI client libraries (“Dynamic linked” and “Static linked” library versions).
>
> The names of Header and Library Files are:
> libmtai.lib Object code for the MiTAI client software.
> Mtai.h Code files which call MiTAI routines must include this header
> Mtaierrs.h Error codes returned by failing MiTAI commands
>
>How does one go about creating a c++ wrapper dll that links to this libmtai.lib so that I can create an object in VFP to both make function calls and recieve events ?
>
>Thank You
>
>Greg Foote
Joel Leach
Microsoft Certified Professional
Blog: http://www.joelleach.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform