Author | Topic: HOW to create a DLL with the xpp fucntions | |
---|---|---|
Normand Aubry | HOW to create a DLL with the xpp fucntions on Wed, 24 Nov 2004 17:48:54 -0500 How to create a DLL compact file that will contain only the used fonction within a program file? When running and exe file outside of the install environnement of xbase on an other computer you have to copy most of the xpp DLL files contain in the /LIB directory. ________________________________________________________ Visitez le site du magazine Aubry et Cie www.norja.net | |
Phil Ide | Re: HOW to create a DLL with the xpp fucntions on Thu, 25 Nov 2004 13:29:04 +0000 Normand, > How to create a DLL compact file that will contain only the used fonction > within a program file? > When running and exe file outside of the install environnement of xbase on > an other computer you have to copy most of the xpp DLL files contain in the > /LIB directory. Actually, you shouldn't distribute the DLL's from /LIB, you should use the files in /RUNTIME. For the Xbase++ 'system' files, only distribute the ones used by your application - but for each of these you'll need to use the whole DLL, not just the functions in it you know you will need. For you own DLL's, yopu can create specific versions which reflect the requirements of particular applications. Regards, Phil Ide *************************************** * Xbase++ FAQ, Libraries and Sources: * * goto: http://www.idep.org.uk/xbase * *************************************** Captain! The UARTs kenna' take these speeds! | |
Robert Major | Re: HOW to create a DLL with the xpp fucntions on Thu, 25 Nov 2004 09:02:30 -0500 Hi Phil, > Actually, you shouldn't distribute the DLL's > from /LIB, you should use the files in /RUNTIME. Well, I'm not so sure. The DLLs in /LIB and /RUNTIME should be the exactly the same but there was some oversight at Alaska with the /RUNTIME DLLs for 1.82.294 which had not been "re-based". It also seems (according to Frank++) that Alaska performs all their tests on the DLLs in the /LIB folder since these are the ones that are in the path when installing Xbase++. So, IMO, it seems a bit safer to distribute the DLLs in the /LIB folder. Robert | |
Phil Ide | Re: HOW to create a DLL with the xpp fucntions on Thu, 25 Nov 2004 15:02:37 +0000 Robert, >> Actually, you shouldn't distribute the DLL's >> from /LIB, you should use the files in /RUNTIME. > > Well, I'm not so sure. The DLLs in /LIB and /RUNTIME should > be the exactly the same but there was some oversight at > Alaska with the /RUNTIME DLLs for 1.82.294 which had not > been "re-based". It also seems (according to Frank++) that > Alaska performs all their tests on the DLLs in the /LIB > folder since these are the ones that are in the path when > installing Xbase++. So, IMO, it seems a bit safer to > distribute the DLLs in the /LIB folder. A case of reality overruling legality . Actually, I delete all the DLL's from /LIB that are duplicated in /RUNTIME, and therefore I only actually use the /RUNTIME versions. My apps work fine with the only errors being mine Regards, Phil Ide *************************************** * Xbase++ FAQ, Libraries and Sources: * * goto: http://www.idep.org.uk/xbase * *************************************** If we left the bones out it wouldn't be crunchy! |