WDM C++ kernel mode

Without instigating the war of the world’s again can I ask some questions.

  1. What do i need to do if need to use c++ in a device driver?
    I have used the hollistech solution. It works great but then I cannot use a
    GPL library in my company. Secondly I would like to educate myself the magic
    that library is doing.

I intend to overrride “new/delete” with exallocatepoolwithtag
not use c++ Exceptions
no inline constructors/distructors
no templates or no crazy c++ features.
no multiple inheritence

2)Is there a sample sekeleton c++ WDM device driver available that does not
use “Hollistech” libraries?

Thanks a lot to you all.

Thanks


Express yourself instantly with MSN Messenger! Download today - it’s FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

> 1) What do i need to do if need to use c++ in a device driver?

You might search the archives; Doron Holan posted recently about the C++
coding standards the KMDF team used. It was really interesting.

-sd

If all you are doing is overriding new/delete, then you don’t need any
other libraries. What you don’t get is globally objects that have
constructors/destructors. I would guess that hollistech’s library gives
you that. There are ways around this limitation and you can keep this
limitation in your design from the start to make things easier for you.

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Arif Golde
Sent: Sunday, May 07, 2006 3:53 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] WDM C++ kernel mode

Without instigating the war of the world’s again can I ask some
questions.

  1. What do i need to do if need to use c++ in a device driver?
    I have used the hollistech solution. It works great but then I cannot
    use a
    GPL library in my company. Secondly I would like to educate myself the
    magic
    that library is doing.

I intend to overrride “new/delete” with exallocatepoolwithtag
not use c++ Exceptions
no inline constructors/distructors
no templates or no crazy c++ features.
no multiple inheritence

2)Is there a sample sekeleton c++ WDM device driver available that does
not
use “Hollistech” libraries?

Thanks a lot to you all.

Thanks


Express yourself instantly with MSN Messenger! Download today - it’s
FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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

Try approaching Compuware/Numega for their commercial c++ kernel lib.

–PA

“Arif Golde” wrote in message news:xxxxx@ntdev…
> Without instigating the war of the world’s again can I ask some questions.
>
> 1) What do i need to do if need to use c++ in a device driver?
> I have used the hollistech solution. It works great but then I cannot use a GPL library in my company. Secondly I would like
> to educate myself the magic that library is doing.
>
> I intend to overrride “new/delete” with exallocatepoolwithtag
> not use c++ Exceptions
> no inline constructors/distructors
> no templates or no crazy c++ features.
> no multiple inheritence
>
> 2)Is there a sample sekeleton c++ WDM device driver available that does not use “Hollistech” libraries?
>
> Thanks a lot to you all.
>
>
>
> Thanks
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today - it’s FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>

Ancient MSJ history from 1996 included an article on a C++ class library for
kernel drivers.

http://www.microsoft.com/msj/archive/S35B.aspx

I do not remember anything more than to recall its existence.

Good Luck,
Dave Cattley
Consulting Engineer
Systems Software Development

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Arif Golde
Sent: Sunday, May 07, 2006 6:53 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] WDM C++ kernel mode

Without instigating the war of the world’s again can I ask some questions.

  1. What do i need to do if need to use c++ in a device driver?
    I have used the hollistech solution. It works great but then I cannot use a
    GPL library in my company. Secondly I would like to educate myself the magic
    that library is doing.

I intend to overrride “new/delete” with exallocatepoolwithtag not use c++
Exceptions no inline constructors/distructors no templates or no crazy c++
features.
no multiple inheritence

2)Is there a sample sekeleton c++ WDM device driver available that does not
use “Hollistech” libraries?

Thanks a lot to you all.

Thanks


Express yourself instantly with MSN Messenger! Download today - it’s FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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

No, no, no, no. Let’s not start this topic again.

We had 155 messages worth of discussion on this topic in April. This isn’t going to become the C++ in Drivers list.

