Support > General Discussions

Embedding into application

<< < (4/4)

Support:
I think Peter Verhas showed you an example above of creating a string from an array that you could unpack from your C program.

Zulfi.Ali:
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

Support:
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.

Zulfi.Ali:
Thanks!!

This solves my problem... phew!!

Support:
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.

Navigation

[0] Message Index

[*] Previous page

Go to full version