I might been reporting the wrong issue. I set LDFLAGSDLL=cg32.lib as suggested by Przemek. I see that harbour-b32.dll is created in bin/b32 and iside there are references to the codeguard functions.
The error is: Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland Error: Unresolved external '_CG_DESC' referenced from E:\HRB\OBJ\DLL\B32\MAINSTD.OBJ ** error 2 ** deleting bin\b32\hbtest-dll.exe (since it takes 10 min to build, I send this before I will try it again without setting LDFLAGSDLL) Chen. _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour