Hi , I have problem with run program with nondll package.
I used PivotCube with zcube.DLL and I want to replace with NONdll package.
I have Delphi7 and PivotCube v. 7.4.1.1 (in older version I have similar problem).
Just to be sure I installed delphi in clear computer with WinXPP and passed along your directions in readme.txt.
1. Move to NONDLL directory -- I unpacked my souces to c:\Program Files\PivotCube VCL\
2. COpy (if required) files from DELPHI5 or DELPHI6 to NONDLL-- Skiped this (I have D7)
3. Set IDE Library path to NONDLL directory. Be sure you have not IDE Library path to standard PivotCube VCL -- made
4. Open pivotcube.dpk. For Delphi 2005/2006 choose Win32 -- I opened c:\Program Files\PivotCube VCL\nondll\delphi7\pivotcube.dpk
5. IF YOU BUILD PACKAGE as RUNTIME package, remove designide.bpl from packages list!!! --skiped I build without runtime package
6. Compile package --ok
7. Install package --ok
up to now fully corect...
Then I create simple program with Cube, Map and Grid (or only Pivot Cube). In delphi i compile and run program with no problem. But when I make build project, then I cannot run my program.
error: Project Project1.exe raised exception class EOleSysError with message "error reading typed library or DLL". ProcessStoped...
when I continue then it show message Runtime error 217 as 0047A1B1 and terminate my program.
Error raised in Measure_SRC.pas at line 704
initialization
{$IFNDEF _NONDLL}
TAutoObjectFactory.Create(ComServer, TMeasure, Class_Measure,
ciMultiInstance, tmApartment); //<-here is my error
{$ENDIF}
end.
Do you have any idea, what's wrong or where I made mistake?
Thanks