Standalone Inclusions

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jMartinez
Posts: 2
Joined: Fri Apr 01, 2011 6:45 pm

Standalone Inclusions

Post by jMartinez » Fri Apr 01, 2011 7:13 pm

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

jMartinez
Posts: 2
Joined: Fri Apr 01, 2011 6:45 pm

Re: Standalone Inclusions (solved)

Post by jMartinez » Tue Apr 05, 2011 3:56 am

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

Regulae
Posts: 136
Joined: Tue Oct 20, 2009 6:05 am

Re: Standalone Inclusions

Post by Regulae » Tue Apr 05, 2011 8:14 am

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

Post Reply