kdb interface c, example

Hi I was following the tutorial of kdb-c-api-exmaple http://www.timestored.com/kdb-guides/kdb-c-api-example. First I setup the tickerplant as http://code.kx.com/wiki/Startingkdbplus/tick#6.5\_Running\_the\_Demo. Then I use the example c client subscribe to the tickerplant, but upon receiving data in the client, right after “tbl = kK(r)[2]->k;”, I found tbl->t is “101”, which it is expected to be “98”? Do I miss something here? Thanks

The example is running at windows, also I run the first Query example, and got the return result->t as “1”, NOT 98 or 99 as the following comments: http://www.timestored.com/kdb-guides/kdb-c-api-example

if(result->t!=99&&result->t!=98) // accept table or dict

Thanks for hints!

I made a silly error, forget to set KXVER version. Now example work well. Thanks

can you post your code and your query?

ta, jack

Thanks effbiae! I just downloaded the codes from timestored’s pubic tutorial page. It works fine now.