<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.herc.ws/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.herc.ws/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Shikazu</id>
		<title>Hercules Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.herc.ws/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Shikazu"/>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/wiki/Special:Contributions/Shikazu"/>
		<updated>2026-05-02T16:19:56Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.21.11</generator>

	<entry>
		<id>https://wiki.herc.ws/wiki/DLL_Import</id>
		<title>DLL Import</title>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/wiki/DLL_Import"/>
				<updated>2013-10-30T16:53:15Z</updated>
		
		<summary type="html">&lt;p&gt;Shikazu: Created page with &amp;quot;Since it took me a while to figure out how to add a DLL to the Ragexe or Ragexe_RE client, I will explain it now in under 5 minutes.  [http://imgur.com/a/Ak0Ws#0 All Screensho...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Since it took me a while to figure out how to add a DLL to the Ragexe or Ragexe_RE client, I will explain it now in under 5 minutes.&lt;br /&gt;
&lt;br /&gt;
[http://imgur.com/a/Ak0Ws#0 All Screenshots]&lt;br /&gt;
&lt;br /&gt;
At first we need 2 things to get it working.&lt;br /&gt;
1. [http://www.cgsoftlabs.ro/zip/Stud_PE.zip Stud_PE], which we need to import the DLL.&lt;br /&gt;
2. An [http://www.xup.in/dl,10633471/example.dll/ example DLL] to find out if it worked out well.&lt;br /&gt;
&lt;br /&gt;
When you finished downloading these two files, extract the setup from the Stud_PE.zip and install it to your computer.&lt;br /&gt;
&lt;br /&gt;
After you installed it and started it, there should be a window popping up, which look like this:&lt;br /&gt;
[http://i.imgur.com/ENpdGyv.png|framed|StudPE-Startup]&lt;br /&gt;
&lt;br /&gt;
Then click on File in the top menu and then on Open PE File. Then there will show up a File Open Dialog where you choose your RagnarokExe.&lt;br /&gt;
[http://i.imgur.com/26uMnoT.png|framed|Ragexe-File-Open-Dialog]&lt;br /&gt;
&lt;br /&gt;
After that the PE File gets loaded and you switch to the Function Tab in the Program, like here:&lt;br /&gt;
[http://i.imgur.com/fqBNiTp.png|framed|Functions-Tab]&lt;br /&gt;
There you see all DLL's which get actually loaded and what functions exactly get loaded.&lt;br /&gt;
&lt;br /&gt;
In Order to add our own DLL to the list of the DLL's which get loaded, rightclick into the window where the DLL Files are listed and choose &amp;quot;Add New Import&amp;quot;.&lt;br /&gt;
A new windows is opening which looks like this:&lt;br /&gt;
[http://i.imgur.com/xq73A56.png|framed|Import-Adder]&lt;br /&gt;
&lt;br /&gt;
There you choose your own DLL with the File Open Dialog which you open with &amp;quot;DLL Select&amp;quot; and then you choose the function which should get loaded.&lt;br /&gt;
A DLL has a startup routin which we load from our example.dll which you downloaded before. It looks like this:&lt;br /&gt;
[http://i.imgur.com/u1Ye7Fc.png|framed|DLL-Main]&lt;br /&gt;
&lt;br /&gt;
And if you choose the DllMain@12, it has a blue background and then click on Ok.&lt;br /&gt;
Your Import Adder should look like this:&lt;br /&gt;
[http://i.imgur.com/hWCRezs.png|framed|Function-Added]&lt;br /&gt;
Then click on &amp;quot;ADD&amp;quot; and it's done, your Client.exe loads the DLL from now on.&lt;br /&gt;
&lt;br /&gt;
Just close the program, move the dll to your client's folder and start the client.&lt;br /&gt;
Then there should be a MessageBox when your Client starts, which looks like this.&lt;br /&gt;
[http://i.imgur.com/ZSlM1C4.png|framed|DLL-Message]&lt;br /&gt;
&lt;br /&gt;
Congratulations, you added a DLL to your Client.&lt;/div&gt;</summary>
		<author><name>Shikazu</name></author>	</entry>

	</feed>