Hello fellows. I removed some of the procedures in this app i'm working on and put it on a .LIB. Then I transformed it into a .DLL. No matter if it's there ore not makes no difference. The procedures are inside the app. How do i make it depend on it? Thanks in advance!
\masm32\examples\dll
thanks. i forgot to look into the examples.
I see the example but isn't there a way without using LoadLibrary? All those libraries that are in the LIB directory of Masm32 use the same system? Do the procedures in those LIBs get embeded in the application? I use OllyDbg and it shows the modules.
Creating DLL using MASM32 (https://stackoverflow.com/questions/14317477/creating-dll-using-masm32)
.model flat, stdcall
.code
_DllMainCRTStartup PROC instance:DWORD,reason:DWORD,unused:DWORD
mov eax, 1
ret
_DllMainCRTStartup ENDP
foo PROC export
ret
foo ENDP
END
ml.exe test_dll.asm -link -dll -out:test_foo.dll
...
includelib test_foo.lib
...
Hi xandaz,
QuoteDo the procedures in those LIBs get embeded in the application?
You are probably referring to the import libraries. There is also masm32.lib ( static library )
yes. the procedures get embeded in the app. how do i do this?
Hello,
You can prefer static libraries in your case.
Thanks a lot. Problem solved. It was all about the .DEF file. It's all working fine. Thanks for the help.
A def-file is usually used for undecorated or alias names.