Is C++ allowed in File system Filter drivers?

Hi,

Could we use C++ classes inside file system filter drivers on Windows 2000
and XP?

Any information is helpful.

Thanks,
Kedar.

Before this goes into a month long thread of people on both sides of the
line, you should definitely look through the archives. For anyone who has
been on this list for awhile knows that this is likely one of the most
debated subject, aside from the benefits of OS patching.

Pete

Kernel Drivers
Windows Filesystem and Device Driver Consulting
www.KernelDrivers.com
(303)546-0300

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of kedar
Sent: Tuesday, June 14, 2005 7:22 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Is C++ allowed in File system Filter drivers?

Hi,

Could we use C++ classes inside file system filter drivers on Windows 2000
and XP?

Any information is helpful.

Thanks,
Kedar.


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@kerneldrivers.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Yes you can use it for sure. DriverWorks from compuware provides a base
template in c++ to write a file system filter driver.

Raghwendra
----- Original Message -----
From: “Peter Scott”
To: “Windows File Systems Devs Interest List”
Sent: Tuesday, June 14, 2005 7:07 PM
Subject: RE: [ntfsd] Is C++ allowed in File system Filter drivers?

>
> Before this goes into a month long thread of people on both sides of the
> line, you should definitely look through the archives. For anyone who has
> been on this list for awhile knows that this is likely one of the most
> debated subject, aside from the benefits of OS patching.
>
> Pete
>
> Kernel Drivers
> Windows Filesystem and Device Driver Consulting
> www.KernelDrivers.com
> (303)546-0300
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of kedar
> Sent: Tuesday, June 14, 2005 7:22 AM
> To: Windows File Systems Devs Interest List
> Subject: [ntfsd] Is C++ allowed in File system Filter drivers?
>
> Hi,
>
> Could we use C++ classes inside file system filter drivers on Windows 2000
> and XP?
>
>
> Any information is helpful.
>
> Thanks,
> Kedar.
>
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@kerneldrivers.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@mahindrabt.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

*
Disclaimer:
The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of MBT and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of MBT.

This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and MBT is not responsible for any loss or damage arising in any way from its use

Yes :stuck_out_tongue:
Frankly, I think it can lead to greater stack consumption, but I have a 6 MB C++
driver code - and I was advocating against C++ in drivers.
I suggest using NuMega’s DriverWorks for C++ support, it definitely takes care of
virtually everything you don’t want to take care of. Alternately, there are small
libraries for C++ support in drivers, with much more limited capabilities.

Regards, Dejan.

kedar wrote:

Hi,

Could we use C++ classes inside file system filter drivers on Windows 2000
and XP?

Any information is helpful.

Thanks,
Kedar.


Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@alfasp.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


Kind regards, Dejan M.
http://www.alfasp.com E-mail: xxxxx@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32 developers.
Alfa File Monitor - File monitoring library for Win32 developers.

They have a C++ template specifically for an FSF now?

Raghwendra wrote:

Yes you can use it for sure. DriverWorks from compuware provides a base
template in c++ to write a file system filter driver.


Kind regards, Dejan M.
http://www.alfasp.com E-mail: xxxxx@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32 developers.
Alfa File Monitor - File monitoring library for Win32 developers.

yes and it makes life so simpler and gives you power of c++.

Raghwendra

----- Original Message -----
From: “Dejan Maksimovic”
To: “Windows File Systems Devs Interest List”
Sent: Tuesday, June 14, 2005 8:04 PM
Subject: Re: [ntfsd] Is C++ allowed in File system Filter drivers?

>
> They have a C++ template specifically for an FSF now?
>
> Raghwendra wrote:
>
> > Yes you can use it for sure. DriverWorks from compuware provides a base
> > template in c++ to write a file system filter driver.
>
> –
> Kind regards, Dejan M.
> http://www.alfasp.com E-mail: xxxxx@alfasp.com
> Alfa Transparent File Encryptor - Transparent file encryption services.
> Alfa File Protector - File protection and hiding library for Win32
developers.
> Alfa File Monitor - File monitoring library for Win32 developers.
>
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@mahindrabt.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

*
Disclaimer:
The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of MBT and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of MBT.

This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and MBT is not responsible for any loss or damage arising in any way from its use

Where is that? I see no specific example or anything in the DriverWizard that makes an FSF driver. Of course you can make a barebone driver and add FSF calls, but… that’s no more specific that C++ support.
NuMega planned to add a wizard specifically for FSF creation, I guess they decided not to due to Mini-filters.

Raghwendra wrote:

yes and it makes life so simpler and gives you power of c++.


Kind regards, Dejan M.
http://www.alfasp.com E-mail: xxxxx@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32 developers.
Alfa File Monitor - File monitoring library for Win32 developers.