Page 1 of 1
How to generate _temp.o
Posted: Sat Oct 08, 2022 12:24 am
by vlademiro
Hi guys
I'm Harbour/HMG studenty and desire know how to generate _temp.o file with resources. This file is called in hmg64.hbc
Many thanks
Re: How to generate _temp.o
Posted: Sat Oct 08, 2022 11:30 am
by dragancesu
don't need it
build.but does it and if the compilation is successful it deletes it
you should make
project.hbp
project.rc
in project.hbp you should list the programs that make up the project (with clipper it is .lnk)
Re: How to generate _temp.o
Posted: Sat Oct 08, 2022 12:20 pm
by vlademiro
I'm developing a app to run .prg made in Harbour/HMG without need compile. But image and resources doesn't be show. How to embedded hmg / windows resources in my interpreter ? My windows are horrible. Buttons are very ugly. How to generate temp.o ? Another solution exists ?
Re: How to generate _temp.o
Posted: Sun Oct 09, 2022 1:09 am
by AUGE_OHR
hi,
you will get _temp.o when fail to build EXE
you will also find _hmg_resconfig.h and _temp.rc which point to hmg32.rc / hmg64.rc in c:\hmg.3.4.4\RESOURCES\
for your own Resource add a XXXX.RC in same Folder as XXXX.EXE and XXXX.HBP / XXXX.HBC
1st ICON in your XXXX.RC will be display in Explorer / Tasklist etc.
search in \SAMPLE for *.RC for more Information
Re: How to generate _temp.o
Posted: Sun Oct 09, 2022 8:18 pm
by vlademiro
It's worked. Thanks!