Извините, ничего не найдено.

Не расстраивайся! Лучше выпей чайку!
Регистрация
Справка
Календарь

Вернуться   forum.boolean.name > Программирование игр для мобильных телефонов > MidletPascal

Ответ
 
Опции темы
Старый 28.11.2010, 18:09   #16
NastyKhan
Оператор ЭВМ
 
Регистрация: 26.09.2010
Сообщений: 29
Написано 0 полезных сообщений
(для 0 пользователей)
Ответ: 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.
(Offline)
 
Ответить с цитированием
Старый 28.11.2010, 19:33   #17
ViNT
Модератор
 
Регистрация: 03.04.2007
Сообщений: 2,252
Написано 597 полезных сообщений
(для 817 пользователей)
Ответ: keys/game library

Сообщение от NastyKhan Посмотреть сообщение
I have no damn idea, what to do.
Do NOT use MP 3.x, use only MP 2.0.2!
(Offline)
 
Ответить с цитированием
Старый 28.11.2010, 21:08   #18
cherepets
Бывалый
 
Регистрация: 18.08.2009
Сообщений: 745
Написано 146 полезных сообщений
(для 215 пользователей)
Ответ: keys/game library

And put it only in Libs folder, not in Res
(Offline)
 
Ответить с цитированием
Старый 29.11.2010, 17:01   #19
NastyKhan
Оператор ЭВМ
 
Регистрация: 26.09.2010
Сообщений: 29
Написано 0 полезных сообщений
(для 0 пользователей)
Ответ: keys/game library

Success!

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.
(Offline)
 
Ответить с цитированием
Ответ


Опции темы

Ваши права в разделе
Вы не можете создавать темы
Вы не можете отвечать на сообщения
Вы не можете прикреплять файлы
Вы не можете редактировать сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.


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


vBulletin® Version 3.6.5.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Перевод: zCarot
Style crйe par Allan - vBulletin-Ressources.com