I don’t think *need* is the appropriate word. You can design your
driver not to need it. For instance, you can have pointers to global
objects and new() them in DriverEntry() and delete() them in
DriverUnload(). Every design that I have reviewed was easily refactored
(< 1 day worth of work) to use global object pointers vs global objects.
d
– I can spell, I just can’t type.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Saurabh
Sent: Monday, May 08, 2006 10:05 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] WDM C++ kernel mode
Well I need global constructors/objects. So I do need to implement my
own C++ runtime support library.
Of course I would have to agree that c++ in windows drivers would
definitely get a boost if Mark’s solution had no license restrictions.
Thanks
— xxxxx@seagate.com wrote:
Since I’m not sure what your intent was in putting it under the lesser
GPL was, I don’t know if it was a mistake or not.
If it was a mistake in that the GPL made it more difficult to use,
perhaps you could release it under another license? It doesn’t appear
that you intended to make $$$ selling it, or it wouldn’t be available
for no cost download. Is it a candidate for explicitly declaring it
public domain?
Just a thought,
Phil
Philip D. Barila
Seagate Technology LLC
(720) 684-1842
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Mark Roddy
Sent: Monday, May 08, 2006 5:34 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] WDM C++ kernel mode
There is no magic there. I’ve been told that putting a GPL on that
source code was probably a mistake, oh well. If you do not need global
new/delete just write class versions. If you don’t need global
constructors, then you really don’t need my C++ runtime support. If
you do need global constructors and for some reason you cannot use a
gpl source base, I suggest studying various C++ runtime support
packages, understanding how they work, and writing your own.
=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032 www.hollistech.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer