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

World: r3wp

[SDK]

Ladislav
15-Jun-2009
[1443]
...as one has to do with #include...
 - it depends...
Oldes
15-Jun-2009
[1444]
In R3 I should probably replace it with modules. Your include.r enables 
that?
Ladislav
15-Jun-2009
[1445x2]
Carl wrote, that R3 modules don't support include at this time, check 
the http://www.rebol.net/wiki/Inclusion_Methodsand http://www.rebol.net/wiki/INCLUDE_documentation
texts
(maybe you find what you need)
Oldes
15-Jun-2009
[1447x2]
I have what I need :) I'm just not sure why the #include should be 
replaced. BTW.. I have one own addition into PREBOL - #include-block 
(which includes data as a block as it's with #include-binary)
(I mean the usage of issues for preprocessing directives)
Ladislav
15-Jun-2009
[1449]
undestood
Oldes
15-Jun-2009
[1450]
Also my preprocessor adds comments based on script headers so if 
I include foreign script, the name of the author is present. Like 
for example here: http://box.lebeda.ws/~hmm/rebol/gif_latest.r
Ladislav
15-Jun-2009
[1451]
the headers: yes, that looks like making sense in case the file is 
meant to be published as text
BenBran
12-Aug-2009
[1452]
Anybody know a workaround for this?

from rebcmdview.exe and/or old desktop:

REBOL []
print length? read/lines http://www.google.com	;; works
print length? read/lines http://www.rebol.com	;; works
print length? read/lines https://www.google.com	;; works
halt

11
242
11

encapsulate (encmdface.exe) above and run the exe:

11
242
** Access Error: Invalid port spec: https://www.google.com
** Near: print length? read/lines https://www.google.com
halt
** Press enter to quit...

happens on any https page
Graham
12-Aug-2009
[1453x2]
Yes, check to see if https is installed.
Unless you downloaded the very latest 2.7.6 sdk, you will have that 
issue.  Easy to fix though.
BenBran
12-Aug-2009
[1455x2]
I received this via email. ...rebol-sdk-cmd-z2l7np..... Is there 
another place to download the latest?
I'll send a message to Rebol.  I have 2.5.6. Thx.
Graham
12-Aug-2009
[1457x2]
I googled this http://www.rebol.net/builds/#section-1
not sure why there is no easily found direct link
BenBran
13-Aug-2009
[1459]
Graham, that worked!!!! Thank you very much!!!
Maxim
20-Aug-2009
[1460]
links  were broken on one of the updates to the site when R3 was 
given more space.
Maxim
23-Sep-2009
[1461]
is there are problem with the latest builds of sdk  not  using the 

encap: [title "window title"]

properly?
Dockimbel
23-Sep-2009
[1462]
Works on Windows with SDK 2.7.6.
Maxim
23-Sep-2009
[1463x2]
not here.  windows 2.7.6  also.... very strange.
I tried with enface.exe and encmdview.exe  both give a  tile like 
 "REBOL -      "
Dockimbel
23-Sep-2009
[1465]
Got that prefix only with source version. Once encapped (with enface), 
I get the proper title.
Maxim
23-Sep-2009
[1466]
is your title: ""  assigned to anything in the header?
Dockimbel
23-Sep-2009
[1467]
yes, it's assigned to the same name as in encap/title.
Maxim
23-Sep-2009
[1468]
can you give me the full header? ... I'll just try it as-is to see 
if its a side-effect of the complete header... & or other encap options.
Dockimbel
23-Sep-2009
[1469]
removing that header doesn't change anything as long as the 'encap 
header is there.
Maxim
23-Sep-2009
[1470x4]
thanks ... knowing that the header was not in cause... alllowed me 
to find the true culprit .... some prerebol oditty which wrapped 
my entire code in a block (my fault in how I was using it).
strabge thing is that it was still running after encap... very weird.
(strange)
there is a nice feeling about seeing a 450kb 20 file REBOL script 
being linked as one source , then add another 400 kb of view encap 
code over it and it all works... 

850 kb of REBOL is a hell of a lot of code... I can't imagine how 
much code that would be in C  !!!

:-)
Henrik
23-Sep-2009
[1474]
Some customers also get a little weirded out, when they see that 
my biggest programs take 2-3 seconds to download and about 0.1 seconds 
to install and start.
Ashley
24-Sep-2009
[1475]
I've had that a few times, "where's the rest of the application ..."
amacleod
3-Oct-2009
[1476x2]
I notice the icon of my encapped application displays info about 
rebol -company name, file version etc...

Anyway to get my info and file version for the App in there? If so 
-  Can this be done when encapping or to I need to change it afterward. 
It it indeed the icon that holds this info?
I guess I could use resource hacker...but is there a way to automate 
it during ENCAP
Henrik
3-Oct-2009
[1478]
I wrote a function that called encap followed by reshack to solve 
the problem.
amacleod
3-Oct-2009
[1479x2]
What did you use a reshack script?
I tried to make a reshack script to change the icon image but I could 
not get it to work...will have another look..
Henrik
3-Oct-2009
[1481]
I simply used CALL to call encap and reshack sequentially. Kind of 
a make-file.
Maxim
4-Oct-2009
[1482x3]
I have massive make files like this which do all kinds of script 
fixup, directory creations, zipping of archives, backups... and call 
res hacker... its the easiest way to encap stuff.
note that the icon has to be of an exact specification... you can't 
replace just any icon.  basically, there are 9 sizes/colors in the 
icon, and you have to use EXACTLY the same setup.
in the SDK docs, there is an example of a reshacker script call.
amacleod
4-Oct-2009
[1485]
I've been able to change my icon with res hacker's ui but not via 
a script...i'll have another look at the SDK doc example...
Ashley
5-Oct-2009
[1486]
http://www.dobeash.com/RebGUI/cookbook.html#section-2.3
amacleod
5-Oct-2009
[1487]
Thanks, Ashley, I had seen this help page before but I did not remember 
ResHack stuff in it...Great!
amacleod
13-Dec-2009
[1488x2]
Getting a weird behavior with an encapped app....


It works fine on most computers but on one computer an image in the 
face is not displaying properly...

its as if white space is being added to the right  and bottom sides 
throwing of the layout. 

I tried placing in a box with specific size. THis retains the basic 
layout but the image is squeezed up into a part of the box.
Only a problem on one computer so far ...
as a script I do not see this issue...
Graham
13-Dec-2009
[1490x3]
different OS?
different service pack?
what have you tried so far to debug this?