I think maybe you choose a wrong programming language,
which was written to build the your application.
In my opinion, you must specify your application is
really in need of execution on a specific platform or
multi-platform so that you have a choose a
corresponding programming language building your
application.
When your application is really in need of execution
on Windows platform, you should choose programming
languages like C, C++, Visual Basic, Pascal, Delphi
and so on or your application is run on UNIX platform,
you should choose languages like CC, gcc, g++ and so
on. Otherwise, your application is really in need of
execution for multi-platform, you should choose Java
or C# language.