Re: sysAppLaunchCmdSystemReset and loading library.

2007-11-07 Thread nevermik
I tried with the defines in the corresponding Hs headers. Then I tried with strings like: SysLibFind("GSMLibrary.lib", &refNum). Then tried with defines in my cpp. The results were the same - system reset. I made a fix: on system reset I schedule an alarm in 1 seconds where I make these calls an

Re: sysAppLaunchCmdSystemReset and loading library.

2007-11-07 Thread nevermik
All calls to SysLibFind(libname, &refNum) fail and cause reset. I can't understand why, may be because of the lib name defines? -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

Re: sysAppLaunchCmdSystemReset and loading library.

2007-11-06 Thread nevermik
yes this is set for both targets. The difference is in the code model - small for debug, large for release, and the release target has a code optimization for small code, hard debug. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company

sysAppLaunchCmdSystemReset and loading library.

2007-11-06 Thread nevermik
Hello guys, I have a strange problem. I have the default targets for my application - Debug and Release. And that piece of code is working in the debug target, but reseting the device with the release target: case sysAppLaunchCmdSystemReset: { #pragma warn_a5_access on

Converting from .rsrc to .prc

2006-12-05 Thread nevermik
I have problems with converting form rsrc to prc. I open the rsrc file with PilRC and save as rpc. After that i can't compile the rpc file - i have problems with generating the header and including another .h file where the pilrc have defined some id. How can i resolve this? -- For information