Jump to content

Looking for a C++ programmer to do a small favour.


Recommended Posts

Posted (edited)

EDIT: On further investigation, I've concluded that this isn't going to work, and I need to rewrite the dll from scratch, or find a way to do without it, which would be preferable.

 

 

 

Short version: I've got the source code for a small Windows dll I need compiling. I'd do it myself, but my brain hurts...

 

Longer version: About 10 years ago I was tinkering with an 'autopilot' application I wrote for IL2 '46, that communicates with the game using UDP & 'Devicelink', and have decided to do some more work on it. The application itself is written in Java, but it needed a small dll to access some Windows functionality via the Java Native Interface. Back when I wrote it then I'd compiled it ok, and it was working fine, but it won't work now, since it was compiled as a 32-bit dll, and there isn't (as far as I'm aware) a 32-bit Windows Java version that is at all current. I've got the source, and should in theory be able to recompile it in a 64-bit version (I've got Visual Studio), but I've not done much coding at all in the last few years, and am having trouble figuring out exactly how to import it into VS and compile it as a 64-bit dll: I'm probably doing something stupid, but as I say I'm rather rusty, and never did much C++ programming anyway. 

 

Since it would probably be quicker for someone else who has a clue what they are doing to compile it than to figure out where I'm going wrong, I'd find it very useful if a friendly C++ programmer could help out: I think the code should most likely either compile as is, or fail to compile at all (there isn't much to it), so I'm not asking for anything beyond a simple attempt to compile it, and letting me have the result (either the resulting .dll or the compiler error messages). If it doesn't work, I'll have to investigate further, or (preferably) find ways to avoid using a dll at all. Which will involve me figuring out how the heck my Java spaghetti all worked, but that's my problem, and I've got to do that anyway.  So if anyone wants to help, say so here, and I'll PM you the source.

 

 

 

For the curious, there's a thread on the old Ubisoft IL-2 forum where I discussed my application:
http://forums.ubi.com/showthread.php/346836-My-prototype-autopilot-instrument-panel-application

 

If people want to discuss the merits of 'Devicelink' or something similar for IL-2 GB, I'd suggest you find one of the several existing threads on the subject and post there, rather than spreading the discussions even further.

Edited by AndyJWest

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...