Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

FSX/FSX-SE Moving Map Custom Window

Featured Replies

Hello Experts,

I am working on a moving map module integrated in FSX as a module because it reads the FSX internal database to get the airport/navaid information.

I have create a C++ DLL module that creates a window using the "CreateWindow" function and draws the map in this window using GDI+. It works perfect when FSX runs in windowed mode, but not when it is in full screen mode. When I try this, the image freezes in FSX and if I run the Microsoft DebugView, I see this error repeating again and again:

[12128] DXGI Error 00190e1e: (10484@473817843) at 6B124CEB - Occluder wnd ('Code' is HWND):FSMAPWINDOW
[12128] DXGI Error 087a0001: (10484@473817812) at 6B15CF78 - Non-zero return value
[12128] DXGI Error 087a0001: (10484@473817812) at 6B12F220 - Non-zero return value
[12128] DXGI Error 087a0001: (10484@473817812) at 6B12EADA - Non-zero return value
[12128] DXGI Error 087a0001: (10484@473817812) at 6B124D45 - Non-zero return value

I understand there is a conflict between DirectX and my GDI+ based wondow, but I don't know how to fix this. I tried to use "CreateWindowEx" instead of "CreateWindow" but it didn't change anything.

To be perfectly clear, I must say this has worked in the past. Some months ago, I could pop up my FS Map window in FSX in full screen mode. The FSX image was freezing but it was working. And now it doesn't work any more even though I didn't change anything in my code, probably because of a Windows update that changed something in DX.

Any idea on how I can make this work?
Any help is greatly welcome.

Thank you,
Eric

  • 2 weeks later...
  • Author

I found out that it was working in the past with DirectX9, but not anymore as soon as DX10 or higher is used. This is why I used SimConnect_SetSystemState to set FSX in dialog mode and it now works.

The problem I have now is that FSX sound stops as soon as my moving map window pops up, because the main FSX window does not have focus. If you know a way to avoid this and keep FSX noisy...

 

Eric

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.