2009-01-29 11:57 UTC-0430 Ron Pinkas <ron/at/xharbour.com>
* common.mak
* compile.mak
+ Added new use_dll.lib
- Moved mainstd.c and mainwin.c from dllmain.lib to use_dll.lib
* makefile.vc
+ Added $(USE_DLL_LIB) : $(USE_DLL_LIB_OBJS)
* Replaced $(DLL_MAIN_LIB) with $(USE_DLL_LIB) in DLLEXE_LINK_CMD
/*
Please synch these changes to makefile.* of other compilers
*/
* mdir.bat
* Add import lib harbour.lib to appropriate compiler sub folder of
\xharbour\lib
* source/vm/maindlle.c
* Changed to use hb_vmProcessPrgDllSymbols() for better self describing
+ Added comment:
/*
NOTE: This source should be compiled into dllmain.lib
and linked to any dll of prg code, which will be
staticly linked against harbour.dll
WARNING: Do NOT link this into any EXE application!
EXE applications which are staticly linked
against harbour.dll, should be linked to usedll.c
by means of use_dll.lib!
*/
* source/vm/maindllh.c
* Changed to use hb_vmProcessSysDllSymbols() for better self describing
+ Added comment:
/*
NOTE: This is a system source linked into harbour.dll
WARNING: Do NOT link this into other dll!
DLL applications which are staticly linked
against harbour.dll, should be linked to maindlle.c
by means of dllmain.lib!
*/
+ source/vm/usedll.c
+ New source to be comiled into use_dll.lib and linked to any
application
staticly linked to harbour.dll.
/*
NOTE: Make sure to link use_dll.lib aheadu of harbour.lib!
*/
* include/hbvm.h
* source/vm/hvm.c
* hb_vmProcessDllSymbols() -> hb_vmProcessSysDllSymbols()
* hb_vmProcessExeSymbols() -> hb_vmProcessPrgDllSymbols()
+ hb_vmProcessExeUsesDllSymbols() to services new usedll.c
* source/vm/errorapi.c
* Few typos in new HB_FUNC( ERRORNEW )
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers