PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Symbian prob

I am having trouble getting the sample projects working. I have followed all the instruction as best I could. The .sis I made works on a real device but in the emulator all the graphics are missing.

In the readmesymbian.htm document it says to copy lib and dll files to various directories. The file gd301.lib doesn't exist for my Gapi version 3.5 Beta1 so I used the GapiDraw.lib instead. Since no DLLs existed I copied nothing.

What am I doing wrong?
I'm having the same problems. I'm using 3.5 beta 3 and don't have the dll for symbian. I've copied over the lib file, but get the following error:

Access Violation at address 0x50000003

I'm assuming it's because the dll file isn't there. Is there a binary for version 3.5 or is there comewhere I can get a copy of 3.01 from?

Thanks,
Aaron
:oops: I never copied the resource files to the \Symbian\6.1\Series60\Epoc32\Release\wins\udeb\z\system\apps\ + directory. I should really the documentation. :oops:

Aaron: did you copy the other lib file also? Make sure you didn't get them mixed up.
GD 3.5 doesn't use DLL's any more. I just haven't gotten around to update the documentation...
I finally started looking into this a little more and stepped through the code as it's being run. Firstly, I'm using Series 60 Symbina SDK v2.1 with CodeWarrior.

Stepping through the code, the crash occurs at the following line of GapiApplication.cpp. This example is from the Plasma demo, but the other demos crash as well:

if (FAILED(hr = m_pDisplay->OpenDisplay(iEikonEnv->WsSession(), m_config.dwDisplayFlags)))

The error is an access violation at 0x50000003

Stepping through the code, it seems to execute some code in bitgui, then start another thread that makes a heap of calls to ntdll. It crashes in that thread on MEDINT.PDD

Any help would be appreciated.

Thanks,
Aaron
Just thought I'd let people know I have also tried this with 1.2 of the sdk with no luck.

-Aaron
Hi!

Have you tried simply compiling the samples from the command-prompt, and then copying the sis-file to your device?
I would have tried that, but I don't have a device myself. I have a friend with one that I will eventually test the app on once I've finished development using the emulator.

I figured out how to get the graphics side of things done without using gapi draw. I'm just trying to figure out how to process user input now. Maybe I could use gapi draw just fot the user input.

Hmmmm, on second thoughts, that sounds pretty stupid.

Thanks,
Aaron
I figured out how to get the graphics side of things done without using gapi draw. I'm just trying to figure out how to process user input now.


Really, the best way to get started is to install Visual C++ and compile for Windows. Since GapiDraw is cross-platform, you can simply recompile your application for your phone once you get one. This is the way most GapiDraw-symbian applications are created, and it simplifies development a lot...
In a perfect world that would be great, but alas, I only have a version of VC6 which from what I've heard doesn't like the Symbian SDK very much. I do have a copy of CodeWarrior which I got through uni however and does tend to co-operat well with Symbian.

We're nearly there and all the gapidraw type stuff I was going to do has been done already. This week, it'll be time to figure out how to read and send SMS's :-).

BTW, cross platform isn't really an issue at this stage as this is just a university project. We may commercialise it later in which case we will look at porting over to PocketPC and Palm as well.

Thanks for you help guys,
Aaron