C++ coding windows programs on linux

Viewed 59

So I want to code an application for windows that will interact with the os using windows api on linux so i am calling the windows api like this in my code:

#include <windows.h>

But since i am on linux and that windows.h does not exists in my computer the ide is flagging errors and dont let me see the functions of the api. When I cross compile the code with mingw everything works perfectly but I am just not able to see the functions of the api and this is the problem because i dont want to code on windows. What do you suggest me to solve or counter this problem without using a windows machine? Thx

0 Answers
Related