Skip to Content
Former Member
Nov 29, 2007 at 11:14 PM

It hangs at the line: FreeLibrary(CRDEngine) in Delphi 7 VCL for CR XI R2


Post Author: d111

CA Forum: General

Does anyone know why I can't close the Delphi 7 VCL and it hangs forever when trying to unload the DLL?

If I call some Export functions it will do this.

I did have to put the crpe32.dll in my application path, as it was the only way I could get my applicaiton to compile.

I also have Visual Studio 2005.NET on my machine that is working fine with CR. But with Delphi 7 I am having issues.


// Setup and clear report data // -

Crpe1.CloseJob; // equivalent to setting ReportName to '' to force a clear - in case previous report had same name Crpe1.ReportName := reportName; // if same reportname as previous, it will not clear out some report data Crpe1.DiscardSavedData; // If "DiscardSavedData" is called - the DLL will not unload but hang on close. but so will an export...