It is a very good idea to edit the project to get rid of this dependency.
People do want vdisk and not some sophisticated string handling with external deps to unstable projects.
If the project is GPL - then this is legal.
–
Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com
wrote in message news:xxxxx@ntfsd…
> Hello
>
> I have a question regarding the ?virtual disk for windows? project published by Gena Marianichenko: (http://www.codeproject.com/Articles/58950/How-to-develop-a-virtual-disk-for-Windows)
> I tried to compile this project on a XP computer using VS2008 (+DDK3790 +BOOST) as recommended but while building of the driver I got some error messages like: Cannot open include file: ??/crt/cstring? -> #include _STLP_NATIVE_CPP_C_HEADER(cstring).
> Those error’s are related to the STLport library which comes along as a part of the project. I would be very happy if someone could give a hint how to avoid those error’s.
>
> Best Regards,
> Matthias
>
>
I took a look, that code has assembly that does “OS/2 2.0 exception
handling” in the kernel among other weird things. I would recommend that you
start out with something supported instead, perhaps the RamDisk sample in
the WDK might fit.
//Daniel
wrote in message news:xxxxx@ntfsd…
> Hello
>
> I have a question regarding the ?virtual disk for windows? project
> published by Gena Marianichenko:
> (http://www.codeproject.com/Articles/58950/How-to-develop-a-virtual-disk-for-Windows)
Thank you very much ? @Daniel: I agree. (I tried to remove all the ?wired? exception handling and I also tried to exchange STLport against Standard Template Library ? in the end it compiled without errors but I didn?t got the lib- files linked properly ? I quit this trial).
In the mean time I found the filedisk ? example (http://www.acc.umu.se/~bosse/) instead and hope to get it somehow adapted to my XP- related problem.
The RamDisk example looks very interestingly but unfortunately it seems to be only compatible with Win7 or higher. Do you think whether it can be build with WDK7600 KMDF ?
Best Regards,
Matthias
>In the mean time I found the filedisk ? example
(http://www.acc.umu.se/~bosse/) instead and hope to get it >somehow adapted
to my XP- related problem.
I believe that sample has at least part of the same code and it’s
controversial too. Check the archives on it. The RamDisk sample works on on
every Windows version since Windows 2000.
//Daniel
Thank you very much - I tried the ramdisk example and it worked very well.
This is a good starting point for modification and studying. Unfortunately
the filedisk example didn’t worked et al because of a problem in the user
mode function “FileDiskMount”. The second call of createfile failed while
creating the file “\.\f:” due to “file not found exception”. The driver
itself seemed to start correctly because it throws kdprint messages which
I added to the driverEntry and to the subsequent functions. I was thinking
whether the imagefile.img on the hd drive in the filedisk example might be replaced by a pipe
to connect the kernel-mode directly with a piece of usermode- memory.
Best Regards,
Matthias
Avoid FileDisk it is stolen software as has been discussed many times on the
NTDEV forum. As such you could be opening yourself and anyone using your
work to legal action. In general if it has Mr Branton’s name anywhere near
it assume the software was ripped off from its rightful owner.
Don Burn
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@alumni.tu-berlin.de
Sent: Thursday, November 06, 2014 3:24 PM
To: Windows File Systems Devs Interest List
Subject: RE:[ntfsd] Re: Gena Marianichenko?s virtual disk for windows
Thank you very much - I tried the ramdisk example and it worked very well.
This is a good starting point for modification and studying. Unfortunately
the filedisk example didn’t worked et al because of a problem in the user
mode function “FileDiskMount”. The second call of createfile failed while
creating the file “\.\f:” due to “file not found exception”. The driver
itself seemed to start correctly because it throws kdprint messages which I
added to the driverEntry and to the subsequent functions. I was thinking
whether the imagefile.img on the hd drive in the filedisk example might be
replaced by a pipe to connect the kernel-mode directly with a piece of
usermode- memory.
Best Regards,
Matthias
NTFSD is sponsored by OSR
OSR is hiring!! Info at http://www.osr.com/careers
For our schedule of debugging and file system seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
@Don I didn?t know that this code is atually stolen (I searched with the wrong term (“Marianichenko”) so didn?t saw anything) - however I thought already that something might be strange because of lack of any code specific discussion in the code-project page and anywhere else. Additionally aprorit offers officially ?reverse engineering? and since Marianichenko states “The implementation of virtual disk for Windows can also be found in the widely known project with open sources FileDisk (http://www.acc.umu.se/~bosse/ ).” someone (highly) respected might add a note to the discussion forum in (http://www.codeproject.com/Articles/58950/How-to-develop-a-virtual-disk-for-Windows) regarding that stolen code.
Best Regards,
Matthias