hi all,
Within the simpleformer.cpp SampleFloat function, there is a check
made on the passed in 'type' param (which is a csStringId) to see if it
is equivalent to a local stringHeights (also a csStringId).
The local stringHeights within simpleformer.cpp has value 30
accoring to gdb, but the 'type' csStringId param i i pass in has value
0.
This is how i create the 'type' param which i pass to SampleFloat
csRef<iStringSet> strings = CS_QUERY_REGISTRY_TAG_INTERFACE
(objectRegistry,
"crystalspace.shared.stringset",
iStringSet);
stringHeights = strings->Request ("heights");
stringHeights now has value of 0, which of course, is not equiv to the
SampleFloat functions stringHeights (which is 30), and so the function
fails (returns false).
It almost seems as if the strings->Request in my code is operating
on a different set of strings than the strings->Request in
simpleformer.cpp, or maybe i have not setup CS engine correctly ?
I'm using yesterdays cvs, on linux x86. Thanks for any help.
regards,
rod
aka charlie5 (irc)
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]