mgh Posted August 24, 2012 Report Posted August 24, 2012 Would it be possible to modify version 3.999 so that offset 0x3C00 returns the full path to the air file in the same way that version 4.xxx does? I know I can read FSUIPC version number (Ox3304) and then, if necessary, the FS path (0x3E00) and concatenate that with 0x3C00 but it would be nice not to have to.
Pete Dowson Posted August 24, 2012 Report Posted August 24, 2012 Would it be possible to modify version 3.999 so that offset 0x3C00 returns the full path to the air file in the same way that version 4.xxx does? Sorry, I'm really not able to do that for risk of wrecking existing programs which assume they have to prepend the FS path. I know I can read FSUIPC version number (Ox3304) and then, if necessary, the FS path (0x3E00) and concatenate that with 0x3C00 but it would be nice not to have to. It's not necessary to read 3304. You can just check whether the string starts with \\ (for a UNC path) or the second character ':' (for a full local path like C:\ ...). If neither then prepend the FS path. Regards Pete
mgh Posted August 25, 2012 Author Report Posted August 25, 2012 Thanks for your prompt explanation and helpful tip.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now