Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is DLL declared ?
Message
De
24/04/2000 20:01:01
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
24/04/2000 18:56:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00362518
Message ID:
00362963
Vues:
17
>>Hi Cetin,
>>
>>no there isn't. But the overhead of declaring a function is not that huge in most cases.
>>
>
>I agree completely, and more importantly, I may declare the same .DLL in different ways to use it in different situations - the best example of this is my constant redefinition of RtlMoveMemory() to swap different types of data in and out of memvars and static memory blocks that I use to implement structures. If you're making several hundred or thousands of repeated calls to an API function, I start to think in terms of building the block in something other than VFP, since each call has significantly more overhead because of translation between the native binanry formats and VFP memory structures.


Can I take this as "I shouldn't fear and do not have a need to check having the 'same' declare .... many times". In my case it's always the same DLL with exactly the same definition. ( I would be happy with a "yes" :)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform