Click here to Skip to main content
15,903,834 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: If CListCtrl created by LVS_REPORT, can change it to the LVS_SMALLICON? Pin
Richard MacCutchan27-Dec-10 22:20
mveRichard MacCutchan27-Dec-10 22:20 
GeneralRe: If CListCtrl created by LVS_REPORT, can change it to the LVS_SMALLICON? Pin
yu-jian27-Dec-10 22:37
yu-jian27-Dec-10 22:37 
GeneralRe: If CListCtrl created by LVS_REPORT, can change it to the LVS_SMALLICON? Pin
jk chan27-Dec-10 22:54
jk chan27-Dec-10 22:54 
GeneralRe: If CListCtrl created by LVS_REPORT, can change it to the LVS_SMALLICON? Pin
yu-jian28-Dec-10 18:00
yu-jian28-Dec-10 18:00 
GeneralRe: If CListCtrl created by LVS_REPORT, can change it to the LVS_SMALLICON? Pin
Richard MacCutchan28-Dec-10 1:03
mveRichard MacCutchan28-Dec-10 1:03 
GeneralRe: If CListCtrl created by LVS_REPORT, can change it to the LVS_SMALLICON? Pin
yu-jian28-Dec-10 17:58
yu-jian28-Dec-10 17:58 
QuestionCryptoAPI Help Pin
ganesh_IT27-Dec-10 20:40
ganesh_IT27-Dec-10 20:40 
AnswerRe: CryptoAPI Help Pin
Niklas L27-Dec-10 21:24
Niklas L27-Dec-10 21:24 
GeneralRe: CryptoAPI Help Pin
ganesh_IT27-Dec-10 22:12
ganesh_IT27-Dec-10 22:12 
GeneralRe: CryptoAPI Help Pin
Niklas L27-Dec-10 23:14
Niklas L27-Dec-10 23:14 
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

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.