This may be a dumb question but how do I tell orbiter that my MFD is an MFD so that it will show up under the "MFD Modes" tab instead of the "Miscellaneous" Tab when I go to enable it?
You need to compile in an .rc file.
Orbiter reads DLL's string resource of id 1001 (decimal) as the module type and string resource of id 1000 (decimal) as the module's description.Huh that sounds strange. Don;'t think I've ever done that (at least not consciously)
Orbiter reads DLL's string resource of id 1001 (decimal) as the module type and string resource of id 1000 (decimal) as the module's description.
As far as I can tell "IDS_INFO" "IDS_TYPE" and the "STRINGTABLE" entity are all undefined, so how do go about defining them so that IDS_TYPE = "string resource of id 1001 (decimal)" and that reads "MFD Modes"?
You're right. Total crap. :thumbsdown:not at all helpful.
But Andrew... they're classified as Misc. and have no description at all...I am sure the .rc file stuff is taking you in the wrong direction. I do not use these at all, and I can set up MFD's at will.
(...)
If you want, download MMTest 1 + 2, and have a look at the structure.
I didn't have to do any googling to include the resource header that's right in front of your eyes.I've been googling string tables and rc files in c++ but I haven't found anything on how to make string resource of id 1001 (decimal) = "MFD Modes" in visual studio.
Yes. I'd google this.Lots of stuff about resource files in VB and Java but nothing about using rc files in c++. is there a search term I'm missing?
Yes. I'd google this.
Have you got anything to add to the topic of the discussion?
Great. I will be as easy as digesting what was already said. Everybody happy?Sure I have, but given the abrasive tone here, I prefer to contact the OP in private.
The problem here isn't the setup or working of the MFD in Orbiter. It's just its description/category in Orbiter's launchpad, which is set in resources and not in the code. No other problem, but just appropriate presentation in the list of plug-ins on the launchpad.I am sure the .rc file stuff is taking you in the wrong direction. I do not use these at all, and I can set up MFD's at will.
I've been googling string tables and rc files in c++ but I haven't found anything on how to make string resource of id 1001 (decimal) = "MFD Modes" in visual studio.
Lots of stuff about resource files in VB and Java but nothing about using rc files in c++. is there a search term I'm missing?
STRINGTABLE
BEGIN
1000 "description of the module"
1001 "category name"
END
STRINGTABLE
{
1000, "description of the module"
1001, "category name"
}
The problem here isn't the setup or working of the MFD in Orbiter. It's just its description/category in Orbiter's launchpad, which is set in resources and not in the code. No other problem, but just appropriate presentation in the list of plug-ins on the launchpad.