September 9, 200421 yr Hi,In AVSIM file library, search for the file "fsmenu.zip", by Cyril Hruscak.The file has a "C" language source code that shows how to create a menu entry in FS2004.Regards,Emerson de Oliveira
September 10, 200421 yr Hi, Emerson,Thanks a lot for the hint.Can you say me how do I compile that to C Borland?Regards,
September 14, 200421 yr Do the following:In Borland C++ Builder 6, open a new project:File->New->OtherIn the "New" tab, select the "DLL Wizard", then check "C++" and "VC++ Style DLL".Insert the code from "main.c" (VC++ from fsmenu.zip) into the new C++ Builder sample code.Now you have to make minor adjustments in the source code to avoid compilation errors:In the DLLMain() function, set "fdwReason" to the proper case (e.g. to lowercase: "fwdreason").Replace every occurrence of "WNDPROC" by "FARPROC".Save and build the project.That's it. It should work. Regards,Emerson de Oliveira
January 27, 200521 yr Hello,my problem is the following:I try to create a Menu or Submenu for my application in FS2002/04, but i have no Plan from C++ !I search for a Code Example in Delphi !!Pleas can anyone help here ??Many ThanksMatthias
Create an account or sign in to comment