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

KernelBase.dll DeviceIoControl Exception

Unread post 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.
Attachments
Exception.jpg
Exception.jpg (214.3 KiB) Viewed 5471 times
Regards
Dominique Pannier
User avatar
Thomas Linder Puls
VIP Member
Posts: 1398
Joined: 28 Feb 2000 0:01

Unread post 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.
Regards Thomas Linder Puls
PDC
Post Reply