Joiner

Joiner

Postby Natter » Mon Aug 04, 2008 7:08 pm

Hi everything !
How to write joiner on xHarbour ?
Natter
 
Posts: 1222
Joined: Mon May 14, 2007 9:49 am

Postby Antonio Linares » Tue Aug 05, 2008 4:47 am

Natter,

What do you mean by "joiner" ? Please explain it or post an example, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42111
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Natter » Tue Aug 05, 2008 7:03 am

Yes, excuse me. I want paste together two files - file.(BMP/GIF/JPG) + file.EXE=file.BMP/GIF/JPG. It do by programm named JOINER usually. I created this. It work fine (when I open file.BMP/GIF/JPG - picture and EXE will actived simultaneously). But JOINER use for write trojan usually and all antivirus programms note about this. What me do this time ?
Natter
 
Posts: 1222
Joined: Mon May 14, 2007 9:49 am

Postby Antonio Linares » Tue Aug 05, 2008 8:09 am

Better place the image files inside the RC file, and the resources compiler will automatically embed them inside the EXE.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42111
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Natter » Tue Aug 05, 2008 9:17 am

I insert my picture to other application
Natter
 
Posts: 1222
Joined: Mon May 14, 2007 9:49 am

Postby Antonio Linares » Tue Aug 05, 2008 9:33 am

Natter,

If your main PRG is Test.prg, then create a Test.RC and add this line:

myname BITMAP "abitmap.bmp"

the resources compiler will place abitmap.bmp inside your EXE
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42111
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Natter » Tue Aug 05, 2008 9:48 am

Antonio, I insert picture into strange application. I not my EXE
Natter
 
Posts: 1222
Joined: Mon May 14, 2007 9:49 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 62 guests