Search:
Type: Posts; User: Viotto
Search:
Search took 0.02 seconds.
-
Yeah because it wasn't just the last parameter, but I had to change also the first 2 parameters to make it work... thanks for your help by the way :)
-
Hey guys,
I just wanted to notice you the problem which I figured out: it was parameters passed to LdrLoadDll.
The following is correct:
_LdrLoadDll(0, 0, &usDllName, &DllHandle);
where...
-
@ovidiucucu, The point is provide a function which loads Dll like LoadLibrary does, but without using LoadLibrary itself.
@Paul, you are right, I thought it was a Visual C++ Runtime function. I...
-
Of course, thanks for the help. Here is my code:
#include <Windows.h>
typedef LONG NTSTATUS; //To be used with VC++ 6, since NTSTATUS type is not defined
-
Tried that, but still same error
-
@MrViggy, I checked by debugging that hmodule and _LdrLoadDll function address is valid (Calls to GetModuleHandle and GetProcAddress return valid values).
@Igor, actually if I comment the line:...
-
As the error log says, try to add
#include "StdAfx.h"
at the beginning of your code.
-
Hello,
I am trying to code an alternative to LoadLibrary function, based on the idea of calling the function LdrLoadDll from ntdll.
This function needs as a parameter the dll file to load, in a...
-
March 11th, 2011, 11:39 AM
Ah yes, now I understand, thanks :-)
-
March 11th, 2011, 08:49 AM
Thanks for your replies guys, I'll keep experimenting...
What is the best choice then? I compiled (release mode) same project in
Visual C++ 2008: size 115 KB;
Visual C++ 6: size 172...
-
February 24th, 2011, 09:31 AM
-
February 21st, 2011, 05:36 PM
Yes, but distribute always Release project.
The Debug folder contains the debug version of your program, which is bound with debug information for developer's use; this debug information bloats your...
-
February 21st, 2011, 05:19 PM
Hello everybody,
I am trying to build a small Win32 application using Visual C++ 2008, but I want it to run on any modern Windows machine without having to ship additional libraries and without...
|
Click Here to Expand Forum to Full Width
|