The depends command (provided by MSVC) provides information on one dll both 
about the other libraries it depends on and the symbols (variables and 
functions) that it exports.  I believe the information is at the right at a bit 
below center in the GUI.  For a ParaView plugin, there are typically only one 
or two functions exported that provide the hooks to allow ParaView to load the 
plugin.

-Ken


On 12/17/08 1:16 AM, "Jacques Papper" <jacques.pap...@gmail.com> wrote:

Ok,

I removed the EXPORTS macro in my header, and it produces the same as setting 
the flag vtkIO_EXPORTS. The library is still not loaded though. So now I'm 
looking at the dependencies and the Initialize function.

Kenneth, how do I go about "making sure that the server manager initialization 
function is properly exported" ? I'm not sure I really understand what you mean 
?

Thanks
Jacques


2008/12/16 David E DeMarle <dave.dema...@kitware.com>
That sounds similar to a bug that Pat Marion fixed for the Streaming
ParaView plugin under windows. His change that fixed it was this:

Index: Client/pqGlobalStreamingViewOptions.h
===================================================================
RCS file: 
/cvsroot/ParaView3/ParaView3/Plugins/Streaming/Client/pqGlobalStreamingViewOptions.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -r1.1 -r1.2
36d35
< #include "pqComponentsExport.h"
40c39
< class PQCOMPONENTS_EXPORT pqGlobalStreamingViewOptions : public
pqOptionsContainer
---
> class pqGlobalStreamingViewOptions : public pqOptionsContainer


On Tue, Dec 16, 2008 at 12:54 PM, Jacques Papper <jpap...@ara.co.uk> wrote:
> Hi all,
>
> I have two plugins for Paraview that used to work fine with ParaView 3.2
> under linux (I used to build them at the same time as ParaView.)
> Now I am using Visual Studio and have compiled the plugins outside of
> paraview. I am able to generate dll for both the server and client plugins.
> (I had to switch the vtkIO_EXPORTS flag on to build the dlls)
> When I launch paraview, only the client side is loaded and when I try to
> load the server side it fails with the message : " * is not a valid Qt
> plugin" ...
> I have found some threads dealing with this but nothing that I can try.
> I have built ParaView and my plugins against the same version of Qt (4.4.3)
> Any help would be greatly appreciated.
>
> Jacques
>
>
> ---------------------------
> This email contains information that is private and confidential and is 
> intended only for the addressee.  If you are not the intended recipient 
> please delete it and notify us immediately by e-mailing the sender.
> Note: All email sent to or from this address may be accessed by someone other 
> than the recipient, for system management and security reasons.
> Aircraft Research Association Ltd.  Registered in England, Registration No 
> 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 
> 196351245
>
>
> _______________________________________________
> ParaView mailing list
> ParaView@paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>



--
David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109
_______________________________________________
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview




   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel

_______________________________________________
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to