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

World: r3wp

[SDK]

Anton
3-Mar-2009
[1293]
Weird, try replace svv with system/view/vid ...
amacleod
3-Mar-2009
[1294x6]
For script - ==Object!
For enface: 
** Script Error: Cannot use path on none! value
** Near: probe type? system/view/vid/vid-styles/panel/access
dump-obj: func
Sorry Anton...I'm probing before any of the includes..
try again
** Script Error: Invalid path value: access
** Near: probe type? svv/vid-styles/panel/access
SQLite: make

After Rebol (View) Includes but before your panel include..
** Script Error: Invalid path value: access
** Near: probe type? system/view/vid/vid-styles/panel/access
SQLite: make
Anton
3-Mar-2009
[1300]
Bizarre. What version of encap are you using? I'm looking at  sdk-2.7.5.4.2
amacleod
3-Mar-2009
[1301]
REBOL/Encap 1.2.0.3.1
Anton
3-Mar-2009
[1302]
Oh, that's so old !!!
amacleod
3-Mar-2009
[1303x3]
REBOL/Encap 2.7.6.3.1 (14-Mar-2008
I have that one I guess I'll try that...
I thought I was using the newer one...
Anton
3-Mar-2009
[1306x4]
Yeah, the access functions were added to VID some time after 1.2.1, 
if I remember correctly.
Unless you need compatibility with older versions for some reason, 
I'd definitely recommend using the latest encap version.
2.7.6 should be fine.
I think this step will save you a lot of confusion ! :)
amacleod
3-Mar-2009
[1310x2]
** Script Error: Cannot use path on none! value
** Where: insert-event-func
** Near: insert system/view/screen-face/feel/event-funcs :funct
:funct
** Press enter to quit...
ignore..I used enbase by mistake..
Anton
3-Mar-2009
[1312]
gotta sleep - good luck...
amacleod
3-Mar-2009
[1313x5]
works...!!!!
Thanks Anton...
Lots of misplaced Items though...got to clean it up I guessss
I'm such a dope using the older version....

I think that's rebol inc's fault..I think I got it from them when 
I bought the SDK.
Funny thing is I had version 2.7.6 since it was released...

Version porblem was in the back of my head but I did not realize 
how old a version tehy supplied with the SDK purchase
Back to DLL Problem...
** Access Error: Cannot open sqlite3.dll as library
** Near: *lib: load/library switch/default fourth system/version


Do I need to write the DLL to disk to use it? Or can it run from 
inside encap
The way images are used..
Oldes
3-Mar-2009
[1318]
I think you must save it.
amacleod
3-Mar-2009
[1319x2]
Having the same problem with scripts...mysql-protocol.r

** Access Error: Cannot open /C/Documents and Settings/Alan/Desktop/mysql-protocol.r
** Near: do %mysql-protocol.r
db_IP: mysql://Alan:[Stynki4-:-onfire-:-selfip-:-com]:3306/onfire
do
Its included....#INCLUDE %mysql-protocol.r
Oldes
3-Mar-2009
[1321x2]
so the 'do call is somewhere else.
if you #INCLUDE %mysql-protocol.r than it does not mean that you 
can: do %mysql-protocol.r in your script.
amacleod
3-Mar-2009
[1323]
That's my problem...
Oldes
3-Mar-2009
[1324]
why?
amacleod
3-Mar-2009
[1325x3]
I was 'doing'  the file later in hte script
I need to use a variable
But that means changing a lot of code
Oldes
3-Mar-2009
[1328x2]
which varialble?
you can include the script as a block and do the block if needed
amacleod
3-Mar-2009
[1330x2]
sql_protocol: do #INCLUDE %mysql-protocol.r
Right?
Oldes
3-Mar-2009
[1332x2]
no
sql_protocol: #include-block %mysql-protocol.r
...
do sql_protocol
amacleod
3-Mar-2009
[1334]
ok
Oldes
3-Mar-2009
[1335]
or something like that.. I do not encap
amacleod
3-Mar-2009
[1336]
Will that work for the dll?
Oldes
3-Mar-2009
[1337x2]
so #include-block is not in default prebol.. so use #include-string 
instead
no.. I don't think it will work for dll. But I'm not sure. For the 
dll you should use #include-binary and write it on disk first
amacleod
3-Mar-2009
[1339]
I was hoping to have a version run from a cd-r...makes it hard if 
I have to write to disk..even then how would sqlitew.r find it....
Oldes
3-Mar-2009
[1340x2]
or provide the dlls like other apps do.. using installer:)
if it would be possible to use dlls directlz from memory, the installer 
would not be needed in most cases:)
amacleod
3-Mar-2009
[1342]
I like the no-install option