JangJeewon / dokan

Automatically exported from code.google.com/p/dokan
0 stars 0 forks source link

DokanNet DokanDriverVersion() throws exception #198

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Put the following code into the .Net (0.6.0) Mirror example just before the 
DokanMain mount call

Console.WriteLine(string.Format("DokanVersion:[{0}], DokanDriverVersion[{1}]", 
DokanNet.DokanVersion(), DokanNet.DokanDriverVersion()));

2. Compile and run the app in the IDE
3. The Call to the DokanNet.DokanVersion Works

What is the expected output? 
Call to DokanNet.DokanDriverVersion() to return a valid value

What do you see instead?
An Exception stating that the API does not exist
(See attached image)

What version of the product are you using? 
This was in 0.5.3 and still in 0.6.0

On what operating system?
Any

Please provide any additional information below.
See picture

Original issue reported on code.google.com by smurf...@gmail.com on 14 Jan 2011 at 7:51

Attachments:

GoogleCodeExporter commented 9 years ago
- Found the issue..
the code needs to be changed to use the correct name of the Internal API (There 
is a missing "r" in the .Net Import)

So it becomes DokanDll.DokanDriverVersion();

- So this leads onto to why it returns 400 for Version 0.6.0 ??

Original comment by smurf...@gmail.com on 14 Jan 2011 at 8:06

GoogleCodeExporter commented 9 years ago
Thank you for your report. Fixed by 
http://code.google.com/p/dokan/source/detail?r=183

Original comment by asa...@gmail.com on 16 Jan 2011 at 12:17