Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Delphi 7, Windows 8.1 and Runtime error 216


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Last Post: Jan 5, 2015 7:18 AM Last Post By: Marcin Bury
Marcin Bury

Posts: 13
Registered: 1/18/02
Delphi 7, Windows 8.1 and Runtime error 216  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 1, 2015 10:09 AM
Hello everybody

First of all - Happy New Year ;-)

I have installed Delphi 7 in Windows 8.1 recently. All third party components I use and their sources, were taken from working D7 installation in Windows 7 and most of them were installed from bpls copied from Win 7 machine.
I'm able to compile projects, applications run fine. The problem I have is that when I close the application (while debugging) EAccessViolation exception raises. It doesn't take place when I compile same project on Win 7 machine. Since the call stack window is empty, I'm 'lost in the dark' a bit.
When the application is run outside the debugger it reports Runtime Error 216
I used EurekaLog to try to identify the source of this exception. The only thing EurekaLog shows is:
Call Stack Information:
------------------------------------------------------------------------------------------------------
|Methods |Details|Stack   |Address |Module      |Offset  |Unit    |Class|Procedure/Method   |Line    |
------------------------------------------------------------------------------------------------------
|*Exception Thread: ID=60384; Parent=0; Priority=0                                                   |
|Class=; Name=MAIN                                                                                   |
|DeadLock=0; Wait Chain=                                                                             |
|Comment=                                                                                            |
|----------------------------------------------------------------------------------------------------|
|7FFFFFFE|03     |00000000|0040526C|Spedytor.exe|0000526C|System  |     |FinalizeUnits      |        |
|00000020|03     |0018FF60|00405555|Spedytor.exe|00005555|System  |     |_Halt0             |        |
|00000020|04     |0018FF78|00B5D0B9|Spedytor.exe|0075D0B9|Spedytor|     |Initialization     |207[10] |
|00000020|03     |0018FF90|74C8919D|kernel32.dll|0001919D|KERNEL32|     |BaseThreadInitThunk|        |
------------------------------------------------------------------------------------------------------
 


Can anybody point me the directions where I could look further to eliminate the problem. I'll be more than happy to provide more information if needed.

Thanks
Marcin
Markus Humm

Posts: 5,113
Registered: 11/9/03
Re: Delphi 7, Windows 8.1 and Runtime error 216  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 4, 2015 9:04 AM   in response to: Marcin Bury in response to: Marcin Bury
Am 01.01.2015 um 19:09 schrieb Marcin Bury:
Hello everybody

First of all - Happy New Year ;-)

I have installed Delphi 7 in Windows 8.1 recently. All third party components I use and their sources, were taken from working D7 installation in Windows 7 and most of them were installed from bpls copied from Win 7 machine.
I'm able to compile projects, applications run fine. The problem I have is that when I close the application (while debugging) EAccessViolation exception raises. It doesn't take place when I compile same project on Win 7 machine. Since the call stack window is empty, I'm 'lost in the dark' a bit.
When the application is run outside the debugger it reports Runtime Error 216
I used EurekaLog to try to identify the source of this exception. The only thing EurekaLog shows is:
Call Stack Information:
------------------------------------------------------------------------------------------------------
|Methods |Details|Stack   |Address |Module      |Offset  |Unit    |Class|Procedure/Method   |Line    |
------------------------------------------------------------------------------------------------------
|*Exception Thread: ID=60384; Parent=0; Priority=0                                                   |
|Class=; Name=MAIN                                                                                   |
|DeadLock=0; Wait Chain=                                                                             |
|Comment=                                                                                            |
|----------------------------------------------------------------------------------------------------|
|7FFFFFFE|03     |00000000|0040526C|Spedytor.exe|0000526C|System  |     |FinalizeUnits      |        |
|00000020|03     |0018FF60|00405555|Spedytor.exe|00005555|System  |     |_Halt0             |        |
|00000020|04     |0018FF78|00B5D0B9|Spedytor.exe|0075D0B9|Spedytor|     |Initialization     |207[10] |
|00000020|03     |0018FF90|74C8919D|kernel32.dll|0001919D|KERNEL32|     |BaseThreadInitThunk|        |
------------------------------------------------------------------------------------------------------
 


Can anybody point me the directions where I could look further to eliminate the problem. I'll be more than happy to provide more information if needed.

Thanks
Marcin

Hello,

1. do you run Delphi as Admin? if not what happens if you do?

2. It might finally be time to shelve D7 and move to a newer
version... ;-)

Greetings

Markus
Marcin Bury

Posts: 13
Registered: 1/18/02
Re: Delphi 7, Windows 8.1 and Runtime error 216  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 5, 2015 7:18 AM   in response to: Markus Humm in response to: Markus Humm
Markus

1. do you run Delphi as Admin? if not what happens if you do?
I do. It does not change anything when I run Delphi without Admin rights


2. It might finally be time to shelve D7 and move to a newer
version... ;-)
D7 is only for legacy applications (I have three of them), for daily work I use XE7.

Any other options?

Thx
Marcin
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02