Label: ♦english ♦bug report

[226] Typo in documentation of Programming with C interface to Dao

Comment
Hi,
there is a typo in the example :
DValue   buf[3];
DValue   *par[3];
for(i=0;   i<3;   i++)   par[i]   =   &   buf[i];
buf[0]   =   DValue_NewInteger(1);
buf[2]   =   DValue_NewFloat(2.0);
buf[3]   =   DValue_NewMBString(   "abc",   3   );
DaoVmProcess_Call(   vmp,   func,   NULL,   par,   3   );

The buf[3] has to be buf[ 2 ].
Regards.
Comments
Thank you!

Change picture:

Choose file:

123 4
56789 10 11
121314151617 18
192021222324 25
2627282930

fu: Fixed and updated There was a minor bug in storing returned value in the DaoVmProcess structure. Now it is fixed and up ... (Sep.07,23:43)

klabim: ... Ok, I found it. It can be so easy by reading the documentation :- ). I have overseen the keyword glob ... (Aug.21,18:09)

klabim: returning a string from function to c++ code! Hi, I run in some trouble while calling a dao function from the c++ code. The dao function should re ... (Sep.07,19:44)

klabim: sharing vars between scripts Hi, how can I share a variable between 2 scripts in an embedded environment? For example: script 1: ... (Aug.21,17:55)

This site is powered by Dao
Copyright (C) 2009,2010, daovm.net.
Webmaster: admin@daovm.net