<html><head></head><body><div style="font-family:times new roman, new york, times, serif;font-size:13px;"><div><div>Hi Mattias</div><div><br></div><div>As you suggested last week, I have tried to add the Pas2JS design add on “components/pas2js/pas2jsdsgn.lpk” into Lazarus.</div><div><br></div><div>I did this after running FPCUpDelux to install the trunk versions of FPC and Lazarus as well as after downloading the RTL package from https://svn.freepascal.org/svn/projects/pas2js/trunk as recommended in the Pas2JS wiki.</div><div><br></div><div>The package “pas2jsdsgn” compiles and installs but when I create a 'Web Browser Application' project this will not compile unless the package pas2js_rtl is downloaded . After this is done, the RTL package will not compile without asking for “Pas2JS.exe”.   We have placed a version of “Pas2JS.exe” in the project folder but it is not clear if this is the specific version needed. Having done this, the project still will not compile (Fatal: Compilation aborted) so we have not been able to use this option to explore your latest demos.</div><div><br></div><div>Any suggestions on how to get this working?</div><div><br></div><div>As I was stuck on “Plan A” I tried plan B which is to directly include the PAS2JSCompiler, Pas2jsLogger, and Pas2jsFileUtils, units in a test program of my own. This happily compiles, runs and transpiles a “hello world” program. However when I then added  “PAS2JSCompiler” to the uses clause of the Hello world program in order to see if it is possible to build a Javascript version of Pas2JS I got a memory access error which I cannot debug, probably relating to reading incompatible units?   </div><div><br></div><div>I guess going straight from “hello world” to expecting the transpiler to transpile itself is a big jump. However any thoughts on what might be causing these problems or how to track it down will be much appreciated.</div><div><br></div><div>Regards Steve</div><div><br></div><br></div></div></body></html>