|
From: Gisle V. <gv...@br...> - 2003-09-21 14:53:43
|
"Anders Lind=E9n" <mi...@ca...> said:
> I am trying to do a kernel driver. The problem is that the driver seems=
to be very
> fond of including kernel32.dll and msvcrt.dll!
> The problem is that those files are not in use in the kernel.
They are needed because you're creating a .dll (with a .sys extension).
That doesn't make it a kernel-driver. Run 'dllwrap --dry-run ..' to see w=
hat's
really going on.
> However, I know that I dont use them, because here is my code:
Try adding a fake function:
extern "C" void __stdcall DllMainCRTStartup (void *arg1, void *arg2, void=
*arg3)
{
}
But I don't think it's possible to make a kernel-driver using MingW thoug=
h.
--gv
|