weird revExternalLibrary issues with standalone Mac app
Posted: Wed Aug 04, 2010 4:36 am
Hello - I'm still pretty new to RunRev (been using it for the past 6 months). I am having a problem where standalone applications run fine on my Macs, but throw error 573,37,1 on my client's Macs. Some details:
I'm using Revolution Studio 4.0.0 on the Mac platform. I'm running OSX 10.6.4.
My app uses an external library that I did not create - it was supplied by a friend of mine. I followed and doublechecked the instructions on using externals found at http://lessons.runrev.com/buckets/784/lessons/6347 and everything looks OK. When I do my standalone builds, if I peek inside the standalone Mac .app, I can see the external .bundle, and the Windows build creates an Externals directory and everything looks fine inside there.
When I run the app on either of my Macs, I have no problems. I am able to talk to the external library and the application runs fine. I have an iMac and a MBP (both 2009 vintage, both running OSX 10.6.4). The Windows standalone build works correctly on my two XP machines.
But my client is having problems. I sent him the Mac .app and he's seeing error 573,37,1 get thrown when trying to access one of the functions in the external. After some farting around, I tried adding a button to the main screen of the app, the script for which is: answer stacksinuse
On my machines, when I push this button I get two lines displayed: revExternalLibrary, and the stack for the External. I see the same thing regardless of whether I'm running inside the IDE, or if I quit out of the IDE and run the standalone application. Which is what I would expect to see.
But on his machine, when he pushes the button, he only sees the External's stack. He does not see revExternalLibrary. I don't know why this should be. Both of my Macs have the RunRev development environment installed - I don't know if that's a factor or not. But I'm guessing that not having revExternalLibrary loaded is the cause of the 573,37,1 errors and other erratic behavior he's seeing and I'm not seeing.
I've searched the forums and consulted the oracle (Google) but came up dry. Anything else folks here could suggest?
Other particulars that might be useful:
My standalone application settings
General
* Select Inclusions for the standalong application are selected. I believe I have more than enough (Font Support, Geometry, Internet, Printing, and my External). Also: Ask Dialog, Answer Dialog, and Cursors are all selected.
* Remove all profiles on objects is selected
Stacks:
there are four stacks listed (my three application stacks, plus revExternalLibrary) and the "Set destroyStack" property is selected for all of them. No encryption.
Under OS X I'm building a Universal binary, and RunRev is writing the PLIST for me.
Any hints or suggestions would be greatly appreciated!
Dave
I'm using Revolution Studio 4.0.0 on the Mac platform. I'm running OSX 10.6.4.
My app uses an external library that I did not create - it was supplied by a friend of mine. I followed and doublechecked the instructions on using externals found at http://lessons.runrev.com/buckets/784/lessons/6347 and everything looks OK. When I do my standalone builds, if I peek inside the standalone Mac .app, I can see the external .bundle, and the Windows build creates an Externals directory and everything looks fine inside there.
When I run the app on either of my Macs, I have no problems. I am able to talk to the external library and the application runs fine. I have an iMac and a MBP (both 2009 vintage, both running OSX 10.6.4). The Windows standalone build works correctly on my two XP machines.
But my client is having problems. I sent him the Mac .app and he's seeing error 573,37,1 get thrown when trying to access one of the functions in the external. After some farting around, I tried adding a button to the main screen of the app, the script for which is: answer stacksinuse
On my machines, when I push this button I get two lines displayed: revExternalLibrary, and the stack for the External. I see the same thing regardless of whether I'm running inside the IDE, or if I quit out of the IDE and run the standalone application. Which is what I would expect to see.
But on his machine, when he pushes the button, he only sees the External's stack. He does not see revExternalLibrary. I don't know why this should be. Both of my Macs have the RunRev development environment installed - I don't know if that's a factor or not. But I'm guessing that not having revExternalLibrary loaded is the cause of the 573,37,1 errors and other erratic behavior he's seeing and I'm not seeing.
I've searched the forums and consulted the oracle (Google) but came up dry. Anything else folks here could suggest?
Other particulars that might be useful:
My standalone application settings
General
* Select Inclusions for the standalong application are selected. I believe I have more than enough (Font Support, Geometry, Internet, Printing, and my External). Also: Ask Dialog, Answer Dialog, and Cursors are all selected.
* Remove all profiles on objects is selected
Stacks:
there are four stacks listed (my three application stacks, plus revExternalLibrary) and the "Set destroyStack" property is selected for all of them. No encryption.
Under OS X I'm building a Universal binary, and RunRev is writing the PLIST for me.
Any hints or suggestions would be greatly appreciated!
Dave