Ah, never mind my last post. I found that they work on the device, but not in emulator
Type: Posts; User: ed_welch; Keyword(s):
Ah, never mind my last post. I found that they work on the device, but not in emulator
I understand that c++ exceptions are meant to work on symbian 0s9, but when I try to throw an exception I get a kernal panic in the emulator ("kern exec 3"). I tried enabling exceptions in the VS...
I heard the new version of STLPort throws std::bad_alloc correctly (although I never tested)
http://marcoplusplus.blogspot.com/2008/04/pre-release-of-stlport-515-for-symbian.html
Yeah, I will only be using N95 or N81 (or phones in that class), so compatibility is not a problem.
I would need to have 2 sound effects playing simultanously, without any problems.
If it can't do...
Quicky question:
Is it possible to play two audio files simultaneously on a N95, or N81?
Is there any way to how much heap memory is being used by my app?
I use HAL::Get(HAL::EMemoryRAMFree, freeRam), but that measures total free memory of the phone
I added
CEikonEnv::Static()->SetBusy(true);
and now it doesn't shutdown.
Thanks for the info!
I've being doing some tests on the N95 and found that if you run an app that uses a lot of memory and then try to launch a second app, and it doesn't have enough memory, it will silently kill the...
I tried installing carbide 1.3.1 from the update site, but afterwards my project wouldn't compile, so I downgraded again.
I notice that the official download is still 1.3, not 1.3.1, so maybe this...
I am using stlport from c++ plugin (I already said that earlier)... and that's where the problem is.
If you want to fix the problem you have to use the new version from Marcos site.
Marco. He has the new version posted on his blog: http://marcoplusplus.blogspot.com/2008/04/pre-release-of-stlport-515-for-symbian.html
I talked to the developer, he said that the new version, STLport 5.1.5 fixes this problem
View memory doesn't work. I get error "add memory monitor failed"
:(
that is bad.
What about strings? They don't seem to be displayed properly either. For instance, char sz[] is displayed as an array of characters and char* sz - only first character can be viewed
Is there any way to make carbide c++ to display meaningful information for stl classes in the variables window?
What the emulator does isn't so important. I'm talking about the application crashing on the physical phone... ok, you can call it a "panic" if you want, but it still means that memory and resources...
I did some more tests. If I try to assign less memory the exception does indeed get thrown on emulator, however on the phone it still crashes the app
Yes, this is stlport from open c++ plugin.
Now I tried it on the phone and it has same problem. The bad_alloc exception is never thrown and the app just crashes.
I have no nested exceptions....
Nevermind. I just reinstalled carbide again and it works now.
I am having trouble installing plugins in carbide c++ 1.3. If I try to install any plugin at all it gives the following error:
requires plug-in "org.eclipse.jdt"
Any ideas what the problem is?
When I build the release build for a project I have to specify the full route of the exe otherwise it can't find the file.
i.e. I must have this line in my pkg file:
...
You are right the backbuffer example only needs SwEvent capability. Thanks for the answer.
Most of the RGA examples have capability statement as follows:
CAPABILITY All -Tcb -Drm -AllFiles -CommDD -DiskAdmin
which is same as asking for the all the "Signed Only" capabilities and...
That's what I do and the emulator shuts down on me when I close the app. I have carbide 1.3, which is the latest one (I think)
Is it safe to use stlport?
Normal stl implementions would throw a bad_alloc exception, but stlport just seems to crash.
For instance this code causes the emulator to crash:
vector<int> list;...