Jump to content
The simFlight Network Forums

Malfoy

Members
  • Posts

    8
  • Joined

  • Last visited

Malfoy's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Yeah, Finally I found out a way to avoid that error just by excluding that MSVCRT lib in the project. Still, thank you for your help! Best regards Johnson
  2. Hi Pete! Recently I started a MFC project with VC2010 FSUIPC lib linked. When I tried to compile the Project, it turned out an error which said "LIPC.lib" is missing. I went to the forums and read some Threads about this problem. Then I built another static lib project using the lib source files included in the SDK and replaced the original one with it in my MFC project. At first my project was using dynamic link to MFC, everything was going right. But later when i switched into "static link to MFC", the following errors came out: 1>MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in libcmt.lib(typinfo.obj) 1>MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: class type_info & __thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in libcmt.lib(typinfo.obj) 1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library In addition, I am using UNICODE character set in my project. Thank you very much for helping me ! sincerely Johnson
  3. So sad to hear that... I got no exp on that area and Im just a beginner... Btw, I uesd "dependency walker" to analyse those module dlls, found that all those dlls got 2 common exported functions " Importable" &"Linkage" Let me make a silly guess, are those 2 functions working as the "entry point"? Anyway, thank you very much on this. regards johnson
  4. Hi Pete, Seems I am asking a question that have almost nothing to do with FSUIPC, but still, thank you for your help for my previous program. Recently I want to make a program( module dll) that could "run" under FS9,like FSUIPC and other modlules. xD but I know nothing about how to make a fs9 pulgin.. - - so sad... I did find the FS9 SDK on microsoft's website but i don't know which one could helps me. Could you tell me where i could find those documents on making a FS9 pulgin? Thank you! Regards Johnson
  5. Sorry it seems a bit confusing. It is actually a Virtual Flight Evaluation system, using FSUIPC as an interface to set the wind speed spontaneously, however, the wind speed offered by that system is always different that on VATSIM. That's y I want to change the wind speed setting..
  6. Hi Pete, I was making a weather program from fs2004 recently. While I was trying to change the Wind Speed in FS by using NWI, I found it totally doesn't work. Later I found that it was because the Multiplayer-Client is changing the Wind Speed all the time by using offset 2DE8!!!!!! If I changed the wind speed via offset 2DE8 too, that seems working for a few second. But causes a HUGE wind change when that Client trying to set the Wind speed in its value.( Result in Stall/ Overspeed). So I want to know if there's a setting or method that I can change so that FSUIPC will ignore the value being set in offset 2DE8. Thanks!
  7. Thanks SO MUCH!Pete! I've solve the problems above. My weather program seems working well! One more question: I want to know if it is possible to change the setting in FSUIPC by a external program(xD actually in my program). For example if I want to Enable the "Wind Smoothing" function for the user. If that's possible? Again! Thank you for helping !
  8. Hi, every programmer here. I am new to programming and wants to ask some questions about setting the weather in FS2K4 by using FSUIPC in a C++ Program. I know they are some stupid questions. LOL. - - 1) I want to set the wind in the "Global" to 0, so I followed what the tutorial in the SDK said, set the weather DYNAMIC to 0, then call the function, unsigned short Wcommand=NW_CLEAR; FSUIPC_Read(0xC800,2,&Wcommand,&pdwResult); FSUIPC_Process(&pdwResult); I find the NW_CLEAR command did appeared in the LOG, but that seems not working at all,(The Weather in FS still doesnt change...) 2) If i want to set a specific windspeed in "Global", How can I use the struct in the "NewWeather.h" (attached in the SDK)?Could anyone give an easy example of code? 3)After writting all the new weather Data into FS, Do I have to do something like "refreshing" to make the new setting take place? Thank all you guys for helping me!!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.