Re: Running GTK app from CDRom.



On Wed, 2004-07-07 at 14:58, Harring Figueiredo wrote:

 Folks,

 Anyone with experience on running GTK applications (Windows) on CDROM ?
 I would like to know what limitations were found.

I run the GIMP and Gaim off of a USB key.  All you really need to do is
start it with a batch file that:
1. Puts the app bin directory in the path (needed for gimp, but not
gaim).  This will help it find any other ancillary dlls that your app
may need
2. Change to the GTK library bin directory
3. Run the gtk binary.

For example, gaim.bat:
@echo off
cd "\Program Files\GTK\2.0\bin"
start "\Program Files\Gaim\Gaim.exe"

Alternatively, here's gimp.bat
@echo off
PATH=%PATH%;\Program Files\Gimp-2.0\bin
cd "\Program Files\GTK\2.0\bin"
start "\Program Files\Gimp-2.0\bin\gimp-2.0.exe"


Put the batch files on the cd with the GTK libraries and your app and it
should work fine.

Michael


 Thanks,

HF
 


              
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
-- 
Michael L Torrie <torriem chem byu edu>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]