Click here to Skip to main content
15,888,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CryptoAPI Help Pin
ganesh_IT27-Dec-10 23:28
ganesh_IT27-Dec-10 23:28 
QuestionLink error Pin
mesajflaviu27-Dec-10 10:34
mesajflaviu27-Dec-10 10:34 
AnswerRe: Link error Pin
T210227-Dec-10 15:07
T210227-Dec-10 15:07 
GeneralRe: Link error Pin
mesajflaviu28-Dec-10 10:00
mesajflaviu28-Dec-10 10:00 
AnswerRe: Link error Pin
Luc Pattyn27-Dec-10 15:35
sitebuilderLuc Pattyn27-Dec-10 15:35 
AnswerRe: Link error Pin
mesajflaviu27-Dec-10 20:51
mesajflaviu27-Dec-10 20:51 
QuestionCDialog::OnInitDialog() Asserting Pin
aritosteles27-Dec-10 8:44
aritosteles27-Dec-10 8:44 
AnswerRe: CDialog::OnInitDialog() Asserting Pin
Richard MacCutchan27-Dec-10 22:24
mveRichard MacCutchan27-Dec-10 22:24 
QuestionConfusion about virtual files and folders. Pin
Code-o-mat27-Dec-10 3:41
Code-o-mat27-Dec-10 3:41 
AnswerRe: Confusion about virtual files and folders. Pin
cmk27-Dec-10 8:46
cmk27-Dec-10 8:46 
GeneralRe: Confusion about virtual files and folders. Pin
Code-o-mat27-Dec-10 9:51
Code-o-mat27-Dec-10 9:51 
GeneralRe: Confusion about virtual files and folders. Pin
cmk27-Dec-10 11:00
cmk27-Dec-10 11:00 
GeneralRe: Confusion about virtual files and folders. Pin
Code-o-mat27-Dec-10 11:05
Code-o-mat27-Dec-10 11:05 
GeneralRe: Confusion about virtual files and folders. Pin
Code-o-mat29-Dec-10 5:22
Code-o-mat29-Dec-10 5:22 
GeneralRe: Confusion about virtual files and folders. Pin
cmk29-Dec-10 10:04
cmk29-Dec-10 10: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 11:03
Code-o-mat29-Dec-10 11:03 
GeneralRe: Confusion about virtual files and folders. Pin
cmk29-Dec-10 11:16
cmk29-Dec-10 11:16 
GeneralRe: Confusion about virtual files and folders. Pin
Code-o-mat29-Dec-10 11:22
Code-o-mat29-Dec-10 11:22 
AnswerRe: Confusion about virtual files and folders. Pin
peterchen28-Dec-10 8:53
peterchen28-Dec-10 8:53 
GeneralRe: Confusion about virtual files and folders. [modified] Pin
Code-o-mat29-Dec-10 0:43
Code-o-mat29-Dec-10 0:43 
Questionvc2005,Find in Files Toolbar lost Pin
Tcpip200527-Dec-10 2:01
Tcpip200527-Dec-10 2:01 
AnswerRe: vc2005,Find in Files Toolbar lost Pin
Richard MacCutchan27-Dec-10 22:24
mveRichard MacCutchan27-Dec-10 22:24 
Questionshow exe at task bar after minimize Pin
MKC00226-Dec-10 22:59
MKC00226-Dec-10 22:59 
AnswerRe: show exe at task bar after minimize Pin
jk chan26-Dec-10 23:12
jk chan26-Dec-10 23:12 
GeneralRe: show exe at task bar after minimize Pin
MKC00228-Dec-10 23:11
MKC00228-Dec-10 23:11 

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.