demo\Ice\session: dictionary<Ice::Identity,Hello*> HelloMap; slice compile error

in Help Center
VC2005
ICE 3.3.1
Windows XP
When I compile demo\Ice\session,and I modify the slice define like this:
dictionary<Ice::Identity,Hello*> HelloMap;
but generated code has :
::Ice::ice_writeIdentity(__outS, p->first);
It cause a compile error. Why?
ICE 3.3.1
Windows XP
When I compile demo\Ice\session,and I modify the slice define like this:
dictionary<Ice::Identity,Hello*> HelloMap;
but generated code has :
::Ice::ice_writeIdentity(__outS, p->first);
It cause a compile error. Why?
0
Comments
You need to use the option "--ice".
You need to include the slice that Ice defined.
哈哈,果然是这个原因!!!
编译通过!非常感谢!!!