Hello Andrzej !
On 8/4/05, *Carsten Driesner* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Yes, you are right. The com::sun::star::uno::Sequence can only use UNO
based types and not self-defined C++ types. If you only need a container
for your type, just use STL. If you have to use a
com::sun::star::uno::Sequence, you have to define your struct with a
UNO
IDL file.
Regards,
Carsten
OK, so that's what I did - I used the list template.
Now I'm having problems with linking this due to
unresolved externals within the STL. I think my problem
is the same as here :
http://www.codeguru.com/forum/archive/index.php/t-199427.html
but I don't really know how to fix it.
I added VC7/lib to the LIB env var inside the setsdkenv_windows.bat,
but it didn't help.
Any suggestions ?
The office uses not the system stl library ... it uses the stlport lib.
Please grep inside your Makefile for "... $(CC_INCLUDES) ..." and change
it to "... $(CC_INCLUDES) $(STL_INCLUDES) ...".
Further you should use includes inside your code as following:
<vector> instead of <stl/vector> or <vector.h> !
There exists further an example inside the SDK, which already uses the
stl. Please have a look on
"sdk\examples\developersguide\database\driverskeleton".
Cheers,
Andrzej
Regards
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]