Hello,
my question is, how is it possible to interact with scenery elements through a DLL or something? What i would like to do is protecting the BGL files for "illegal" usage. As you can see in many sceneries (like by publishers FSDreamTeam, Cloud9) the scenery won't load until the correct registration informations are entered. They have a DLL file which check that. Okay, coding a DLL is one thing but how can you implement code into the BGL? It must be some code in the BGL file as well (i think) because if you remove their DLL file from FS, the scenery does not appear however it is in the right directory and worked before. How could a BGL 'make decisions' about things like appear or disappear the scenery elements?
They did that..
regards,
Lambda
my question is, how is it possible to interact with scenery elements through a DLL or something? What i would like to do is protecting the BGL files for "illegal" usage. As you can see in many sceneries (like by publishers FSDreamTeam, Cloud9) the scenery won't load until the correct registration informations are entered. They have a DLL file which check that. Okay, coding a DLL is one thing but how can you implement code into the BGL? It must be some code in the BGL file as well (i think) because if you remove their DLL file from FS, the scenery does not appear however it is in the right directory and worked before. How could a BGL 'make decisions' about things like appear or disappear the scenery elements?
regards,
Lambda


