Click here to Skip to main content
15,887,214 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Arrrgh Win32! Pin
honey the codewitch21-Sep-23 15:10
mvahoney the codewitch21-Sep-23 15:10 
GeneralRe: Arrrgh Win32! Pin
David O'Neil21-Sep-23 15:21
professionalDavid O'Neil21-Sep-23 15:21 
GeneralRe: Arrrgh Win32! Pin
honey the codewitch21-Sep-23 15:23
mvahoney the codewitch21-Sep-23 15:23 
GeneralRe: Arrrgh Win32! Pin
David O'Neil21-Sep-23 15:09
professionalDavid O'Neil21-Sep-23 15:09 
GeneralRe: Arrrgh Win32! Pin
Kornfeld Eliyahu Peter21-Sep-23 19:12
professionalKornfeld Eliyahu Peter21-Sep-23 19:12 
GeneralRe: Arrrgh Win32! Pin
honey the codewitch22-Sep-23 1:02
mvahoney the codewitch22-Sep-23 1:02 
GeneralRe: Arrrgh Win32! Pin
honey the codewitch22-Sep-23 2:32
mvahoney the codewitch22-Sep-23 2:32 
AnswerRe: Arrrgh Win32! Pin
enhzflep23-Sep-23 18:59
enhzflep23-Sep-23 18:59 
Use Resource Hacker: Resource Hacker

It'll create the RC fles as per normal, or you can get it to spit out the C code for creating a drawn dialog.
It's what I use whenever I'm doing windows stuff with gcc.

Here's one of the lines during the build:
windres.exe   -J rc -O coff -i C:\Users\enhzf\DOCUME~1\code\GALLER~1\resource.rc -o obj\Debug\galleryPreview\resource.res

Can't remember the linking one, and unfortunately, this project won't build on this machine yet.

EDIT: still won't build, but I got it to spit out the linking line. Nothing special - just include the res file.
g++.exe  -o bin\Debug\galleryPreview.exe obj\Debug\cStaticLink\cStaticLink.o obj\Debug\galleryPreview\main.o obj\Debug\galleryPreview\network.o  obj\Debug\galleryPreview\resource.res  -lgdi32 -luser32 -lkernel32 -lcomctl32 -lws2_32 -lOle32 -lwinmm

GeneralRe: Arrrgh Win32! Pin
honey the codewitch24-Sep-23 1:09
mvahoney the codewitch24-Sep-23 1:09 
Generalcannot use MS Teams any more - what can I do? Pin
DGrothe-PhD21-Sep-23 5:46
DGrothe-PhD21-Sep-23 5:46 
GeneralRe: cannot use MS Teams any more - what can I do? Pin
k505421-Sep-23 6:22
mvek505421-Sep-23 6:22 
GeneralRe: cannot use MS Teams any more - what can I do? Pin
Gerry Schmitz21-Sep-23 6:34
mveGerry Schmitz21-Sep-23 6:34 
GeneralRe: cannot use MS Teams any more - what can I do? Pin
Al Fargnoli21-Sep-23 7:56
Al Fargnoli21-Sep-23 7:56 
GeneralRe: cannot use MS Teams any more - what can I do? Pin
dandy7221-Sep-23 10:19
dandy7221-Sep-23 10:19 
GeneralRe: cannot use MS Teams any more - what can I do? Pin
DGrothe-PhD22-Sep-23 3:10
DGrothe-PhD22-Sep-23 3:10 
GeneralRe: cannot use MS Teams any more - what can I do? Pin
Sander Rossel21-Sep-23 21:46
professionalSander Rossel21-Sep-23 21:46 
GeneralRe: cannot use MS Teams any more - what can I do? Pin
DGrothe-PhD22-Sep-23 3:27
DGrothe-PhD22-Sep-23 3:27 
GeneralRe: cannot use MS Teams any more - what can I do? Pin
obermd22-Sep-23 3:57
obermd22-Sep-23 3:57 
GeneralRe: cannot use MS Teams any more - what can I do? Pin
DGrothe-PhD22-Sep-23 4:12
DGrothe-PhD22-Sep-23 4:12 
GeneralWell I used to know Serial Ports Pin
glennPattonWork321-Sep-23 2:31
professionalglennPattonWork321-Sep-23 2:31 
GeneralRe: Well I used to know Serial Ports PinPopular
Mircea Neacsu21-Sep-23 3:01
Mircea Neacsu21-Sep-23 3:01 
GeneralRe: Well I used to know Serial Ports Pin
glennPattonWork321-Sep-23 3:09
professionalglennPattonWork321-Sep-23 3:09 
GeneralRe: Well I used to know Serial Ports Pin
Mircea Neacsu21-Sep-23 3:16
Mircea Neacsu21-Sep-23 3:16 
GeneralRe: Well I used to know Serial Ports Pin
crapcoder67021-Sep-23 3:57
professionalcrapcoder67021-Sep-23 3:57 
GeneralRe: Well I used to know Serial Ports Pin
Mike Hankey21-Sep-23 4:17
mveMike Hankey21-Sep-23 4:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.