![]() |
|
Technical threads All discussions about technical issues |
![]() |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]()
Hi
Would someone please tell me which .DLL, if any, getParameter is contained in? I am trying to use the Java Native Interface (JNI) to access getParameter to allow me to try and write a new version of software for Hugso's full motion simulator, gSeat. I have never done any Windows programming and this is the first time I have tried to use JNI. Hopefully if I can access getParameter, using JNI, I should be able to access the required telemetry. I look forward to someones reply. Last edited by FCIProject; 07-23-2012 at 09:37 PM. |
#2
|
|||
|
|||
![]()
Hi Gary
i believe it's in gameWorld.dll http://forum.1cpublishing.eu/showthread.php?t=23959 as a coding noob i don't think you can directly access the parameters with java see http://forum.1cpublishing.eu/showthr...338#post342338 my understanding is you have to write a c# script for the mission (sp only) to access the data and output it in suitable format (udp??) http://www.microsoft.com/visualstudi...csharp-express seems to be the way most are using to write the code |
#3
|
|||
|
|||
![]() Quote:
Good to see you are still out there ![]() I will see if I can access gameWorld.dll using JNI. I've got a 300 page book on JNI to work through. If not I will have to look at using a Windows based language and compiler. Would I be able to use C++? I would rather learn a cross-platform language, like C++ than C#. Sorry to ask an obvious question like this, but my Windows programming skills are nil. Last edited by FCIProject; 07-22-2012 at 10:09 PM. |
#4
|
|||
|
|||
![]()
i think you are going to have to learn some c# as this is what the scripts for missions are written in.
As i understand it (huge caveat here ![]() Again in theory c# shouldn't be too much of a jump for you- java/c# both being object oriented languages- just the syntax being different (infact the little i know i actually used a java book to explain some of the concepts used in c#) You really ought to make a topic in mission builder forum http://forum.1cpublishing.eu/forumdisplay.php?f=203 where the experts (FG28_Kodiak in particular) are more likely to see it and point out correct/better ways of doing this stuff- i really get lost past VERY basic stuff. |
#5
|
|||
|
|||
![]()
Bolox, you are right, C# is the way to go. If I learn this language I would have a Windows based language at my disposal. I've just started to fly and learn about CoD after getting a new machine that is capable of running this simulator.
Thanks for the heads up about posting in the Mission Builder forum. The sticky on script writing will be useful. |
![]() |
Thread Tools | |
Display Modes | |
|
|