View Full Version : Can zero \0 character be inserted into a string (ODBC attributes for example)?
9th April 2004, 12:06
I try to register DSN using SQLConfigDataSource. Due to MSDN last parameter of this function have to be "List of attributes in the form "keyname=value". These strings are separated by null terminators with two consecutive null terminators at the end of the list"
But I can not write into script no \0, no $\0
Can yanybody help me, please?
9th April 2004, 12:59
No, it's impossible in the scripting language. You would have to use the System.dll plug-in or write your own plug-in.
9th April 2004, 13:16
In wich case can I use this pluggin?
I found that it has next functions Alloc, Free and Copy. So, can I use them for allocating memory and creating needed string or not? If yes, is there any description of this functions?
Or I have to create own dll with function that adds DSN and use system.dll plugin for calling my function?
9th April 2004, 13:24
9th April 2004, 13:37
Ok. Thank you. I will tray
9th April 2004, 15:29
Can be usefull if NSIS, as $\r, $\n, etc.., has $\0....
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.