Please read the archives. I think you’ll find any question you can think of about C++ in drivers has been answered within the past month.

PLEASE let this topic rest for another several months before it’s rekindled.

Thanks,

Peter
List Slave Partner

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

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Arif Golde
Sent: Sunday, May 07, 2006 6:53 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] WDM C++ kernel mode

Without instigating the war of the world’s again can I ask
some questions.

  1. What do i need to do if need to use c++ in a device driver?
    I have used the hollistech solution. It works great but then
    I cannot use a GPL library in my company. Secondly I would
    like to educate myself the magic that library is doing.

I intend to overrride “new/delete” with exallocatepoolwithtag
not use c++ Exceptions no inline constructors/distructors no
templates or no crazy c++ features.
no multiple inheritence

2)Is there a sample sekeleton c++ WDM device driver available
that does not use “Hollistech” libraries?

Thanks a lot to you all.

Thanks


Express yourself instantly with MSN Messenger! Download today


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

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

Yeah - I just wanted to make sure that it wasn’t going to be resold, but
in reality my intention was to make it public domain. It is on my list
of things to do in my copious spare time.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@seagate.com
Sent: Monday, May 08, 2006 12:18 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] WDM C++ kernel mode

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

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

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

Doron,

I wondered the same question on the original post, where there was
“need to use c++ in a device driver”. You may want to use C++, but a need
implies more. Also, if the OP is not comfortable in reproducing what Mark
did yourself, is the OP going to be comfortable with understanding the
contraints that need to be dealt with for C++?


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply

“Doron Holan” wrote in message
news:xxxxx@ntdev…
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

Just look at the Hollis source code and the file CRT0INIT.C that comes
with VC++. It’s really pretty straightforward.

MM

>> xxxxx@yahoo.com 2006-05-08 13:05 >>>
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

The library is not under the normal GPL but the “lesser” or “library” GPL
and it should not be a problem for you to use that in a company, thats the
point of the LGPL! Could you elaborate your complains about this license?


Chat: Ha en fest på Habbo Hotel
http://habbohotel.msn.se/habbo/sv/channelizer Checka in här!

I cannot recall the details, but the lesser GPL has its own issues. I thought it did what I wanted: put the source in the public domain but make it less than ethical to turn around and resell it, but I was convinced by somebody that this is not exactly what the LGPL does.

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Peter Hallberg
Sent: Tuesday, May 09, 2006 6:31 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] WDM C++ kernel mode

The library is not under the normal GPL but the “lesser” or “library” GPL
and it should not be a problem for you to use that in a company, thats the
point of the LGPL! Could you elaborate your complains about this license?


Chat: Ha en fest p? Habbo Hotel
http://habbohotel.msn.se/habbo/sv/channelizer Checka in h?r!


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

Is it okay for my company to sell a driver which is benefitting and using
the hollistech library?
Would I need to share my driver source is if I use the hollistech library?
I do not intend to make any changes to hollistech library!
Is the source for the library available.

Thanks
Arif

I cannot recall the details, but the lesser GPL has its own issues. I
thought it did what I wanted: put the source in the public domain but
make it less than ethical to turn around and resell it, but I was
convinced by somebody that this is not exactly what the LGPL does.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Peter Hallberg
Sent: Tuesday, May 09, 2006 6:31 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] WDM C++ kernel mode

The library is not under the normal GPL but the “lesser” or “library”
GPL
and it should not be a problem for you to use that in a company, thats
the
point of the LGPL! Could you elaborate your complains about this
license?

