Question

My question would be complex ..

At first, the idea which I want to achieve is showing an executable file <.exe> (Say its name is Project1.exe) coded into VB6 in the flight simulator game full screen mode (from a specific path) by pressing on a specific menu item has been inserted into FS2004 - Microsoft Flight Simulator menu bar by C++ dll file inserted into (Modules) folder of the game [ I have achieved that part successfully as shown in below screenshot ]

Created Menu by C++

The game has a folder called (Modules) which includes dll files, which the process reads their codes ( I guess no need for dll injection here ), In below screenshot picture the game sent an error because it cannot read (A-Sample.dll) file which is empty from any codes ( just for getting the error ) - That means we don't need dll injection to show the executable file Project1.exe on top of the full screen mode game.

Modules folder and DLLs files

The question is : How can I code the A-Sample.dll in C++ to run Project1.exe on the top of the full screen mode ? - any codes or programmatic ideas ...

Was it helpful?

Solution

If the DLL is loaded in that directory, it seem that the flight simulator has a plugin mechanism. So you must look for a description on the format of such a plugin. There must exist a development kit for this, which may not neccessarily available and could be an internal thing as well. You might take a look here http://microsoft.com/Products/Games/FSInsider/developers/Pages. There are links to development resources, so you may find something there

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top