>>>Put your constants in a header file and #INCLUDE it in every PRG that needs them.
>>
>>That could be a solution, thanks a lot. Or I can simply declare them inside LaunchAppAndWait and just move API declaration out.
>
>The benefit of using a header file is that in the future if you add or modify a constant you simple recompile and it goes everywhere.
That's true, thanks again. For this particular program I think I'll be fine with constants inside the program, but I would definitely use this approach in a future.
If it's not broken, fix it until it is.
My Blog