Click here to Skip to main content
15,120,556 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CDialog::OnInitDialog() Asserting Pin
Richard MacCutchan27-Dec-10 23:24
mveRichard MacCutchan27-Dec-10 23:24 
QuestionConfusion about virtual files and folders. Pin
Code-o-mat27-Dec-10 4:41
MemberCode-o-mat27-Dec-10 4:41 
AnswerRe: Confusion about virtual files and folders. Pin
cmk27-Dec-10 9:46
Membercmk27-Dec-10 9:46 
GeneralRe: Confusion about virtual files and folders. Pin
Code-o-mat27-Dec-10 10:51
MemberCode-o-mat27-Dec-10 10:51 
GeneralRe: Confusion about virtual files and folders. Pin
cmk27-Dec-10 12:00
Membercmk27-Dec-10 12:00 
GeneralRe: Confusion about virtual files and folders. Pin
Code-o-mat27-Dec-10 12:05
MemberCode-o-mat27-Dec-10 12:05 
GeneralRe: Confusion about virtual files and folders. Pin
Code-o-mat29-Dec-10 6:22
MemberCode-o-mat29-Dec-10 6:22 
GeneralRe: Confusion about virtual files and folders. Pin
cmk29-Dec-10 11:04
Membercmk29-Dec-10 11:04 
As far as I can tell, you have to write code to handle file CRUD requests no matter how you do it ... six of one, half-dozen of the other.

So far the Dokan still looks easiest, it looks like the main dev points are:
1. Write thread-safe functions specified in DOKAN_OPERATIONS e.g. CreateFile, ReadFile, ...
2. Pass an instance of DOKAN_OPERATIONS with pointers set to your functions, and DOKAN_OPTIONS with info on how you want to mount your FS, to the driver via DokanMain. This will also mount your FS.
3. Call DokanUnmount when done with FS.

I still have to work through the nuances of mounting/unmounting via: my app, dokanctl, dokan mounter, ...

Notes:
- Although Dokan comes with both x86 and x64 drivers, it looks like the user dll is x86. This means your app must be compiled for x86.
- The Dokan API does support files > 2GB.
- Test your app FS in a virtual machine, if you made a mistake it can totally hose your system.
...cmk

The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying.
- John Carmack

GeneralRe: Confusion about virtual files and folders. Pin
Code-o-mat29-Dec-10 12:03
MemberCode-o-mat29-Dec-10 12:03 
GeneralRe: Confusion about virtual files and folders. Pin
cmk29-Dec-10 12:16
Membercmk29-Dec-10 12:16 
GeneralRe: Confusion about virtual files and folders. Pin
Code-o-mat29-Dec-10 12:22
MemberCode-o-mat29-Dec-10 12:22 
AnswerRe: Confusion about virtual files and folders. Pin
peterchen28-Dec-10 9:53
Memberpeterchen28-Dec-10 9:53 
GeneralRe: Confusion about virtual files and folders. [modified] Pin
Code-o-mat29-Dec-10 1:43
MemberCode-o-mat29-Dec-10 1:43 
Questionvc2005,Find in Files Toolbar lost Pin
Tcpip200527-Dec-10 3:01
MemberTcpip200527-Dec-10 3:01 
AnswerRe: vc2005,Find in Files Toolbar lost Pin
Richard MacCutchan27-Dec-10 23:24
mveRichard MacCutchan27-Dec-10 23:24 
Questionshow exe at task bar after minimize Pin
MKC00226-Dec-10 23:59
MemberMKC00226-Dec-10 23:59 
AnswerRe: show exe at task bar after minimize Pin
jk chan27-Dec-10 0:12
Memberjk chan27-Dec-10 0:12 
GeneralRe: show exe at task bar after minimize Pin
MKC00229-Dec-10 0:11
MemberMKC00229-Dec-10 0:11 
AnswerRe: show exe at task bar after minimize Pin
aritosteles27-Dec-10 9:51
Memberaritosteles27-Dec-10 9:51 
QuestionMarshal.Copy Method?? Pin
002comp26-Dec-10 22:47
Member002comp26-Dec-10 22:47 
AnswerRe: Marshal.Copy Method?? Pin
Luc Pattyn26-Dec-10 23:41
sitebuilderLuc Pattyn26-Dec-10 23:41 
GeneralRe: Marshal.Copy Method?? Pin
002comp27-Dec-10 1:12
Member002comp27-Dec-10 1:12 
GeneralRe: Marshal.Copy Method?? Pin
002comp27-Dec-10 22:53
Member002comp27-Dec-10 22:53 
QuestionMfcMenuButton Pin
aangerma26-Dec-10 22:22
Memberaangerma26-Dec-10 22:22 
AnswerRe: MfcMenuButton Pin
jk chan26-Dec-10 22:56
Memberjk chan26-Dec-10 22:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.