Link to home
Start Free TrialLog in
Avatar of IT79637
IT79637Flag for United States of America

asked on

How to fix Delphi error message program or unit recursively uses itself?

I'm getting the following error message:
[Fatal Error] Program or unit 'ImageDisplay' recursively uses itself.

I tried to "Build" the project, but that did not work.

The program is an automation server with the following pas files:

ufrmImageDisplay.pas -- main form, see image in zip file
ufrmMagnify.pas --  this is a popup window on the main form, see "flying magnifier" on image in zip file.
ImageDisplayIntf.pas -- automation server module where methods can be called.
ImageDisplay_TLB.pas  -- defined methods for external programs to call.

The attached zip file contains the complete pas files, dpr and a screen shot of the program.
ImageDisplay.zip
ASKER CERTIFIED SOLUTION
Avatar of Geert G
Geert G
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial