XLSReadWriteII5 does not compile in Console, Service, or ISA
Posted: Wed Sep 10, 2014 5:49 pm
XLSReadWriteII5 does not compile in Console, Service, or ISAPI applications due to the compiler not finding the Graphics unit. This works ok in a VCL application but appears that in console apps you must preceded the unit name with "VCL.".
Please fix soon because my excel code is in a VCL, Console, and ISAPI DLL - currently I am only able to compile the VCL Desktop app and not the others preventing me to move on.
Sample that does not compile:
Please fix soon because my excel code is in a VCL, Console, and ISAPI DLL - currently I am only able to compile the VCL Desktop app and not the others preventing me to move on.
Sample that does not compile:
Code: Select all
program Project9;
{$APPTYPE CONSOLE}
{$R *.res}
uses
System.SysUtils, XLSReadWriteII5;
begin
try
{ TODO -oUser -cConsole Main : Insert code here }
except
on E: Exception do
Writeln(E.ClassName, ': ', E.Message);
end;
end.