Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > Technical threads

Technical threads All discussions about technical issues

Reply
 
Thread Tools Display Modes
  #1  
Old 07-22-2012, 01:59 PM
FCIProject FCIProject is offline
Approved Member
 
Join Date: May 2008
Posts: 18
Default getParameter; which .DLL is it in?

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.
Reply With Quote
  #2  
Old 07-22-2012, 08:52 PM
bolox bolox is offline
Approved Member
 
Join Date: May 2008
Posts: 351
Default

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
Reply With Quote
  #3  
Old 07-22-2012, 09:40 PM
FCIProject FCIProject is offline
Approved Member
 
Join Date: May 2008
Posts: 18
Default

Quote:
Originally Posted by bolox View Post
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
Hi Bolox

Good to see you are still out there Thanks for your reply.

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.
Reply With Quote
  #4  
Old 07-23-2012, 03:21 PM
bolox bolox is offline
Approved Member
 
Join Date: May 2008
Posts: 351
Default

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 ) the only way to access the .dll is this way. In theory you should be able to use only a little scripting here to actually access the data and point it to an 'add in ' dll ?(which could be done in c++?) to do the grunt work of ordering the data into a format to output it to the G seat (making huge assumptions above my pay grade 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.
Reply With Quote
  #5  
Old 07-23-2012, 09:32 PM
FCIProject FCIProject is offline
Approved Member
 
Join Date: May 2008
Posts: 18
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:21 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.