Hi, I'm using NEMO to load my custom dll. To load the dll it says I have to put the filename on "NEMO-pre_3p0/Input/dlls.txt".
On "NEMO-pre_3p0/Input/dlls.txt":
//All Lines beginning with // are ignored
//All strings ending with a .dll is taken as the current DLL and lines that follow that doesnt have that pattern are taken as functions.
// To import function by name simply put the name
// To import function by ordinal number put the ordinal following a ':' symbol (like :41 below)
// For better clarity put spaces in front of either types of function imports
test.dll
_DllMain@12
// :41
Where do I put the dll? on the NEMO folder ? It already tried it.
Here's my custom dll (coded in delphi):
uses
SysUtils,
Classes,
Windows;
{$R *.res}
procedure DllMain(reason: Integer);
begin
if reason = DLL_PROCESS_ATTACH then
begin
MessageBoxA(0,'test','test',0);
end;
end;
begin
DllProc := DllMain;
DllMain(DLL_PROCESS_ATTACH);
end.
Application error when I run the client. How to properly load it ?
Question
diamondjack
Hi, I'm using NEMO to load my custom dll. To load the dll it says I have to put the filename on "NEMO-pre_3p0/Input/dlls.txt".
On "NEMO-pre_3p0/Input/dlls.txt":
Where do I put the dll? on the NEMO folder ? It already tried it.
Here's my custom dll (coded in delphi):
uses SysUtils, Classes, Windows; {$R *.res} procedure DllMain(reason: Integer); begin if reason = DLL_PROCESS_ATTACH then begin MessageBoxA(0,'test','test',0); end; end; begin DllProc := DllMain; DllMain(DLL_PROCESS_ATTACH); end.
Application error when I run the client. How to properly load it ?
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.