When compile resource.rc & resource.h print this error
#1 resource.h
#define IDM_MAIN 100
#define IDM_TRAY 101
// blah-blah-blah
POLINK: fatal error: Invalid machine type in object 'E:\projects\c\dogcode\src\resource.h'.
#2 resource.rc
#58 CONTROL "", IDC_TREEVIEW, WC_TREEVIEW, WS_TABSTOP | WS_BORDER | TVS_TRACKSELECT | TVS_INFOTIP | TVS_NOSCROLL | TVS_FULLROWSELECT | TVS_SHOWSELALWAYS, 12, 12, 170, 280, WS_EX_LEFT
#59 CONTROL "", IDC_LISTVIEW, WC_LISTVIEW, WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | LVS_REPORT, 194, 12, 420, 280, WS_EX_LEFT
PORC: E:\projects\c\dogcode\src\resource.rc(58): error: String literal expected (found: L"STRING").
PORC: E:\projects\c\dogcode\src\resource.rc(59): error: String literal expected (found: L"STRING").
So what is this??????????
x64 project, UNICODE defined
PORC: E:\projects\c\dogcode\src\resource.rc(58): error: String literal expected (found: L"STRING").
Remove that L from string ( L"STRING" -> "STRING" ).
Problem is that: VS compile this project with no-error, Pelles C gets error when find Unicode strings, and UNICODE define is NOT worked for his resouce compiler
In resources the strings are always unicode, but PellesC porc doesn't recognize the L prefix for unicode.
Can be a minor bug.