Hi guys,
I tried to generate delphi headers with Wchris his tools and tried to PM him (no answer yet). But I bet there are a few couple more Delphi experts here who could help me out.
Whenver I try to compile LeadWerks.pas I get around 15 times the same compilation error, which is: [DCC Error] E2026 Constant expression expected.
It happens on lines which contain a PAnsiChar constant. Specifically the ones with a ='VALUE' behind it. Removing these does make the sourcecode compile, but it's not a good solution since it removes the default values.
procedure LESetEntityKey ( entity:TEntity; hkey:PAnsiChar; hvalue:PAnsiChar='1' ); stdcall; external ENGINE_DLL name 'SetEntityKey';
Also, I don't know if it's related to this. But my test application also gives a can't open scripts/class error when I load a scene. And a crash (not related to the scene loading) on application close related to atioglxx.dll (Win7 x64, HD4870 with Catalyst drivers 10.3)
Any help with this would be great.
- Ywa