Q : 今からWin16アプリを書きたいんやけど
A : OpenWatcom使おう https://github.com/open-watcom/open-watcom-v2
ただ、Win16 APIアプリは書いたことがあるけどうまく動いた試しがないのよね...協調マルチタスクの時代ってのもあり、どうやって他アプリにバケツうまく回したらいいかがわからずじまいだった
https://docs.microsoft.com/en-us/windows/win32/learnwin32/windows-coding-conventions#pointer-types
> On 16-bit architectures (16-bit Windows) there are 2 types of pointers, P for "pointer" and LP stands for "long pointer". Long pointers (also called far pointers) were needed to address memory ranges outside of the current segment. The LP prefix has been preserved to make it easier to port 16-bit code to 32-bit Windows. Today there is no distinction, and these pointer types are all equivalent. Avoid using these prefixes; or if you must use one, then use P.
Win32APIのPなんちゃらとLPなんちゃらの違いは結局よくわからないままになってるな
明日 2/5 (土)はLILO東海道オンラインミーティングです。今のところ、ゆっくり発表・聴講できる人数かなという気がします。ご参加お待ちしております https://lilo.connpass.com/event/237592/ #東海道らぐ