Author Topic: Embedding into application  (Read 25556 times)

Support

  • Administrator
  • *****
  • Posts: 22
    • View Profile
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.


Zulfi.Ali

  • Guest
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

Support

  • Administrator
  • *****
  • Posts: 22
    • View Profile
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.


Zulfi.Ali

  • Guest
Re: Embedding into application
« Reply #18 on: August 06, 2010, 01:57:24 AM »
Thanks!!

This solves my problem... phew!!

Support

  • Administrator
  • *****
  • Posts: 22
    • View Profile
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.