Zhang Xiaofei a écrit : > Hi Mikhail, > > Thanks for your reply and I hope you had a good vocation. :-) > > I implemented XTempFile_createInstance and createServiceFactory_Static > following your suggestion but encountered an error. Could you have a > look at it and give me some advice? I keep running into type conversion > problems these days. :-[ > > PS: Thank you Michel, I will check the hidden class dependency thing out > in my spare time. :-)
Well, regarding your log, you have the "const" problem. Your parameter is correct, but used incorrectly. If you are a bit paranoid, try to put your parameter in a "const css::uno::Reference<...> &" before the ctor call. You'll see the problem more easily afterwards. It can be a problem hidden in the Visual Compiler too ... Regards, Michel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]