The DLL function is when LO open a .wps file(this file format is very common in china and not supported in LO yet), the DLL convert the .wps file into .odt format and open it.<div><br><br><div class="gmail_quote">2012/3/23 Tor Lillqvist <span dir="ltr"><<a href="mailto:tml@iki.fi">tml@iki.fi</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">> I don't open DLL files, I invoke DLL's function. for example, when LO open a<br>
> .txt file, my program(DLL function) handle something first and then let's LO<br>
> process continue.<br>
<br>
</div>OK. Then you need to look into customization of LO using some<br>
extension and modification of the configuration so that what you say<br>
happens. I have no idea how to do that, let's hope somebody else<br>
follows up. You probably have a bit too optimistic view of how easy it<br>
is going to be... be warned that you will have to read into quite a<br>
lot of documentation, do a lot of experimentation, etc.<br>
<br>
Can you tell *why* you want to do this, by the way? What is the<br>
high-level goal? We might be ableto tell you better ways to achieve<br>
the same end result. Or, in case there is some reason for your users<br>
to want to avoid your code being called when they open a document,<br>
tell you how easy it will be for users to circumvent your attempts...<br>
<br>
--tml<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>内蒙古蒙科立公司<br>胡其图<br><a href="mailto:email%3Ahuqitu@gmail.com">email:huqitu@gmail.com</a><br>
</div>