• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Search results

  1. Thomas Couto

    Error compiling my Gauge

    I'm trying to compile my C files to get my .gau but I got a lot of errors... What am I doing wrong? I'm using CodeBlocks and bellow there are my Bip.c (main class, there is another .c), the errors I got and my MakeFile. // Bip.c // Copyright (c) 2008 Thomas Couto. All rights reserved...
  2. Thomas Couto

    FSUIPC Question

    Hello, I'm learning how to connect FS2004 to my C app using FSUIPC. I obtained the MSFS Time but I coudn't get the Year, Month, Day and other vars... What am I doing wrong? if (!FSUIPC_Read(0x238, 4, chTime, &dwResult) || !FSUIPC_Process(&dwResult)) { fTimeOk = FALSE; } ... ... ...
  3. Thomas Couto

    C Gauges Development

    Hi people, sound related questions has been made and is fully working. thank you! ============== Solved! :D I just changed to inp[0].ki.dwFlags |= KEYEVENTF_KEYUP; and now works well! Bye :) ============== I got other problem about simulated keypress. I'm coding a prototype to test in a...
  4. Thomas Couto

    C Gauges Development

    Hi n4gix, thanks for the help. I found the dll at http://www.farmboyzimsflightsims.com/zipfiles_51/GaugeSound.dll. I would like to know if you have some guide about this dll, like the methods or variables that I can call from this file. Thank you so much.
  5. Thomas Couto

    C Gauges Development

    I would like to ask you another thing: I need to play sound in my gauge, do i need to use fssound.dll? I didn't find anything about this at FS9 SDK. Thank you all
  6. Thomas Couto

    C Gauges Development

    Everthing is working now Si, thank you VERY much. :)
  7. Thomas Couto

    C Gauges Development

    Thanks Si and n4gix. Now I have only this error: LIBCMTD.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup I have not a main() method at my C files. My output file is: $(OutDir)\$(ProjectName).gau At Configuration Type I...
  8. Thomas Couto

    C Gauges Development

    Thanks for the information LAVRIK, it works but I got another error... What can it be? Thanks! ------ Build started: Project: Gauge, Configuration: Debug Win32 ------ Compiling resources... Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0 Copyright (C) Microsoft Corporation...
  9. Thomas Couto

    C Gauges Development

    Trying to compile the files, I got some errors: bip.engine.c(6) : error C2065: 'GAUGE_NAME' : undeclared identifier At this line: char engine_gauge_name[] = GAUGE_NAME; But GAUGE_NAME is actually defined at Bip.c: #define GAUGE_NAME "Engine\0" #define GAUGEHDR_VAR_NAME...
  10. Thomas Couto

    C Gauges Development

    I Started studying gauges because I need to build one that controls windows mixer microphone volume (record settings), is it possible using XML gauges? Probably not. What do you say? Thanks in advance
  11. Thomas Couto

    C Gauges Development

    I'm building gauges for FS2004, can I use fsxgauges_sp2.h ? Thank you for the help and I'm downloading visual c++
  12. Thomas Couto

    C Gauges Development

    I started programming gauges about 3 weeks, I'm Java developer and I've some ideas about C. I downloaded sd2gau23.zip guide to learn about FS Gauges and at this file there are some C gauges codes. When I tried to compile, I saw that some file are missing: - fssound.h - eventid.h - gauges.h...
Back
Top