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

World: r3wp

[SDK]

Josh
27-Jul-2006
[575]
I've read through the SDK docs and am probably missing it, but how 
can you set the Company name, Description and version numbers on 
an encapped app?  (So it doesn't say REBOL Technologies in the file 
properties
BrianH
27-Jul-2006
[576]
Do you mean, other than with third-party tools?
Josh
27-Jul-2006
[577x4]
I was assuming there was a way to do this using encap, yes
This is totally fun.  I made new icons for an application and put 
them in with Resource Hacker (suggested by the documentation), but 
the icons change back and forth between mine and REBOLs based when 
I change the name of the .exe file.  Any explanation
?
Maybe it's some sort of cache, I haven't tried a reboot
[unknown: 9]
27-Jul-2006
[581]
I recall (poorly perhaps) that you need to recalc a checksum for 
the whole EXE.
Ashley
27-Jul-2006
[582]
Nope. You just need to make sure that your icon replacements are 
the same size and bit depth. You can then put your replacement icons 
in a .ico file and automate the build process with code like:


 call rejoin ["c:\rebol\bin\ResHacker.exe -addoverwrite " encap-exe 
 "," encap-exe "," to-local-file ico-file ",ICONGROUP,REBOL,1033"]


You can also do the same thing with Company/Version info and a .res 
file:


 call rejoin ["c:\rebol\bin\ResHacker.exe -addoverwrite " encap-exe 
 "," encap-exe "," to-local-file res-file ",VERSIONINFO,1,1033"]


The "switching icons" problem is a Windows thing. Highlight your 
newly created .exe file and select View|Refresh from the file explorer 
menu. This should cycle the Windows icon cache.
Gabriele
28-Jul-2006
[583x2]
Josh: what you see is a Windows icon cache. as long as the program 
name stays the same, windows won't update the icon. i think there's 
a way to force it to flush the cache but i don't know how.
ashley: i'll try your refresh suggestion next time, i remember trying 
it and it didn't work (but maybe i'm wrong)
BrianH
28-Jul-2006
[585]
You can flush the icon cache with TweakUI: In the "Repair" section, 
choose "Rebuild Icons".
Pekr
1-Aug-2006
[586x2]
What does this mean, please? I just tried to upgrade to latest SDK, 
as I use Command on my Linux Fedora Core 1, and older Rebol does 
not know 'unless (which is used in sqlite.r driver). But I got following 
error:


./rebcmd: error while loading shared libraries: libstdc++-libc6.2-2.so.3: 
cannot open shared object file: No such file or directory
I get it only for rebcmd, rebbase, rebol, rebpro are working ...
BrianH
1-Aug-2006
[588]
Perhaps only /Command is loading that library. Do you have that library 
on your system?
Pekr
1-Aug-2006
[589x3]
yes, but pro already works ...
I wonder if I will have to upgrade my old Fedora Core 1, or I just 
can grab the library and put it somewhere? :-)
or I will miss fastcgi ....
BrianH
1-Aug-2006
[592x2]
Does /Pro load that library?
Fedora Core 1 is a bit old...
Pekr
1-Aug-2006
[594x3]
but not needed now .... (fast cgi), I get my sql query result in 
some 0.03 sec even for plain cgi ...., which is nice
yes, pressing enter under the linux midnight commander runs cgi in 
console. I just can't get it to work from browser, but that might 
be another problem ...
btw, here is ldd rebcmd:

[[root-:-linux] bin]# ldd rebcmd#
        libstdc++-libc6.2-2.so.3 => not found
        libm.so.6 => /lib/tls/libm.so.6 (0x00d40000)
        libdl.so.2 => /lib/libdl.so.2 (0x00d64000)
        libc.so.6 => /lib/tls/libc.so.6 (0x00c05000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00bed000)
BrianH
1-Aug-2006
[597]
On Windows, /Pro supports fastcgi - what about on Linux?
Pekr
1-Aug-2006
[598]
not sure, not tried yet, but good suggestion ... so what is the difference 
then? Encryption, odbc?
BrianH
1-Aug-2006
[599]
Command adds encryption, ODBC, Oracle, (slower native) MySQL, and 
SSL.
Pekr
1-Aug-2006
[600]
isn't encryption part of /pro too?
BrianH
1-Aug-2006
[601x2]
After checking, it appears to be.
Command seems to have an "Encryption Level 2" though, which I would 
guess is better.
Gabriele
2-Aug-2006
[603x2]
libstdc++ is required by AGG
most likely you just need a symlink from your version of libstdc++
Pekr
2-Aug-2006
[605x2]
dunno what is symlik, so .... :-) well, my friend suggested me to 
find the library in some rpm and unpack it .... I found it via rmpfind.net
rebcmd is linked towards AGG? So I can use draw for effects, etc, 
to produce on images, even if no X-Win is installed?
BrianH
2-Aug-2006
[607]
By symlink, he means symbolic link. Enter "man ls" on your Linux 
command line without the quotes for more info.
Gabriele
3-Aug-2006
[608x2]
man ln   ;)
petr, yes, it should have the DRAW native afaik. never used command 
for images myself so i haven't tested any of this.
Cyphre
3-Aug-2006
[610]
Pekr: yes, you can use DRAW native in this version of Rebol without 
X-Win.
Pekr
7-Aug-2006
[611x2]
how to prevent security dialog in SDK generated app? I surely don't 
want end user to answer security dialog with mine app :-)
ok, got it, I need to add it to the app header ...
Henrik
7-Aug-2006
[613]
pekr, is that SDK specific? what did you do?
Pekr
7-Aug-2006
[614x3]
I have not tried it yet, but I tried to load a library .....
uh, not sure it was the case, it was one week ago, but I simply go 
the requestor ....
but I think that it is clear now, I need to lower security in header 
for encap ...
Henrik
7-Aug-2006
[617]
didn't know you could do that
Pekr
7-Aug-2006
[618]
yeah, it is in encap docs :-)
Henrik
7-Aug-2006
[619]
so it's encap only?
Pekr
7-Aug-2006
[620]
what do you mean by encap only?
Henrik
7-Aug-2006
[621]
if it only works with encapped programs, not ordinary scripts...
Pekr
7-Aug-2006
[622]
you mean the header trick? I think with encap only ....
Henrik
7-Aug-2006
[623]
ok
Pekr
7-Aug-2006
[624]
encap: [secure none quiet] ; example from docs ...