charlyg12 Posted February 18, 2010 Report Posted February 18, 2010 Hello, at first I want to say sorry for my english :P My question is how (what offsets) can I show messages in the FS main windows, like this messages that aperas in the top of the main FS windows. Thanks a lot!
Pete Dowson Posted February 18, 2010 Report Posted February 18, 2010 My question is how (what offsets) can I show messages in the FS main windows, like this messages that aperas in the top of the main FS windows. If you just search the offsets list document (in the FSUIPC SDK) for "message text" you'll find offset 3380 for the message (up to 127 characters plus zero terminator) and there get the reference to 32FA which is where it is controlled. It still also talks about AdvDisplay, but that is of course now replaced by FSUIPC's own FS windows. Regards Pete
charlyg12 Posted February 27, 2010 Author Report Posted February 27, 2010 Thanks Pete! I coud send messages succesfully. The new problem is that i want to read the messages writen by another process. For example, Squawkbox send in that way the 122.80 frequency, so I want to make a program that can read this and speach the messages. Is there any way to do this? Thanks Again for your time!
Pete Dowson Posted February 27, 2010 Report Posted February 27, 2010 The new problem is that i want to read the messages writen by another process. For example, Squawkbox send in that way the 122.80 frequency, so I want to make a program that can read this and speach the messages. If it uses FSUIPC offsets to do this (and it won't in FSX) then you should be able to read them from that offset, yes. At least I've not done anything to stop that. Pete
charlyg12 Posted February 28, 2010 Author Report Posted February 28, 2010 Well, i can't read not even what I (the same process) write in that offsets. But i have no problem with the same function reading or writing the 32FA offsets :? I will continue trying. Thanks for your help! PS: I want to congratulate you for the FSUIPC, its a really good job :) Thank you for sharing it with us!
Pete Dowson Posted February 28, 2010 Report Posted February 28, 2010 Well, i can't read not even what I (the same process) write in that offsets. But i have no problem with the same function reading or writing the 32FA offsets :?I will continue trying. Actually, you may be right. Looking at the code it is rather complex, because different programs get messages into different windows -- single line, scrolling line, multiline, and some special treatment for Radar Contact, which was the original multiline window customer and what it was implemented for. I think I had to make the 3380 area write-only because it's meaningless reading it -- the stuff doesn''t really stay there long enough to be useful, and goes to other places not part of the offset system. Sorry for misleading you. Regards Pete
charlyg12 Posted March 5, 2010 Author Report Posted March 5, 2010 Thanks Pete I will try another things so. Regards! Carlos.
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