How to generate _temp.o

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
vlademiro
Posts: 36
Joined: Mon Jun 01, 2020 4:17 am
DBs Used: DBF

How to generate _temp.o

Post 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
User avatar
dragancesu
Posts: 931
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

Re: How to generate _temp.o

Post 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)
vlademiro
Posts: 36
Joined: Mon Jun 01, 2020 4:17 am
DBs Used: DBF

Re: How to generate _temp.o

Post 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 ?
User avatar
AUGE_OHR
Posts: 2117
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: How to generate _temp.o

Post 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
have fun
Jimmy
vlademiro
Posts: 36
Joined: Mon Jun 01, 2020 4:17 am
DBs Used: DBF

Re: How to generate _temp.o

Post by vlademiro »

It's worked. Thanks!
Post Reply