ScriptBasic
May 19, 2013, 11:41:14 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: The ScriptBasic User, Developer and extension module guides are available at the
WIKI
.
Home
Wiki
Help
Search
Login
Register
ScriptBasic
>
Support
>
General Discussions
>
Embedding into application
Pages:
1
[
2
]
« previous
next »
Print
Author
Topic: Embedding into application (Read 5457 times)
support
Administrator
Posts: 542
Re: Embedding into application
«
Reply #15 on:
August 06, 2010, 12:55:37 AM »
I think Peter Verhas showed you an example above of creating a string from an array that you could
unpack
from your
C
program.
Logged
ScriptBasic Project Manager
Zulfi.Ali
Newbie
Posts: 12
Re: Embedding into application
«
Reply #16 on:
August 06, 2010, 01:25:06 AM »
The example he provided uses unpack inside ScriptBasic... however, my problem right now is how to pack it from my C code so that it can be unpacked inside ScriptBasic (i need the structure of the string array)... I will be passing the array into ScriptBasic
Logged
support
Administrator
Posts: 542
Re: Embedding into application
«
Reply #17 on:
August 06, 2010, 01:44:42 AM »
I would pass your embedded script a delimited string of values and use
SPLITA()
to create your array from the delimited string in your running script.
Logged
ScriptBasic Project Manager
Zulfi.Ali
Newbie
Posts: 12
Re: Embedding into application
«
Reply #18 on:
August 06, 2010, 01:57:24 AM »
Thanks!!
This solves my problem... phew!!
Logged
support
Administrator
Posts: 542
Re: Embedding into application
«
Reply #19 on:
August 09, 2010, 01:40:55 AM »
When you get your project working, it would be great if you can say a few word about your experience with embedding ScriptBasic in your application. Any tips or tricks you can offer would be appreciated.
Logged
ScriptBasic Project Manager
Pages:
1
[
2
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Open Forum
-----------------------------
=> Round Table
=> What's New
-----------------------------
ScriptBasic
-----------------------------
=> Download
=> Tutorials
=> Wish List
-----------------------------
Support
-----------------------------
=> General Discussions
=> Installation
=> ScriptBasic Examples w/source
=> Debugger
=> Source
=> Documentation
-----------------------------
Extension Modules
-----------------------------
=> Extension Modules
===> DLLC
===> DVM
===> Curl
===> mxml
===> IUP
===> CGI
===> MySQL
===> ODBC
===> Berkeley DB
===> PSQL
===> GSL
===> Rlib
===> GTK-Server
===> CIO
===> NT
===> DYC
===> ZLIB
===> RE
===> HASH
===> GD
===> MT
===> T
===> DBG
===> SQLite
===> SBXML
Loading...