2015-06-19 0:32 GMT+02:00 Jose Alf. <[email protected]>:

> You can get rid of the environment variable using a win32 api call as
> explained here:
>
>
> http://stackoverflow.com/questions/2647429/c-windows-path-to-the-folder-where-the-executable-is-located
>
>
>
>   On Thursday, June 18, 2015 4:45 PM, Hotmail (ArbolOne) <
> [email protected]> wrote:
>
>
> I found the solution, the answer to my problem is
> getenv("ARBOLONE")
>
>
If this is a necessary application sound, it should really be included as a
resource (unless you know, cross-platformness makes that awkward).
If it is something a user needs to pass in, you might want to opt for this
being a commandline argument to your application.

Ruben
------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to