Quote: "That is a bug with the GDK. I can't fix it."
I know that, but im a new member so there is a waiting time from me posting till it ends up here
My message was directed to Apex.
@Apex: The unhandled exception says something about the COM object has disconnected and returned an unhandled HResult. It doesnt happen everytime, but my guess is that when you press escape, the DGDK disconnects before the loop finishes and then the DGDK command on whatever line it disconnected on fails to execute.
The error happens more often if theres more code in the loop.
Heres a screenshot (I'm from Denmark btw):
Basically, the danish part of the message means:
The object has disconnected its clients.
As you can see, this is just the spinning cube with a little extra computing time
Proud member of The Unforgiven Warriors
http://www.tuwguild.com