r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[SDK]

Henrik
22-Sep-2010
[1658x2]
or the exe... but it seems no exe is generated.
found it... but not really where I expected it.
Gregg
22-Sep-2010
[1660]
Yes, I never do that Henrik. I've used a number of systems over the 
years (I think I posted my enlist script on rebol.org), and now generally 
use build and encap scripts, with Ladislav's INCLUDE as the foundation. 
In the encap script I include all the reshacker stuff to set the 
icon and version info.
Maxim
22-Sep-2010
[1661]
I even prebol stuff manually before calling the encap it allows for 
a bit more flexibility and control over the whole process.
Henrik
22-Sep-2010
[1662]
Gregg, I never do it either, but was an "emergency build" that needed 
to be done right then :-)
james_nak
22-Sep-2010
[1663]
Gregg, that would be a good tutorial on encapping with the Gregg 
method. I don't do much encapping so each time is a hit or miss and 
I reshack manually which adds to the time.
Gregg
22-Sep-2010
[1664x2]
I'll put it on my to-do list. I'm caught up up through 1993 now. 


The biggest pain with reshacker is version info. I couldn't get it 
to work with version resources as quickly as I wanted so I cheated 
and pump keystrokes to it.
I have a quick and dirty project generator that spits out the basics 
for simple REBOL projects. I'm not sure it's worth publishing, but 
I'm happy to pass it on to anyone who wants to review and comment.
Dockimbel
22-Sep-2010
[1666]
Gregg: you might also achieve it by bypassing reshack for setting 
version info, wrapping BeginUpdateResource(), UpdateResource(), EndUpdateResource() 
from Windows API (feeding it with GetVersionInfo( ) buffer I guess?).
james_nak
22-Sep-2010
[1667]
Gregg, your work is always appreciated. And yes, I spent a few hours 
with version info myself the last time I had the great idea to change 
that. Which just reminded me that I wonder if I bothered to write 
down what did work... Oh, the insanity, oh the inanity.
Gregg
22-Sep-2010
[1668]
Doc, yeah, I've thought about looking at the APIs as well. Somehow 
I just kept hoping RT would make it automatic for us. :-\ Reshacker 
is really great, but far too old to be using like this today. 

James, I'll zap you what I have to review.
james_nak
22-Sep-2010
[1669]
That's true - I feel like we're little kids trying to do big boy's 
work (MS). :-) Of course if it gets the job done...
Ashley
23-Sep-2010
[1670]
I've got some info on using ResHacker here: http://www.dobeash.com/RebGUI/cookbook.html#section-2.3
james_nak
23-Sep-2010
[1671]
Thanks Ashley. That was the info I used a few weeks back to get out 
of jam.
Graham
4-Oct-2010
[1672]
It would be nice if the sdk encapper didn't overwrite the alternate 
stream when writing out the binary.
amacleod
28-Oct-2010
[1673]
Anyone having issues with win 7, 64 bit running enacapped programs?
Gregg
28-Oct-2010
[1674]
I haven't run a lot of them, but the main things I've hit were permission 
related.
amacleod
28-Oct-2010
[1675x2]
I'm not doing thj etesting but I'm sure my brother tried to run it 
in compatibilty mode with admin rights. He can see it running in 
processes but the window does not open.
Does 2.7.7 fix some probs with win 7. I know they worked on install 
issues with vista and win7 but perhaps other win7 stuff was worked 
on. I'm not using the updated sdk but I will get the update if it 
fixes these issues.
Gregg
28-Oct-2010
[1677x2]
My stuff uses 2.7.6.
Is it a View window or the console that doesn't open?
amacleod
28-Oct-2010
[1679]
view window
Maxim
28-Oct-2010
[1680]
I've had the no window opening problem before... on xp.
amacleod
28-Oct-2010
[1681x2]
win 7 64 bit
works fine in viista and xp
Gregg
28-Oct-2010
[1683]
Just tested a couple here, and they worked fine. Is it a normal PC, 
or could there be some odd video driver issue going on?
amacleod
28-Oct-2010
[1684x3]
I had a report from a user that it did not work on his sys (do not 
know his sys) so I asked my brother to try it. He is using a laptop.
I do not know if anyone else has tried it on win7...any version
If you are bored and have the time to test it i'd appreciate it. 
Here is the link to the program: http://firecaptainnyc.com//clientfiles/captain.exe
Gregg
28-Oct-2010
[1687]
Doing anything funky? Standard VID only?
amacleod
28-Oct-2010
[1688x3]
When it first runs (if) it will download some support files and a 
large database (100megs).
I have some "patches"  in there but nothing too crazy.
gots to run...back in an hour
Gregg
28-Oct-2010
[1691]
So I have to DL 100MB before I can test it?
amacleod
28-Oct-2010
[1692]
If the program runs it will ask you if you want to download it. It 
will quit if you say no but that will atleast tell me that its running 
on your system...If you get any window to open that is further than 
its getting on thses two systems.
Dockimbel
28-Oct-2010
[1693x2]
Amacleod: Win7-32bits here, requester window for downloading the 
DB shows up. Seems to run ok.
Btw, I'm running my current Win-7 session with admin rights.
amacleod
28-Oct-2010
[1695]
Thanks doc...it might be only 64 bits thats an issue? Have you tested 
encapped cheyenne exe's on 64 bit or know of anyone that has?
Dockimbel
28-Oct-2010
[1696x2]
Never tested on 64-bits.
Maybe Graham has done some testing on 64-bits.
GrahamC
28-Oct-2010
[1698]
I've not had any issues with 64 bit windows except for accessing 
obdc
Gregg
28-Oct-2010
[1699]
Works on Win7-x64 for me Alan.
Maxim
28-Oct-2010
[1700]
I think that I've had this issue even in xp when I was starting the 
application using "capture output" of my text editor or something 
like that. 

so that the window app hangs while its trying to connect to the console 
ports.


IIRC you can setup a CALL command in REBOL which ends up doing the 
same thing though I don't remember how.
amacleod
28-Oct-2010
[1701]
Thanks Gregg...Now what! 


I'll have to get my hands on a win 7 machine and play with it I guess...
Maxim
10-Nov-2010
[1702x2]
just thought I'd share my positive experience with a little app I 
just downloaded which *finally* makes creating icons for rebol easy 
and free:


the editing is simple, but its batch mode is really fast and it works 
very well!   just select one file, select all the resolutions you 
need (check out the rebol icon first) and go.

in 2 seconds you have an icon for use by rebol!
I checked a few sites and they all claim it to be free of malware 

http://icofx.ro/
Gregg
11-Nov-2010
[1704]
I've used IcoFX for quite a while. It works well for my simple needs.
Robert
11-Nov-2010
[1705x3]
Does it support batchmode?
Well, it does... just reading the web-site helps.
When I change an icon of an encapped EXE using the latest SDK, the 
EXE no longer works. I get an "not enough memory" error. Any idea?