I think they should just throw/set an error code. Nothing visual (including xharbour alert messages). Let the user do as he will with the error code.
In Linux the counterpart of ace32.dll is a shared library *.so. They work in the very same manner. Although I don't think there is many people building client apps for linux and rather Linux is mostly being used as an ADS server (as I am doing), we should keep in mind the need to build something that will work for ace32.dll as well as ace.so. Reinaldo Crespo-Bazán www.structuredsystems.com [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andi Jahja Sent: Sunday, May 25, 2008 6:29 PM To: 'xHarbour-Developers' Subject: Re: [xHarbour-developers] ace32 options Brian: Sorry, but I'm not a Linux user. It's there for Windows and of course we hope that Linux user will insert a corresponding compatible error handling. -- Andi On Sun, 25 May 2008 15:19:51 -0700 "bhays" <[EMAIL PROTECTED]> wrote: > Andi (And ADS Linux users): > In your new ace32.c "GetProcAddress" approach, there's a MessageBox call: > char __szError[256]; > sprintf( __szError, "Cannot find function address: %s", szFuncName > MessageBox( NULL, __szError, szFuncName, MB_ICONSTOP ); > return NULL; > We've been trying to remove all Windows UI from the lib (Such as the > adsShowError calls) > > as they cause trouble for some users. Shouldn't this be throwing an error > instead, > > and let the user decide how the error should be displayed? > Also, I'm confused since I don't use Linux at all. > What happens for people who ARE using Linux? Is there some other file than > the > windows ace32.dll involved? In which case isn't going down this road a > problem > in supporting different platforms? > Thanks, ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ xHarbour-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xharbour-developers ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ xHarbour-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xharbour-developers

