Wine compatibility
Posted: Sun Sep 14, 2014 1:03 pm
Hi!
Currently R-Studio Undelete crashes under Wine (ostensibly trying to get direct access to partitions).
Please, if it's not too difficult/not too time consuming, make it compatible with Wine.
Actually, I guess, it's pretty easy to accomplish,
if (ntdll exports the function wine_get_version) {
directIO=false;
} else {
directIO=true;
}
Then later in the code, run directIO routines only if directIO is true.
If you are curious as to why Linux/Wine users might need it, it's because R-Studio Undelete can open drive images and it's very easy in Linux (/dev/sd* /dev/md* devices).
Thank you.
// b.
Currently R-Studio Undelete crashes under Wine (ostensibly trying to get direct access to partitions).
Please, if it's not too difficult/not too time consuming, make it compatible with Wine.
Actually, I guess, it's pretty easy to accomplish,
if (ntdll exports the function wine_get_version) {
directIO=false;
} else {
directIO=true;
}
Then later in the code, run directIO routines only if directIO is true.
If you are curious as to why Linux/Wine users might need it, it's because R-Studio Undelete can open drive images and it's very easy in Linux (/dev/sd* /dev/md* devices).
Thank you.
// b.