TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: andrew clarke
from: Max Chernogor
date: 2002-11-09 13:02:50
subject: dlls

■
 Здорово, andrew !

08 Hоя 02, andrew clarke тулит свою месагу к Tobias Ernst:

ac> OK, I take some of that back - I looked at some of the more recent
ac> bleeding-edge binaries of HPT & FidoConfig, and you're using DLLs for
ac> SMAPI & FidoConfig (although not for Msged yet).  I still think a lot
ac> of the calling-convention stuff could be simplified though, eg.
ac> doing:

ac> #define EXPENTRY WINAPI

ac> for the Win32 functions that are being exported.  That should allow
ac> the same DLLs to be used with different Windows compilers (where
ac> currently you seem to have compiler-specific DLLs, eg. presumably
ac> smapimvc.dll is for MSVC only).

You can define it for your compiler in smapi/compiler.h

ac> Also, I noticed with HPT 1.3.0 that the SMAPI & FidoConfig DLLs need
ac> to be in the same directory as HPT.EXE, otherwise it won't run.  Or I
ac> could put them in \WINNT\SYSTEM32\, but I don't like that idea much.
ac> So I think ideally HPT should be using getenv("FIDOCONFIG") then
ac> stripping the filename and replacing it with "BIN\SMAPI.DLL" or
ac> whatever, then using LoadLibrary().  This might end up being more work
ac> than it sounds though, but it's just an idea.  It may/may not be

It's bad idea. because it's very specific win32 style of coding. not
portable for other OS then win or OS/2.





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

--- Touch And Go - StraightTo Number One (Dreamca - 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™.