forum.boolean.name

forum.boolean.name (http://forum.boolean.name/index.php)
-   MidletPascal (http://forum.boolean.name/forumdisplay.php?f=46)
-   -   keys/game library (http://forum.boolean.name/showthread.php?t=13774)

NastyKhan 28.11.2010 18:09

Ответ: keys/game library
 
Thx cherepets. I got blank screen again however. I really don't know, what's goin on. I think i'm doing something wrong with installing it.

Be default i have my 1,91kb in \MIDletPascal 3.1\Libs\ AND in \res\ folder of my project AND i added it to resources menu in program. This is the only way to make it work.

When i replace the lib_keys in /res/ folder by any other - i got got blank screen.
When i replace the file in \MIDletPascal 3.1\Libs\, then the program doesn't even compile.

I have no damn idea, what to do.

ViNT 28.11.2010 19:33

Ответ: keys/game library
 
Цитата:

Сообщение от NastyKhan (Сообщение 170196)
I have no damn idea, what to do.

Do NOT use MP 3.x, use only MP 2.0.2!

cherepets 28.11.2010 21:08

Ответ: keys/game library
 
And put it only in Libs folder, not in Res

NastyKhan 29.11.2010 17:01

Ответ: keys/game library
 
Success! :super:

I've installed 2.0.2. And as I see it has some good and bad things. One of the features that 2.0.2 has, and 3.1 don't is to show (and name) bugs. I mean in 3.1 you only get information 'error found' but it don't say what kind of. You have to guess by your own. Thanks to this i was informed by 2.0.2, what was the reason of blank screens. It's simple: in both libraries you gave me, there are NO 'refresh', 'init' and 'show' commands. So i removed these line from the code and.. voila! It works.

Final solution:
1. Put cherepets's lib_keys.class file (474B ) inside "Libs" folder
2. Do NOT use .init, .show or .refresh commands.
3. Compile using 2.0.2 or 3.1 version of compilator.

Thanks both of you for help. You did a good thing. Thank you.


Часовой пояс GMT +4, время: 08:28.

vBulletin® Version 3.6.5.
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Перевод: zCarot