mysql-protocol and SDK
[1/5] from: brasilv::tin::it at: 10-Jul-2006 10:03
Hi List,
I've got a little question. I'm trying to use mysql-protocol with a SDK licence, on what
I read about mysql-protocol, it's possible to use it with all rebol products. My question
is: is it possible to include the protocol into a rebol script using the encapsulation
machanism of SDK? Is so, how?
Thank you very much,
Silvia Brandimarte
[2/5] from: greggirwin:mindspring at: 10-Jul-2006 8:38
Hi Silvia,
SB> I've got a little question. I'm trying to use mysql-protocol
SB> with a SDK licence, on what I read about mysql-protocol, it's
SB> possible to use it with all rebol products. My question is: is it
SB> possible to include the protocol into a rebol script using the
SB> encapsulation machanism of SDK? Is so, how?
If you're talking about DocKimbel's MySQL protocol, you should be able
to use the #INCLUDE directive, and the encap preprocessor will build
it in.
http://www.rebol.com/docs/sdk/prebol.html
-- Gregg
[3/5] from: brasilv:tin:it at: 10-Jul-2006 17:09
Hi Gregg,
yes it is, I'm talking about DocKimbel's MySQL protocol, anyway I tried
to use the #INCLUDE directive, but it didn't work.
Do you mean I have to use prerebol.exe instead of enbase.exe? Sorry, but
I'm new with SDK and I'm still confusing these new features and the user
guide was not so clear.
Thanks,
Silvia Brandimarte
[4/5] from: greggirwin::mindspring::com at: 10-Jul-2006 9:31
Hi Silvia,
SB> yes it is, I'm talking about DocKimbel's MySQL protocol, anyway I tried
SB> to use the #INCLUDE directive, but it didn't work.
SB> Do you mean I have to use prerebol.exe instead of enbase.exe? Sorry, but
SB> I'm new with SDK and I'm still confusing these new features and the user
SB> guide was not so clear.
If you have an old SDK (more than 18 months or so), it may not
automatically run the preprocessor. Newer SDK encap tools do it
automatically though. If you run the preprocessor directly, you can
see the script it produces, and then encap that. If that process
works, you may just need to update your SDK to do it in one step. If
that doesn't solve the problem, there's another issue.
-- Gregg
[5/5] from: gabriele::colellachiara::com at: 11-Jul-2006 9:41
Hi Silvia,
On Monday, July 10, 2006, 5:09:36 PM, you wrote:
SB> yes it is, I'm talking about DocKimbel's MySQL protocol, anyway I tried
SB> to use the #INCLUDE directive, but it didn't work.
SB> Do you mean I have to use prerebol.exe instead of enbase.exe? Sorry, but
SB> I'm new with SDK and I'm still confusing these new features and the user
SB> guide was not so clear.
Maybe you're missing other includes? Keep in mind that Enbase does
not include the mezzanine functions automatically. You need to
include them; they're in the SDK source directory. mezz.r should
have all you need; prot.r has all the protocol handlers (if you
need http:// etc) and so on.
Regards,
Gabriele.
--
Gabriele Santilli <gabriele-rebol.com> --- http://www.rebol.com/
Colella Chiara software division --- http://www.colellachiara.com/