FSIC Messageboard
  SDOE General
  Question for you programmers

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   Question for you programmers
Raider
Pilot
posted 11-18- 06:14 AM     Click Here to See the Profile for Raider   Click Here to Email Raider     Edit/Delete Message   Reply w/Quote
I am about finished with the update program that will add lines to the startup.ppf and keyboard.inp. It's purpose is so that when a new plane is released, all you have to do is unzip it to the SDOE directory and run the update program. If the new lines already exist they will not be copied.

Here are my questions.

I made the program using VB and it requires a driver "Msvbvm60.dll". I can use the VB Deployment Wizard, but I don't like all the setup stuff it adds. So...

1. Does the "Msvbvm60.dll" have to be in the Windows/System directory to work, or can it be located in a different directory?

2. Does the registry need to be changed or will windows do that when it sees the new driver.

3. Is there a way to make the .exe independent so that it does not need "Msvbvm60.dll".

I also have a key utility that displays or prints a report of any duplicate commands or duplicate key commands in the keyboard.inp that requires this driver.

Once I know the best way to deploy these programs I would like to make them available for testing.

IP: Logged

Nat
JAG
posted 11-18- 08:54 AM     Click Here to See the Profile for Nat   Click Here to Email Nat     Edit/Delete Message   Reply w/Quote
Hey Raider, it's been awhile since I worked with VB, but still, here's what I know. The dll can be either within windows/system, or withing the same folder as the program that calls it, the registry doesn't need to be changed, AFAIK the program trys to start, if the dll is in windows/system it's already loaded on windows boot and the program starts, or if it's in the programs folder the program will start it, so no changes needed. The exe MUST have the dll and can't be run without it.

I can't give you tech. reasons why, but I used to program in VB3 pro and 4 a while back so I'm pretty sure I'm right in what I said. Hope it helps you some. Infact you can even test this on your own machine anyway, just move the dll out of windows system and into the program folder and try to run it.

Anyway, good luck, it sounds like a good idea to me, will it also work with assing new weapons to the stsrtup.ppf aswell as airfoils?

IP: Logged

Raider
Pilot
posted 11-18- 10:54 AM     Click Here to See the Profile for Raider   Click Here to Email Raider     Edit/Delete Message   Reply w/Quote
Thanks Nat, that is what I needed to know.

Yes, it will work for any lines that need to be added to the startup.ppf and keyboard.inp

It first checks the file to see if that lines already exists, if it does not it will then add it to the file.

The keyboard is a little more complex. It will not allow the same command to be added, but it will allow different commands that may use the same key. Such as:

Line 197 cmdLift = X
Line 223 cmdDiveBrakesToggle = X
Line 293 cmdDBrakeToggle = X
Line 295 cmdRATO = X

Now I will just need some testers.
I will have it up for testing later tonight.

Thanks for the info Nat

IP: Logged

Jerry
Pilot
posted 11-18- 12:16 PM     Click Here to See the Profile for Jerry   Click Here to Email Jerry     Edit/Delete Message   Reply w/Quote
This is great news. It will sure prevent a lot of problems we have had in the past.

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | Fighter Squadron Information Center

(This site Copyright (c) 1999 Inertia LLC)

Powered by Infopop www.infopop.com © 2000
Ultimate Bulletin Board 5.45c