Page 1 of 1

Standalone Applications don't work on Windows

Posted: Wed Dec 03, 2008 1:35 pm
by Bruce Underwood
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.

Posted: Wed Dec 03, 2008 3:14 pm
by Mark
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

Problem with standalone application

Posted: Thu Dec 04, 2008 12:00 pm
by Bruce Underwood
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,

Posted: Thu Dec 04, 2008 12:27 pm
by SparkOut
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.

More on Cursor becomes small square in standalone apps

Posted: Sat Dec 06, 2008 6:03 pm
by Bruce Underwood
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.

Posted: Sun Dec 07, 2008 2:37 am
by mwieder
On the downloads page is a link to "All Downloads". It's not exactly obvious, but it's there.

Posted: Sun Dec 07, 2008 2:44 am
by mwieder
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.

Posted: Sun Dec 07, 2008 2:47 am
by mwieder
...another thought... setting the cursor is a temporary thing unless you lock the cursor as well... just a thought.

Square cursor on standalone app

Posted: Fri Dec 12, 2008 3:39 pm
by Bruce Underwood
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