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

World: r3wp

[SDK]

Graham
22-Jun-2010
[1638]
Including the wrong source files ?
BrianH
22-Jun-2010
[1639]
There are 5 encap programs, and it's been years since he last encapped 
this app. Maybe he's using enbase, encmd or enpro.
Graham
22-Jun-2010
[1640]
instead of enface
BrianH
22-Jun-2010
[1641]
Or encmdview, yes.
Graham
22-Jun-2010
[1642]
that does sound the most likely cause
BrianH
22-Jun-2010
[1643]
Oh, I just got it, 'funct is a local parameter - that won't even 
be a problem eventually, nevermind my first message :)
Graham
22-Jun-2010
[1644x2]
yes.. it's a parameter to insert-event-func ... as I mentioned above!
I wonder if it should be renamed though in future ...
BrianH
22-Jun-2010
[1646]
Yeah, that mentioning is what I just got :)
Graham
22-Jun-2010
[1647]
to make this less confusing
BrianH
22-Jun-2010
[1648x3]
Tossing in an ASSERT/type [system/view [object!]] into INSEERT-EVENT-FUNC 
would be even less confusing.
INSEERT -> INSERT
ASSERT is supposed to be added in 2.7.8, as a native.
Louis
22-Jun-2010
[1651]
BrianH and Graham, I was using enpro. Using enface instead solved 
the problem. Many thanks!
Graham
15-Aug-2010
[1652]
Trying to see if .net is installed but this gives me an empty block 


 foreach key keys: list-reg/HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Internet 
 Settings\5.0\User Agent\Post Platform" [
                print key
 ]

even though I can see it full of keys in the registry ...
eFishAnt
23-Aug-2010
[1653]
is there a reshack.r wrapper anyone has done?
Maxim
23-Aug-2010
[1654]
I just use Call on reshacker directly.
Gregg
30-Aug-2010
[1655x2]
Steve, I'm sending you what I have via email.
Sent.
Henrik
22-Sep-2010
[1657x3]
if I drag a script onto enface.exe and it encaps successfully, where 
is the script put?
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?