LoadLibrary vs loading binary dll into process?
<p>I tried using <code>ifstream</code> to get the contents of my dll file to be injected into a remote process. I used a <code>char*</code> buffer to store the contents of the dll and then used <code>WriteProcessMemory</code> to inject the binary of the dll file into the process. I used CheatEngine to look at the memory region pointed to by the result of <code>VirtualAllocEx</code> so I know the data got written because I see a text parameter of one of the functions I made. I'm just curious what it is that <code>LoadLibrary</code> does differently from just loading the raw binary of the dll into the process.</p>