Different behaviour between Wine and Windows win size change

Questions about Wine on Linux
Locked
xlucas
Newbie
Newbie
Posts: 1
Joined: Mon Jun 05, 2017 5:47 pm

Different behaviour between Wine and Windows win size change

Post by xlucas »

I've been remaking an old DOS game of mine to run in Linux and Windows. I use Linux, so I compile for Windows using Wine. I am using the FreeBasic compiler. Compilation goes well, but when I run the resulting program, the Linux version goes on well and the Windows version creates the window, but seems to be unable to draw on it. After some tests, I discovered that the problem occurred if I created a program window more than once in the program (like to get a new "screen mode"). When I pass the game to Windows users, they can run it normally on their machines. I know I can fix this by just setting up the window only once in my program, but probably it's something that Wine people would like to know to work on.

Here is the game, including the executable, the data files and the source code in FreeBasic:
http://www.dimioca.com/syderal
Locked