KernelBase.dll DeviceIoControl Exception

Discussions related to Visual Prolog
dominique f pannier
VIP Member
Posts: 98
Joined: 23 Sep 2002 23:01

KernelBase.dll DeviceIoControl Exception

Unread post by dominique f pannier » 20 Oct 2014 13:58

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.
Exception.jpg (214.3 KiB) Viewed 2053 times
Dominique Pannier

User avatar
Thomas Linder Puls
VIP Member
Posts: 1681
Joined: 28 Feb 2000 0:01

Unread post by Thomas Linder Puls » 22 Oct 2014 10:44

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.
Regards Thomas Linder Puls

Post Reply