An open API service indexing awesome lists of open source software.

https://github.com/linarcx/win32cross

A sample application to show how develop win32 applications on linux/windows
https://github.com/linarcx/win32cross

Last synced: about 1 year ago
JSON representation

A sample application to show how develop win32 applications on linux/windows

Awesome Lists containing this project

README

          

# Build
## Linux
```
/usr/bin/x86_64-w64-mingw32-gcc -municode -o output.exe main.c
file output.exe
wine ./output.exe
```

## Windows
`%comspec% /k build.bat`

# Troubleshooting
> Error: VsDevCmd.bat encountered errors. Environment may be incomplete and/or incorrect. ** error VsDev.cmd

Open regedit and go to:
`HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor`

Change: `Autorun = "cls"` to: `Autorun = ""`