How to Determine WIIMC Loadpath

Home Forums Development How to Determine WIIMC Loadpath

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #23825
    cadbusca
    Participant

    Within WIIMC code I am attempting to write and readback a file from the same directory WIIMC has been loaded from. Since in this unique situation, I will have multiple copies of WIIMC each in their own directories I cannot use the hardcoded WIIMC APPFOLDER so i need to be able to find the path that that copy of WIIMC was loaded from.
    I’ve been unable to find a function or variable that contains that info. Can anyone provide that information.

    #29683
    rodries
    Keymaster

    This should be in argv[0], which you can access from main()

    #29684
    cadbusca
    Participant

    Got it..thanks.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Login

Lost Password