Standalone Applications don't work on Windows

Deploying to Mac OS? Ask Mac OS specific questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Bruce Underwood
Posts: 8
Joined: Thu Oct 23, 2008 12:10 pm
Contact:

Standalone Applications don't work on Windows

Post by Bruce Underwood » Wed Dec 03, 2008 1:35 pm

When I make a standalone app, I get two problems: In the MAC OS 10.5 version, I get a small square as a cursor. It works like a cursor, but looks weird. In the Windows version, I get an error message saying the app cannot be opened. I tried it on two different Windows computers with the same result. I must have a Windows version that works.

I can make a standalone app for two other rev apps, and they work just fine.

My application works normally in the run mode. It is quite large with 400 photos and 400 entry fields. Could this be the problem?

Appreciate any help you can give me.
Bruce Underwood
1457 Nutbush Road
Victoria, VA 23974
bruceu@embarqmail.com
Telephone: (434) 696-5539

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Wed Dec 03, 2008 3:14 pm

Hi Bruce,

Yes, if you have 400 photos, each 2 to 4 mb large, you need at least one gig of free built-in memory to load the app. I don't even want to think of the amount of disk space you need to store the swap file for the virtual memory.

I'd choose a different approach.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Bruce Underwood
Posts: 8
Joined: Thu Oct 23, 2008 12:10 pm
Contact:

Problem with standalone application

Post by Bruce Underwood » Thu Dec 04, 2008 12:00 pm

I recently posted a message on this subject and the answer I got didn't solve the problem.
The problem is that when I create a standalone copy of my application, two problems occur:
1. The cursor changes from an arrow to a small square on the MAC OS 10.5.5 version.
2. The windows version will not open on my windows computer.
It was suggested that my program was too large for my available memory. That was not the problem: The application is only 37 MB in size.
I have tried everything I can think of and nothing works. I tried "set the cursor to arrow", delete revCursors, reset cursors, and still have the problem.
The application works fine in the run mode.
As for the problem with the windows version, I don't have a clue. Thanks,
Bruce Underwood
1457 Nutbush Road
Victoria, VA 23974
bruceu@embarqmail.com
Telephone: (434) 696-5539

SparkOut
Posts: 2947
Joined: Sun Sep 23, 2007 4:58 pm

Post by SparkOut » Thu Dec 04, 2008 12:27 pm

The only thing I can think of would be to check the standalone builder settings and reset all the inclusions to make sure that everything necessary to run the standalone is included when it is being compiled.
It is possible that the setting has been changed to "select inclusions for the standalone application" and some of the libraries have not been chosen. The "cursors" checkbox may also be unticked.
If playing with the settings (set to automatically search for inclusions, and then change back afterwards to manually setting and confirming that all required libraries are included if necessary) doesn't help, then I don't know what could be the case.

Bruce Underwood
Posts: 8
Joined: Thu Oct 23, 2008 12:10 pm
Contact:

More on Cursor becomes small square in standalone apps

Post by Bruce Underwood » Sat Dec 06, 2008 6:03 pm

I estimate that I have spent over 15 hours trying, without success, to solve this problem (including three forum posts).
Here is all I have discovered:

1. The cursor becomes a small square, the diagonal of which is the same size as the regular cursor. When I change the cursor size in my preferences, the square changes accordingly.
2. I cannot open revmaccursors.rev. I get no response.
3. Earlier versions of this and other revolution applications do not have the problem.
4. I may have inadvertently deleted stack "revCursors]", and this may be the problem. If so, how do I restore the stack? The Users Guide says to go to http://downloads.runrev.com/, but all I get is the page where you can download a free trial copy.

Anyone have any suggestions?

Thanks for your help.
Bruce Underwood
1457 Nutbush Road
Victoria, VA 23974
bruceu@embarqmail.com
Telephone: (434) 696-5539

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Post by mwieder » Sun Dec 07, 2008 2:37 am

On the downloads page is a link to "All Downloads". It's not exactly obvious, but it's there.

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Post by mwieder » Sun Dec 07, 2008 2:44 am

Is the reason you think you can't load the "revMacCursors" stack because you can't see it appear on the screen? It's invisible, but if you select "Revolution UI Elements in Lists" from the View menu you should see it in the Application Browser.

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Post by mwieder » Sun Dec 07, 2008 2:47 am

...another thought... setting the cursor is a temporary thing unless you lock the cursor as well... just a thought.

Bruce Underwood
Posts: 8
Joined: Thu Oct 23, 2008 12:10 pm
Contact:

Square cursor on standalone app

Post by Bruce Underwood » Fri Dec 12, 2008 3:39 pm

EUREKA !

I woke up this morning at 2:00 AM and suddenly knew what the problem was. I had inadvertently used an image id for one of my images that was the same as the one for the square cursor.

I created a shortened version of my program in which I replaced the images on the image stack with thirty new images, leaving the ids as they were automatically assigned. When I compiled the standalone version, it worked just fine, and with a normal cursor. Now all I have to do is replace the other 433 images in my image stack.

Problem solved (and it only took me about 50 hours to do it).

My thanks to the forum members who tried to help me.

Bruce Underwood
Bruce Underwood
1457 Nutbush Road
Victoria, VA 23974
bruceu@embarqmail.com
Telephone: (434) 696-5539

Post Reply