16-bit application
6 отговора
145 прегледа
16-bit application
nqkoy da znae dali Delphi7 poddyrja 16-bitovi prilojeniq i po kakvo moga da nakaram delphito da razbere 4e prilojenieto e 16 bitovo??
Какво разбираш под...
"поддържа" ????
Ако имаш предвид под поддържа - да компилира приложения за Win 3.1 (май само той остана - всички други поддържат 32 битови приложения) - отговора е не. До колкото си спомням - всичко след Делфи 3 включително (не съм сигурен за 2-ката) компилира за 9x нагоре.
Ако искаш да правиш конзолно приложение - горното важи и за това - или поне така мисля.
До колкото помня един от основните проблеми бяха ресурсите - за "стария" win -бяха различни.
---
Е т'ва е живот!
Ако имаш предвид под поддържа - да компилира приложения за Win 3.1 (май само той остана - всички други поддържат 32 битови приложения) - отговора е не. До колкото си спомням - всичко след Делфи 3 включително (не съм сигурен за 2-ката) компилира за 9x нагоре.
Ако искаш да правиш конзолно приложение - горното важи и за това - или поне така мисля.
До колкото помня един от основните проблеми бяха ресурсите - за "стария" win -бяха различни.
---
Е т'ва е живот!
Re: Какво разбираш под...
Само Delphi 1 генерира 16-битов изходен код - 2.0 не може.
Mixy
Mixy
Използване на 16b DLL в 32b Apps
Някой намерил ли е нормален начин за извикване на функции от 16b DLL

Re: Използване на 16b DLL в 32b Apps
Windows 95/98/Me: If you are using LoadLibrary to load a module that contains a resource whose numeric identifier is greater than 0x7FFF, LoadLibrary fails. If you are attempting to load a 16-bit DLL directly from 32-bit code, LoadLibrary fails. If you are attempting to load a DLL whose subsystem version is greater than 4.0, LoadLibrary fails. If your DllMain function tries to call the Unicode version of a function, LoadLibrary fails.
i oshte malko:
Generic Thunks
Microsoft® Windows NT®, Windows® 2000, and Windows XP support running 16-bit Windows-based applications using a technology referred to as WOW (Windows on Win32®). Each 16-bit application is run as a thread of a 32-bit process. Windows 95, Windows 98, and Windows Me also support running 16-bit Windows-based applications. They are run as 16-bit processes.
You cannot directly mix 16-bit code and 32-bit code in the same process. You can use IPC mechanisms, such as DDE, RPC, OLE, named pipes, and WM_COPYDATA, to provide communication between 16-bit code and 32-bit code. However, there are occasions when it is necessary to call functions in Win32-based DLLs (including the system DLLs) from a 16-bit application. Generic thunks provide a mechanism for 16-bit applications to call functions in Win32-based DLLs.
------------------------------
I got a COMPILER, and I'm not afraid to use it!
i oshte malko:
Generic Thunks
Microsoft® Windows NT®, Windows® 2000, and Windows XP support running 16-bit Windows-based applications using a technology referred to as WOW (Windows on Win32®). Each 16-bit application is run as a thread of a 32-bit process. Windows 95, Windows 98, and Windows Me also support running 16-bit Windows-based applications. They are run as 16-bit processes.
You cannot directly mix 16-bit code and 32-bit code in the same process. You can use IPC mechanisms, such as DDE, RPC, OLE, named pipes, and WM_COPYDATA, to provide communication between 16-bit code and 32-bit code. However, there are occasions when it is necessary to call functions in Win32-based DLLs (including the system DLLs) from a 16-bit application. Generic thunks provide a mechanism for 16-bit applications to call functions in Win32-based DLLs.
------------------------------
I got a COMPILER, and I'm not afraid to use it!
Редактирано от SDR на
Problema e che..
Iskah da naprawq thunking mejdu dve prilojeniq i neznaeh kak da nakaram delphito da schita koda na ednoto kato 16bitov...ta ako nqkoy znae kak da pomogne
Re: Problema e che..
Kakto e otbelqzal Mixy oswen ako ne si s delphi 1 nqma kak da nakarash delphito da kompilira 16 bit code zashtoto prosto nemoje!
------------------------------
I got a COMPILER, and I'm not afraid to use it!
------------------------------
I got a COMPILER, and I'm not afraid to use it!