Jump to content
Sign in to follow this  
Guest Magma

initialization of variables

Recommended Posts

Guest Magma

Hi all,I'm trying to initialize some variables when my .gau file is loaded. I thought the ModuleInit() would be a good spot to do so but it doesn't seem to work. I simply can't declare a global variable like FLOAT64 tick = GetTickCount(); either because GetTickCount() is not a constant. So where do I initialize these global variables?Thanks,Thomas

Share this post


Link to post
Share on other sites

Most commonly, variable init is handled in the case PANEL_SERVICE_POST_INSTALL...


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites
Guest Magma

Thanks Bill, that seems to work just fine.Thomas

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...