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

Вниз

windows.pas for FPC needs to change names   Найти похожие ветки 

 
Lars   (2005-06-10 16:48) [0]

I have had so many conflicts with windows.pas shipped with freepascal.. I"ve renamed mine to kolwindows.pas but maybe it should be named fpckolwindows.pas
The problem is that some units I use rely on the windows.pas for freepascal, and some rely on the windows.pas for kol.

I"ve made patches to Thaddy"s windows.pas for fpc/kol so that now it works named as kolwindows.pas.

What do you think it should be named?


 
Thaddy   (2005-06-10 18:38) [1]

windows.pas

I refer to my explanation before: If the JCL winapi is used you have to rename some things anyway and this is the way to go for VCL, FPC and KOL code alike. This is not a compiler issue, but a difference in opinion on how to translate the headers. The "correct" ones are for now the JCL ones.
And never mix code between the libraries.


 
Lars   (2005-06-11 06:32) [2]

Oh, so is there a JCL windows.pas unit that I should be using?  Does it offer the same code size.. i.e. no big initializations etc.?

Is it called windows.pas or jclwindows.pas.. ;)

I"ll check your website because I think I saw something on JCL there before.

Can you give any disadvantages with renaming the units differently? I.e. what are the disadvantages that I am missing here with kolfpcwindows vs windows.pas? I see how system.pas should remain system.pas, because you want to drop system.pas in it"s place. But when do we ever want to drop windows.pas in place or windows.pas?



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

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

Наверх





Память: 0.44 MB
Время: 0.012 c
15-1137079767
Piter
2006-01-12 18:29
2006.02.05
На радость автомобилистам, на горе пешеходам :)


2-1137495442
V0va
2006-01-17 13:57
2006.02.05
Как заменить скроллбары в tmemo, tlistbox и тд на свой?


3-1133563756
NTNick
2005-12-03 01:49
2006.02.05
InterBase и ODBC


4-1133010656
Kerk
2005-11-26 16:10
2006.02.05
Unicode-версия LB_FINDSTRING


2-1137477099
pathfinder
2006-01-17 08:51
2006.02.05
Подскажите пожалуйста в чем отличие следующих кодов?





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
Английский Французский Немецкий Итальянский Португальский Русский Испанский