|
From: <mi...@ca...> - 2003-09-21 16:39:07
|
A kernel driver is nothing more than a DLL with the right contents.
/Anders
----- Original Message -----
From: "Gisle Vanem" <gv...@br...>
To: <min...@li...>
Sent: Sunday, September 21, 2003 4:53 PM
Subject: Re: [Mingw-users] cant get rid of kernel32 and msvcrt
"Anders Lindén" <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 what'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 though.
--gv
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
MinGW-users mailing list
Min...@li...
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
|