Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 4 Jahren, 11 Monaten
Letzter Beitrag:
vor 4 Jahren, 9 Monaten
Beteiligte Autoren:
stefan.kern, Alan Evans, ICI

[WM] Frameweork Issue

Startbeitrag von stefan.kern am 16.04.2013 09:27

Hi Forum,

I am faced with another problem:

I have an application running on Win Mobile 5.1.
The app is runnimng fine in the simulator, but when I installed it on the device
I got an error: "Unable to load WP150SQL.DLL Not enough storage is available to complete this operation"

What I tried:
- I checked "Load dll on program start" while creating the exe, which causes to an internal error while starting the program
- I tried to load the dll using LOADDLL() at the beginning of the execution. LOADDLL returns an true value, but then I get the same Error message for a other DLL.
If I try to load more than one DLL using LOADDLL() the app crahes with an internal errror.

The device is an Pidion BIP1300 having 128MB RAM and 128MB ROM + external storage card with 64MB ROM. There are no other apps installed, the system says 80MB RAM are free.
The app istselfs (exe+dll+wdl) is about 600KB.

There are no problems using the simulator.

May be someone has an hint?

Best Regards



Problem solved:
If someone encounters the same problem, which took me days to solve, here the solution:

Here a short description of the problem:

This article is applicable for win mobile up to version 6.0.
I found my solution in the last paragraphe of this article.

What I did:
I created a renamed framework, excluded all of the dll except of the vm and put the other dll into the program folder.
Then, in the program code, at the very first I loaded the needed dll with loadDLL() , first the small ones, then the larger ones.

Now the app is running!

Best Regards


von stefan.kern - am 20.04.2013 21:07
And the error came back ....
When doing some operations that need additional DLL of the WM Framework (e.g. XML or SQL) I get again the error message: "Not enough storage is available to complete this operation".

Its everithing fine in the simulator, but crashes on the device.

Did anyone has an solution or hint?



von stefan.kern - am 09.06.2013 18:25
Hi Stefan,

First you need to reset your windows mobile phone to default, factory settings.
You can find the way for your phone on the web if you don't know how. I'm do that.

More additional installed applications can be your problem. So,
reset your mobile phone and then try to generate and transfer you app on the phone together with DLL's. I transfer all with DLL without any problem on devices with 32/64 ROM/RAM . Maybe some applications remain in memory.

von ICI - am 10.06.2013 06:37
Hi Stefan,

I've had the same problem with Windows mobile before, and with mine it was because I had a lot of warnings on the build. Most of them, probably all of them were just GDI errors, but once I'd got rid of some of them the application compiled and ran ok.


von Alan Evans - am 10.06.2013 10:10
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.