Thanks for the new header generator. I no longer get the const_str error. I am now getter an access error to the engine.dll. I am still trying to figure it out. I must be doing something wrong. If I comment the following lines out of the leadwerks.pas file I at least get a window to open up:
LEPositionEntity (entity, position, global);
Result := LECreateSpotLight (range, parent);
LERotateEntity (entity, angle, global);
Result := LELoadMaterial (name);
Result := LECreateCube (parent);
LEPaintEntity (entity, material, recursive);
LEScaleEntity (entity, scale);
Result := LECreateDirectionalLight (parent);
LETurnEntity (entity, angle, global);
LEUpdateFramework;