Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "KOL";
Текущий архив: 2006.02.26;
Скачать: [xml.tar.bz2];

Вниз

Known problems with KOL DLL using forms and applet ?   Найти похожие ветки 

 
Dodfr   (2005-07-01 19:12) [0]

Hi,

I am doing a DLL that is called by a C DLL.

The DLL open some forms and crash when form close.

I did exact same thing in VCL mode, no crash.

Any hint about things to take care using KOL for making DLL that display forms ?


 
ECM ©   (2005-07-01 20:01) [1]

send me minimal project ...


 
Dodfr   (2005-07-01 20:34) [2]

Unfortunately I can"t because this problem was 3 months ago and I decided to switch the project to VCL (I didn"t knew about this forun at his time).

Thank you.


 
<Falcon>   (2005-07-03 17:38) [3]

Загрузка dll динамическая?
Попробуйте объявить в dll переменную hApplet: PControl и дальше в dll работать с ней. Тое есть создание формы и т.п.
hApplet := NewApplet( "fake applet" );
NewKOLForm1( KOLForm1, hApplet );
и так далее. У меня это ситуацию спасло.


 
Dodfr   (2005-07-04 11:07) [4]

Excuse me Falcon, but I don"t even read a word in russian.

I just read that you say something about applet. I already added applet to the DLL form because if not, the ShowModal I use do not "stop" on it and continue to process the code.


 
<Falcon>   (2005-07-04 12:49) [5]

I"ve tried this method on a dinamick dll loading
Try to define in the dll  hApplet as PControl variable, and use it with creating form e.t.c.

hApplet := NewApplet( "fake applet" );
NewKOLForm1( KOLForm1, hApplet );

Applet is a global variable, and if you are using Free_And_Nil( Applet ) in a dll code, it might
cause a crash.



Страницы: 1 вся ветка

Форум: "KOL";
Текущий архив: 2006.02.26;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.45 MB
Время: 0.032 c
4-1134078315
spyrytus
2005-12-09 00:45
2006.02.26
Как отследить "Завершение работы".


15-1139236824
Dmitriy G.
2006-02-06 17:40
2006.02.26
описание протокола Blast


3-1135859218
Igorioha
2005-12-29 15:26
2006.02.26
Объясните наконец про libmysql.dll!


3-1135786059
Juice
2005-12-28 19:07
2006.02.26
Запрос условию с мат. операциями


2-1139215867
G@rik
2006-02-06 11:51
2006.02.26
Что нужно, чтобы работал exe-шник?





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский