This is windows 7 64 bit. I would point out the the exact same code executed against the 4.8.1 libraries works perfectly.<br><br><div class="gmail_quote">On Thu, Jun 21, 2012 at 1:19 PM, Ruslan Zasukhin <span dir="ltr"><<a href="mailto:ruslan_zasukhin@valentina-db.com" target="_blank">ruslan_zasukhin@valentina-db.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 6/19/12 8:10 PM, "Chris Jones" <<a href="mailto:cjones@daz3d.com">cjones@daz3d.com</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> I am attempting the 5.0 beta of the vsdk, when I'm working normally (talking<br>
> to a server) it seems to be working, but when I activate a ram only mode I get<br>
> a bad table pointer back. So I have a simple Boost test that looks like the<br>
> following:<br>
><br>
><br>
> BOOST_AUTO_TEST_CASE( TestTablesCreated )<br>
> {<br>
> I_Database_Ptr valDB = s_db->getVDatabase();<br>
> BOOST_REQUIRE( valDB.IsNotNull() );<br>
><br>
> BOOST_REQUIRE_EQUAL(valDB->get_TableCount(),18);<br>
> IDzDBObjectList list = s_db->getRegisteredObjects();<br>
> IDzDBObjectIterator iter(list);;<br>
> while(iter.hasNext())<br>
> {<br>
> IDzDBObject* curObj = iter.next();<br>
> QString tableName = curObj->getTableName();<br>
> I_Table_Ptr tab = valDB->get_Table( toString(tableName) );<br>
> BOOST_REQUIRE(tab);<br>
><br>
> QVector<DzTableField*> fields = curObj->getColumnInfo();<br>
> BOOST_REQUIRE_EQUAL(fields.count(),tab->get_FieldCount());<br>
> BOOST_REQUIRE_EQUAL(fields.count(),fields.capacity());<br>
> }<br>
> }<br>
><br>
> The db is valid. The table count is correct. The toString() is a simple<br>
> conversion function to Valentina's string which I use elsewhere with no<br>
> issues. However the return value that gets returned from get_Table is not<br>
> NULL its an invalid pointer.<br>
<br>
</div></div>We talking about MAC OS here?<br>
<br>
If yes, you should have crash log on hands.<br>
<br>
Also make sure that you have EXACTLY this order of calls:<br>
Valentina.Init()<br>
Valentina.InitClient()<br>
<br>
If you use BOTH: VKERNEL + VCLIENT, then vkernel must be inted first,<br>
To force usage of ICU library.<br>
<br>
Otherwise will be not predicted results for strings in vkernel<br>
<div class="im HOEnZb"><br>
<br>
--<br>
Best regards,<br>
<br>
Ruslan Zasukhin<br>
VP Engineering and New Technology<br>
Paradigma Software, Inc<br>
<br>
Valentina - Joining Worlds of Information<br>
<a href="http://www.paradigmasoft.com" target="_blank">http://www.paradigmasoft.com</a><br>
<br>
[I feel the need: the need for speed]<br>
<br>
<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Valentina mailing list<br>
<a href="mailto:Valentina@lists.macserve.net">Valentina@lists.macserve.net</a><br>
<a href="http://lists.macserve.net/mailman/listinfo/valentina" target="_blank">http://lists.macserve.net/mailman/listinfo/valentina</a><br>
</div></div></blockquote></div><br>