Page 1 of 1

KernelBase.dll DeviceIoControl Exception

Posted: 20 Oct 2014 13:58
by dominique f pannier
Hi,
I get that exception only on debug mode.
When continuing, the behavior of the program is totally normal.
This code is a part of my project :

Code: Select all

openProject():-         sauvegardeOK := false(),         PersoDir = directory::getLogicalDirectory(directory::personal_directoryID),         MSDir = format("%\\%", PersoDir, dataFolder),         FileName = vpiCommonDialogs::getFileName("*.kmu", ["kmu files", "*.kmu"], "Projets Menu Studio", [], MSDir, _), !,
The first time the vpiCommonDialogs::getFileName predicate is called, no exception.
If I close the project (in my project), and re-open a new one, at the second call of getFileName, an exception is raised.
When broken, it gives the following code, which lets me think that it's an IO issue.

That has no importance for me given that at the runtime, it's totally transparent. But if it can help, I joined this part of the disassembly code. IF you need more, tell me.

Posted: 22 Oct 2014 10:44
by Thomas Linder Puls
The exception is both raised and handled by Windows. The behavior is completely normal.

To the debugger it does however look like a non-handled exception that should be shown. So you can safely ignore the exception.