Hello, Maxim.

You wrote 29.08.2007 @ 13:38 


MM> IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE  (0x40)  // The DLL can be relocated 
at load time
MM> IMAGE_DLLCHARACTERISTICS_NX_COMPAT     (0x100) // The image is
MM> compatible with data execution prevention (DEP).
MM> IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE (0x8000) // The
MM> image is Terminal Server aware, please see
MM> http://msdn2.microsoft.com/en-us/library/aa380671.aspx for more information

The problem: DLL can't be linked with 
IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE

MSVS 2005 linker says:
LINK : warning LNK4075: ignoring '/TSAWARE' due to '/DLL' specification

MSDN says in section "Linker options", "/TSAWARE (Create Terminal
Server Aware Application)":
ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_vccomp/html/fe1c1846-de5b-4839-b562-93fbfe36cd29.htm

...
/TSAWARE is not valid for drivers, VxDs, or DLLs.
...

So, since The Bat plugin IS the dll, it CANT be linked with this
option anyway! Another settings (NX_COMPAT, DYNAMIC_BASE) are well and
easy can be used on MSVS

-- 
Sincerely, Alexey. Using TB 3.99.3 on WinXP Pro SP2 (2600), spelling by 
ORFO2002 (CSAPI)
   mailto:[EMAIL PROTECTED]


________________________________________________
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to