Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
en:docs:freepm:workflow [2014/05/10 19:18] – valerius | en:docs:freepm:workflow [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== How everything works ==== | ||
- | |||
- | * The server assigns ihab's and hwnd's - threads' | ||
- | * Windows get messages. | ||
- | * Messages are got from either queues, assigned to ihab' | ||
- | * if they were sent from the same thread, or indirectly, but without placing into a queue, | ||
- | * if they were sent from another thread of a process. Indirectly - that means it calls a window proc from inside WinGetMsg. | ||
- | * If a message is sent to another process, it is sent via server. | ||
- | * If message is " | ||
- | |||
- | A server by F_CMD_GET_IHAB client' | ||
- | |||
- | === How to write programs === | ||
- | |||
- | * Let's take a PM program source. The includes are changed from os2.h to F_OS2.hpp and defines from INCL_DOS, INCL_WIN to F_INCL_DOS, F_INCL_WIN; and #include " | ||
- | |||
- | === Backward compatibility === | ||
- | |||
- | * For a FreePM program to be working under PM and if we don't want to change all F_xxx calls to WinXXX or GpiXXX, we add the \FreePM\lib\PMcompat\PM_api.cpp file into the project | ||
- | |||