Search found 52 matches

by JustinW42
Mon Mar 02, 2015 11:07 pm
Forum: iOS Deployment
Topic: revOpenDatabase works fine in simulator, but not on iOS!
Replies: 13
Views: 7794

Re: revOpenDatabase works fine in simulator, but not on iOS!

If it matters, I see a setting in my database server which reads as follows: PHP extension: mysqli I looked it up and the mysqli is for something called MySQL Improved, but I can't see to figure out how that might affect my connection attempts from iOS.... At this point I am simply running through e...
by JustinW42
Mon Mar 02, 2015 10:55 pm
Forum: iOS Deployment
Topic: revOpenDatabase works fine in simulator, but not on iOS!
Replies: 13
Views: 7794

Re: revOpenDatabase works fine in simulator, but not on iOS!

Some additional information: 1. My databases are hosted on Hostgator, and when I check the Remote MySQL settings there is a wildcard option ("%") to enable universal access. 2. When I look at the DB format, it seems to be in MyISAM (should I switch all the tables to InnoDB?). 3. Collation is set to ...
by JustinW42
Mon Mar 02, 2015 10:36 pm
Forum: iOS Deployment
Topic: revOpenDatabase works fine in simulator, but not on iOS!
Replies: 13
Views: 7794

Re: revOpenDatabase works fine in simulator, but not on iOS!

I replaced "MySQL" with "mysql" in the connection string, but it still stops processing the code when it hits that particular call.... Is it possible that, even though I select MySQL in the build options for iOS in Livecode, that it is not actually adding this library to my stack? Do I need to consi...
by JustinW42
Mon Mar 02, 2015 12:42 pm
Forum: iOS Deployment
Topic: revOpenDatabase works fine in simulator, but not on iOS!
Replies: 13
Views: 7794

revOpenDatabase works fine in simulator, but not on iOS!

I am attempting to connect to a MySQL db that I am hosting on Hostgator. I have been connecting to databases for months now with no problems with various desktop apps, and the code works fine in the iOS simulator. However, when I deploy the app as an iOS standalone and copy it to a development devic...
by JustinW42
Sun Mar 01, 2015 10:42 am
Forum: Talking LiveCode
Topic: Completely purging a stack from memory when closed....
Replies: 21
Views: 11553

Re: Completely purging a stack from memory when closed....

It appears as though the "launch DOCUMENT with APPLICATION" function would open a pre-existing (ie, complete / finished) document using the specified program...... What I am trying to accomplish would be selecting a Design from one program, then opening it in another LC program I created to edit a d...
by JustinW42
Sun Mar 01, 2015 7:46 am
Forum: Talking LiveCode
Topic: Completely purging a stack from memory when closed....
Replies: 21
Views: 11553

Re: Completely purging a stack from memory when closed....

Thanks Klaus! You are correct - I was asking what would happen if I had two distinctly different standalone applications running when the command is executed. That clarifies things for me!

I will look into that "launch DOCUMENT with APPLICATION" function!
by JustinW42
Fri Feb 27, 2015 6:49 am
Forum: Talking LiveCode
Topic: Completely purging a stack from memory when closed....
Replies: 21
Views: 11553

Re: Completely purging a stack from memory when closed....

Would Andy's version close stacks that are open outside of the current program? ie, if I am running two different programs created in LC, would it close both of them if I executed the script from only one? I am not advanced enough to be using outside stacks in any of my programs, but I am getting cl...
by JustinW42
Thu Feb 26, 2015 7:57 am
Forum: Talking LiveCode
Topic: Completely purging a stack from memory when closed....
Replies: 21
Views: 11553

Re: Completely purging a stack from memory when closed....

Thanks Klaus! That is a much better idea than trying to keep track of any and all new substacks I create (of which there are many) - I will definitely re-loop my code to take advantage of your great suggestion. Thanks again! I am loving Livecode more and more each day, and I hope to eventually spend...
by JustinW42
Wed Feb 25, 2015 1:11 pm
Forum: Talking LiveCode
Topic: Completely purging a stack from memory when closed....
Replies: 21
Views: 11553

Re: Completely purging a stack from memory when closed....

Ahh... I just remembered "resetAll". Now that is written up in the dictionary like it will kill all the system processes. Like it's dangerous (as in don't ship it). Try it before the pendingMessages thing. Does that do it? Simon And we have a WINNER!!!! Thanks so much for the help, Simon, Klaus and...
by JustinW42
Wed Feb 25, 2015 7:38 am
Forum: Talking LiveCode
Topic: Completely purging a stack from memory when closed....
Replies: 21
Views: 11553

Re: Completely purging a stack from memory when closed....

Ok I am getting closer to solving this, I think...... For the record, I do close all my database connections right after I grab the data I need from the table(s) - I learned about this one the hard way, and it has really upped my Livecode game!! lol As suggested, I monitored the message box for pend...
by JustinW42
Tue Feb 24, 2015 12:22 pm
Forum: Talking LiveCode
Topic: Completely purging a stack from memory when closed....
Replies: 21
Views: 11553

Re: Completely purging a stack from memory when closed....

I just added that code to the handler, immediately prior to closing the stacks. There is still a a background process being created every time I close the standalone application. :-/
by JustinW42
Tue Feb 24, 2015 9:19 am
Forum: Talking LiveCode
Topic: Completely purging a stack from memory when closed....
Replies: 21
Views: 11553

Re: Completely purging a stack from memory when closed....

I implemented the Delete stack command in the CloseStackRequest handler..... No dice. I also tried commending out the download listener, but that simply broke the code (apparently I am using it functionally to execute additional code after the download is complete, so that is good news - I still don...
by JustinW42
Tue Feb 24, 2015 7:42 am
Forum: Talking LiveCode
Topic: Completely purging a stack from memory when closed....
Replies: 21
Views: 11553

Re: Completely purging a stack from memory when closed....

I have been experimenting with using libURLSetStatusCallback when I download or upload images via FTP (with no success, yet) - however, could this be a potential issue if it continues trying to listen for a download to finish, and I never actually end the callback listener in code? Like I said, I ha...
by JustinW42
Tue Feb 24, 2015 7:35 am
Forum: Talking LiveCode
Topic: Completely purging a stack from memory when closed....
Replies: 21
Views: 11553

Re: Completely purging a stack from memory when closed....

I will look into that Delete command! Would I run in in the CloseStackRequest handler? I will go ahead and read up on it a bit, but while I do my homework it would give me a head start to know where the code will be placed. :) Regarding any potential messages that could be pending - I don't think so...

Go to advanced search