'Delphi6 Application throwing "Runtime Error 217"
Scenario of my problem is, I am working with three PCs , those are LIVE (OS Ver: Windows 2003 Server R2) , TEST (OS Ver: windows 2012 r2) and USER (OS Ver: Windows 7) PC respectively.
I have placed same applications in F-Drive of LIVE and TEST machines.
Trail - 1 : I mapped LIVE machine's F-Drive to USER PC and tried to run those Delphi6 application in USER PC. Ran well.
Trail - 2 : I mapped TEST machine's F-Drive to USER PC and tried to run those Delphi6 application in USER PC. Then only one application is running well and two of applications raising an error as "Runtime Error 217".
Thanks in advance.
Solution 1:[1]
Runtime error 217 is thrown when an unhandled exception is raised before the exception handling framework is installed at startup, or after it is removed at shutdown.
As to why there is an unhandled exception you will need to do some debugging to find out.
Solution 2:[2]
if your application uses Type Library, make sure to add in project file {$R *.TLB} to have it linked to executable.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | David Heffernan |
| Solution 2 | dima |
