TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: andrew clarke
from: Max Chernogor
date: 2002-11-12 10:25:00
subject: SMAPI_EXT

■
 Здорово, andrew !

12 Hоя 02, andrew clarke тулит свою месагу к Max Chernogor:


ac>>> What is the purpose of SMAPI_EXT in smapi-2.3.0?  Just so I'm
ac>>> clear on what it means.  I assume it means "export this function
ac>>> to a DLL; allow application program to link in those functions
ac>>> dynamically".
>> O! You are at the begining of understanding of "dynamically
>> linking" :)
ac> The confusion arises because there was once EXPENTRY, which seems to
ac> have been renamed to _XPENTRY.  I thought that was to declare
ac> functions to be exported.  What's the difference between SMAPI_EXT and
ac> _XPENTRY (philosophically) ?

SMAPI_EXT for exporting|importing functions

#       ifndef _SMAPI_EXT
#           define SMAPI_EXT __declspec(dllimport)
#       else
#           define SMAPI_EXT __declspec(dllexport)
#       endif /* _SMAPI_EXT */

_XPENTRY it's Calling Conventions

MSDN:

Obsolete Calling Conventions
Home |  Overview |  How Do I

The __pascal, __fortran, and __syscall calling conventions are no longer
supported. You can emulate their functionality by using one of the
supported calling conventions and appropriate linker options.

WINDOWS.H now supports the WINAPI macro, which translates to the
appropriate calling convention for the target. Use WINAPI where you
previously used PASCAL or __far __pascal.




 Покедова.                                                 [Team LSET]

--- Die Toten Hosen - Was Zaehlt - mpg123/w32 0.59s-mh2
* Origin: *** Seumbieky forever *** (2:464/108)
SEEN-BY: 10/3 345 102/943 106/1 2 3 1234 2000 123/500 128/187 130/803 140/1
SEEN-BY: 143/2 201/505 226/600 229/1000 2000 249/116 267/200 280/5003 333/0
SEEN-BY: 379/1 1200 550/5012 633/267 270 2404/201 2624/306 3800/1
@PATH: 464/108 550/4077 292/100 140/1 106/2000 1 379/1 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.