From: “Mark Roddy”
>Reply-To: “Windows System Software Devs Interest List”
>
>To: “Windows System Software Devs Interest List”
>Subject: RE: [ntdev] WDM C++ kernel mode
>Date: Mon, 8 May 2006 07:34:11 -0400
>
>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
>
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of Arif Golde
> > Sent: Sunday, May 07, 2006 6:53 PM
> > To: Windows System Software Devs Interest List
> > Subject: [ntdev] WDM C++ kernel mode
> >
> > Without instigating the war of the world’s again can I ask
> > some questions.
> >
> > 1) What do i need to do if need to use c++ in a device driver?
> > I have used the hollistech solution. It works great but then
> > I cannot use a GPL library in my company. Secondly I would
> > like to educate myself the magic that library is doing.
> >
> > I intend to overrride “new/delete” with exallocatepoolwithtag
> > not use c++ Exceptions no inline constructors/distructors no
> > templates or no crazy c++ features.
> > no multiple inheritence
> >
> > 2)Is there a sample sekeleton c++ WDM device driver available
> > that does not use “Hollistech” libraries?
> >
> > Thanks a lot to you all.
> >
> >
> >
> > Thanks
> >
> >
> > Express yourself instantly with MSN Messenger! Download today
> > - it’s FREE!
> > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> >
> >
> > —
> > 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
> >
>
>
>
>—
>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


Express yourself instantly with MSN Messenger! Download today - it’s FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

It is absolutely fine to sell a driver that is benefiting and using the
C++ runtime package. You do not need to share your driver source.
Technically you need to provide at a minimum a link to the original
hollistech source code if you distribute your own source code that uses
this software to others. I find that particular part of the LPGL
obnoxious. I don’t care if you do or don’t abide by it. Also if your
derived executable (your driver) displays copyright notices then
technically you must refer to the LPGL for the library (as in portions
copyright Hollis Technology Solutions, etc.) Once again - I don’t care
about this at all.

See section 6 of the LPGL for the gory details.
http://www.opensource.org/licenses/lgpl-license.php

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Arif Golde
Sent: Tuesday, May 09, 2006 5:37 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] WDM C++ kernel mode

Is it okay for my company to sell a driver which is benefitting and
using
the hollistech library?
Would I need to share my driver source is if I use the hollistech
library?
I do not intend to make any changes to hollistech library!
Is the source for the library available.

Thanks
Arif

I cannot recall the details, but the lesser GPL has its own issues. I
thought it did what I wanted: put the source in the public domain but
make it less than ethical to turn around and resell it, but I was
convinced by somebody that this is not exactly what the LGPL does.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Peter Hallberg
Sent: Tuesday, May 09, 2006 6:31 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] WDM C++ kernel mode

The library is not under the normal GPL but the “lesser” or “library”
GPL
and it should not be a problem for you to use that in a company, thats
the
point of the LGPL! Could you elaborate your complains about this
license?

From: “Mark Roddy”
>Reply-To: “Windows System Software Devs Interest List”
>
>To: “Windows System Software Devs Interest List”
>Subject: RE: [ntdev] WDM C++ kernel mode
>Date: Mon, 8 May 2006 07:34:11 -0400
>
>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
>
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of Arif Golde
> > Sent: Sunday, May 07, 2006 6:53 PM
> > To: Windows System Software Devs Interest List
> > Subject: [ntdev] WDM C++ kernel mode
> >
> > Without instigating the war of the world’s again can I ask
> > some questions.
> >
> > 1) What do i need to do if need to use c++ in a device driver?
> > I have used the hollistech solution. It works great but then
> > I cannot use a GPL library in my company. Secondly I would
> > like to educate myself the magic that library is doing.
> >
> > I intend to overrride “new/delete” with exallocatepoolwithtag
> > not use c++ Exceptions no inline constructors/distructors no
> > templates or no crazy c++ features.
> > no multiple inheritence
> >
> > 2)Is there a sample sekeleton c++ WDM device driver available
> > that does not use “Hollistech” libraries?
> >
> > Thanks a lot to you all.
> >
> >
> >
> > Thanks
> >
> >
> > Express yourself instantly with MSN Messenger! Download today
> > - it’s FREE!
> > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> >
> >
> > —
> > 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
> >
>
>
>
>—
>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


Express yourself instantly with MSN Messenger! Download today - it’s
FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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