|
I have two concerns about Dokan:
-you have to install its driver as administrator
-even when you do not use it for anything it still lingers around
I guess these are minor concerns though. I read some SMB (NetBIOS) specs and realized it indeed seems to be way way too complex for this.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Leela: Fry, you're wasting your life sitting in front of that TV. You need to get out and see the real world.
Fry: But this is HDTV. It's got better resolution than the real world <
>Nothing is free in the universe.<
|
|
|
|
|
The fact that it's open source alleviated any concerns about installing as admin ... or do you mean concerns for deploying to your customers ... yes, I could see that being an issue.
I don't think it uses much when idle ... on my machine the mounter service is using 928KB, 71 handles, and 4 threads with no FS mounted.
I am more concerned about the fact that it's open source means I have no idea how rigorous the testing has been on the code; however, it seems to be used by others who are providing commercial products that use it, so it can't be that bad.
For me it's a good starting point. I can focus on the FS part of the code. Later if I find bugs in dokan, want more performance, want more control, then I can look at writing the kernal part myself.
...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
|
|
|
|
|
cmk wrote: The fact that it's open source alleviated any concerns about installing as admin ... or do you mean concerns for deploying to your customers ... yes, I could see that being an issue.
-that's what i meant
About the lingering, it's really nothing serious, it's just an "eccentric" thing of me, i can live with it.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Leela: Fry, you're wasting your life sitting in front of that TV. You need to get out and see the real world.
Fry: But this is HDTV. It's got better resolution than the real world <
>Nothing is free in the universe.<
|
|
|
|
|
What you are looking for is not an shell extension handler, but a shell namespace extension:
MSDN 1[^]
MSDN 2[^]
CodeProject[^]
It's been years since I looked into this, and at least back then, it was a pain - lots of low level COM handling, lots of unexpected (and unexplained, but probably necessary) behavior on the side of explorer, etc. However, I've seen better samples and utilities that make that easier.
|
|
|
|
|
I'll check this option too, thank you very much.
[EDIT] So i googled around some and found out that namespace extensions won't do for my case, e.g. here[^] they talk about it, you can's load/save the virtual items in a namespace extension (only by some hacky means), if you read my other post here[^], you'll understand what i mean.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Leela: Fry, you're wasting your life sitting in front of that TV. You need to get out and see the real world.
Fry: But this is HDTV. It's got better resolution than the real world <
>Nothing is free in the universe.<
modified on Wednesday, December 29, 2010 8:07 AM
|
|
|
|
|
The find in files toolbar disappeared.How could I get it back? I could only use the menu or "ctrl+shift+F" now.
Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727 SP1
|
|
|
|
|
Right click on your toolbar and select the options you want.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
In dialog box application i remove system menu(close,minimize and maximize buttons and title bar) from dialog.Add my own button for minimize. And write code for button click SENDmESSAGE(ws_minimize,0,0). After clicking on button dialog hides from desktop but does not appear on task bar. How to show the exe icon at task bar.
Since title bar is removed how to drag the dialog if i have any label at top top of dialog.
|
|
|
|
|
i didn't understand fully ur question,anyway check out the WM_NCHITTEST message.you can make ur windows client area as a titlebar easily with this.
hopes this helps
If u can Dream... U can do it
|
|
|
|
|
Thanks
NCHITTEST works fine.
About the first problem let me explain.
I create a dialog base application. on first dialog there is a button. When i click on that button, i display second dialog and hide first dialog. When second dialog display and i minimize it, the exe does not display at task bar. Can i do something to display exe at task bar for that case?
|
|
|
|
|
If you removed the title bar and want to move your window, you will have to do it when you get a WM_MOUSEMOVE message if the mouse button is pressed.
The procedure goes something like this:
When you get a WM_LBUTTONDOWN message you save the mouse cursor position. When you get a WM_MOUSEMOVE you calculate how much the cursor has moved and
move the window accordingly. When you get a WM_LBUTTONUP you do the cleanup.
Hope this helps.
Aritosteles
|
|
|
|
|
Hello Friends
I want to use Marshal.Copy method of NameSpace System.Runtime.InteropServices In VC6.0.
What Do I need to include?
Regards
Yogesh
|
|
|
|
|
you can't
for a simple copy, use an appropriate native function, such as memcpy .
|
|
|
|
|
Thanks A Lot.Luc.It works.
Regards
Yogesh
|
|
|
|
|
Hello Luc,
I am trying to copy BitmapData to Byte array by using memcpy but my destination of byte array is coming with Zeros only.
Any ideas?Why?
Regards
Yogesh
|
|
|
|
|
Hello,
I need help in using MfcMenuButton, I added such a button to my project,
but I can't find how to add the menu to this button ,if somebody know how doing it and can write me the way to do it step by step ,I will vary appreciate it.
thanks
|
|
|
|
|
CMFCMenuButton bt;
//.....
bt.Create( _T("Click me"),WS_CHILD | WS_VISIBLE,CRect(100,100,170,130),this,ID_BTN )
// do something
// Load menu from resource using CMenu .
bt.m_hMenu = m_YourMenuHandle.
http://msdn.microsoft.com/en-us/library/bb983215.aspx[^]
If u can Dream... U can do it
|
|
|
|
|
Hi All,
I am having 2 exe . How can I use operating system architecture to set event in one process so that I can notify another process. Will there be any publisher/subscriber? Is there any link or article which can provide me complete knowledge of this. I googled unsuccessfully
|
|
|
|
|
Have a look at the functions CreateEvent, SetEvent, and WaitForSingleObject.
|
|
|
|
|
Hi all,
I am trying to run my application.It is building successfuly.
But i am getting run time error as...
Debug Assertion Failed! f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\occcont.cpp
please can anyone tell me,what may be the problem.
Thanks
Raj
|
|
|
|
|
There might be N reasons for the assertion, some are mentioned below:
1. You might be accessing an out of bound array element
2. Your application is showing a message box due to the ASSERT statement
3. Your code is trying to access an uninitialized memory/pointer
Why don't you debug your application and figure this out?
I am a HUMAN. I have that keyword (??? too much) in my name........
_AnsHUMAN_b>
|
|
|
|
|
Hi sir,
Thanks for your reply.Its working fine is some system.
I am trying with a fresh system(installed Windows XP and VS 2005),there i am getting this error.
BOOL CTestApp::::InitInstance()
{
if (!ProcessShellCommand(cmdInfo))
return FALSE;
}
Thanks
Raj
modified on Monday, December 27, 2010 2:59 AM
|
|
|
|
|
What are the contents of cmdInfo variable?
Is this initialized?
I am a HUMAN. I have that keyword (??? too much) in my name........
_AnsHUMAN_b>
|
|
|
|
|
HI sir,
Yes it is initilized.
here it is..
BOOL CTestApp::::InitInstance()
{
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
if (!ProcessShellCommand(cmdInfo))
return FALSE;
}
Thanks
Raj
|
|
|
|
|