June 14, 200421 yr Hi.OK, here goes my entry for the dope award : (Drumroll, please)Which SDK describes the interfaces for building a plugin DLL for FS2004? Any chance of a quick summary of where it ties into the system?I need something which I can use to affect the contents of a BGL. when it's loaded.Cheers,Jim Keir
June 14, 200421 yr As far I know there isn't any SDK that explains the DLL however Joel Young published some months ago the basics. You can find in the library the sources of one or two DLL that I've done.However noticed that the DLL are difficult to debug and some care must be taken to make sure it doesn't impact FS performance. Some developers don't take these basics steps.Jos
June 25, 200421 yr Hi.Thanks for the pointer - I got the examples and had a read through. I still need a little more information though ;)Most of the examples seem to use FSUIPC or similar. What I want to do is hook into the file loading process, and either accept or reject certain BGLs. This part I'll be able to do, but I've not found a way of getting *access* to the bgls.The only way I've come up with, using the per-frame type of call, is to have it modify the files on disk and then disable itself for subsequent calls. But they've already been loaded by then so the changes would take effect at the start of the *next* session. Plus of course modifying the BGLs is has the potential for screwing them up, and needs the location to be built in to the DLL...Any suggestions on where to insert an OnLoadBGL function?Cheers,Jim Keir
June 29, 200421 yr It uses FSUIPC because I'm lazy :)I don't have a clue how that can be done. If you are trying that with your own scenery then there's something in FSUIPC called scenery user variables. I believe that you can in SCASM test those vars but never tried myself.Jos
June 30, 200421 yr Hi.I took a look at that, but I don't think it will do what I want. I'm looking into another way of doing it, it just needs a little research first...Thanks,Jim.
Create an account or sign in to comment