Hi Everybody, Thank you all very much! Especially Bill's suggestion. I have not get used to this system yet and I am not sure if this reply can reach the system. After I got Bill's suggestion, I tried it combine with the "debug" flavor and it works great. So I replied to thank Bill but it seems the reply has lost in somewhere or I just did not do it right.
So here is what I did: Add 'debug' to the mk1mf.pl lines in the do_* batch file. I am using do_masm.bat. Then use "ms\do_masm" to get the ntdll.mak file. Then as Bill's suggestion, I put /Zi /Oy into the CFLAG option. So my CFLAG is: CFLAG= /MDd /Od -DDEBUG -D_DEBUG /W3 /WX /Gs0 /GF /Gy /nologo /Zi /Oy -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -D_CRT_SECURE_NO_DEPRECATE -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM -DOPENSSL_USE_APPLINK -I. /Fdout32dll -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_KRB5 After 'nmake -f ms\ntdll.mak', I obtained the out32dll.dbg folder with 30 *.pdb files and 2 *.dll files. And I copied the 2 *.dll file and libeay32.pdb and ssleay32.pdb to where my application's exe file located. I did not put /debug into LFLAG because the 'debug' flavor already did that. I put /Oy instead /Oy- is because I did not understand it. But it do work. Thank you all again! Jie ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]