Page 1 of 1

Standalone Inclusions

Posted: Fri Apr 01, 2011 7:13 pm
by jMartinez
Hi. I'm testing the standalone builder and after some hours of dabbling continue to encounter some errors. Specifically, the inclusions for the database and XML libraries do not appear to function in the standalone. I've added the inclusions in the standalone builder both manually and through automatic search. More specifically, calling revOpenDatabases(), revdb_connections(), revOpenDatabase(), and revdb_connect() interrupt and terminate the handler. Also, revCreateXMLTree() terminates as well, so I suspect the other XML library handlers are also not present.

I also suspect that the database and xml bundles are not functioning properly, but they are present in the app bundle. Also, there appear to be no scripts in the card or stack levels of the revExternalLibrary stack, if there should be.

Any ideas? Thanks, Joseph Martinez
Environment: Mac OS 10.4.11, LiveCode 4.5.1

Re: Standalone Inclusions (solved)

Posted: Tue Apr 05, 2011 3:56 am
by jMartinez
Problem solved. My standalone splash stack had a 'startup' handler. By adding 'pass startup' to the end of the handler, the database and xml library bundles were activated. Thanks, Joseph

Re: Standalone Inclusions

Posted: Tue Apr 05, 2011 8:14 am
by Regulae
Hi Joseph,

A warm welcome to the Forum! It's great when people find a solution to their problem and take the time to post it on the Forum for others to see. It really makes this a great learning resource for everybody. From now on, I'll keep "pass startup" in mind- it could save me no end of trouble. Thanks again.

Regards,
Michael