PocketMatrix forums

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

Hekkus problem..

RapchikProgrammer · 17 Nov 2008, 20:46 UTC
Hey.. i am having problems when building with hekus.. firstly i am building for my n95 and using edgelib 3.8 and building on the s60 3rd edition sdk.. for the build i am using edgelib builder, btw thnx for this awesome tool dude.. now, i have added the static library by changing the platform file for s60 3rd.. now the problem is, firstly when i add the hss.dll file in the pkg file symbianpkg.ing file.. it builds up the setup file fine but halfway installing on the phone it gives the error unable to install.. now when i copy and paste the dll manually to the exe in the phone, if i use the dll and lib file of symbian v9 gcce, it gives the error feature not supported.. and if i use the lib and dll file of symbian armi then i get error 45 security violation.. :S anyidea why this is hapenning??
Hi,

Can you tell me where you're placing the DLL file? It should be in the sys/bin path, like the executable. The other errors are related to the Symbian security system, it isn't possible to manually copy the DLL.
RapchikProgrammer · 18 Nov 2008, 10:19 UTC
Hey thanks for the reply..

i am placing it in sys/bin where the executables are.. and what do you mean i cant manually copy the dll?
Hi,

It means that the DLL can only be copied to the device through the .sis installer. Manually copying it to for example the SD card, will not register the DLL with your application, giving the security error message.

Can you show me the contents of your symbianpkg.ini file?
RapchikProgrammer · 18 Nov 2008, 16:55 UTC
I am using the same one from the edge builder symbian pkg file with some additions:


Code:
$% File Start %$
&EN;
#{"%caption%"},(0x%appuid%),%version%
%%{"%vendor%"}
:"Vendor"
%symbianui%
"%binfile%_%appuid%.rsc"-"!:\resource\apps\%binname%_%appuid%.rsc"
"%binfile%_%appuid%_reg.rsc"-"!:\private\10003a3f\import\apps\%binname%_%appuid%_reg.rsc"
"%binfile%_%appuid%.mbm"-"!:\resource\apps\%binname%_%appuid%.mbm"
"%binfile%_%appuid%.exe"-"!:\sys\bin\%binname%_%appuid%.exe"
"HSS.dll"-"!:\sys\bin\HSS.dll"
%installfiles%


I put the hss.dll file where the exe is built using the edge builder.. and it builds up the sis perfectly but while installing it gives the error unable to install...
Hi,

The package file looks fine, I couldn't find any errors in it. Please try to download this sample and rebuild it: http://www.edgelib.com/index.php?node=562

It contains a symbian s60 third edition workspace that can be built from the batch file automatically. Try to rebuild and install it on your device and check if you get the same error(s).
RapchikProgrammer · 19 Nov 2008, 19:35 UTC
I build the code using edge ide because i have had problems setting up symbian with gcce and so no batch build.. i just need to put a dll file with the project file to make the package.. otherwise i get an io fault when i build setup.. and this causes the same problem during installation.. btw this is what i modify in the platform file:

dynamiclib = "%sdkpath%\Epoc32\Release\armv5\lib\HSS.dso"
staticlib = "%sdkpath%\Epoc32\Release\armv5\urel\HSS.lib"

for some reason i need to include the dynamic lib from hekus\symbian_v9-gcce folder otherwise it gives the undefined reference to all the ESound functions..
Hi,

If you're still having problems, please attach the EDGELIB Build project file, sourcefiles and the Hekkus DLL/libs you're using.
RapchikProgrammer · 21 Nov 2008, 07:35 UTC
I found the installation issue.. i was including the symbian-armi dll file and that couldnt be installed.. i just used the symbian v9-gcce dll file and it installed without a problem.. but now the problem is when i open the app nothing happens, as if i havent opened the app.. same happened when i installed the premade binaries of the code you gave me in your previous post..
This error usually appears when some UID's don't match. Did you remove the old version before installing the new version?