[gme-users] OTIF ToolAdapter cannot be GME plugin!?

Sandeep Neema sandeep at isis.vanderbilt.edu
Mon Aug 16 21:46:03 CDT 2004


You may want to check the dependency list (use "Depends" utility
included with VC6.0) of your DLL after adding the PICML.cpp to the
project. Possibly it depends on the xerces DLL which may not be in your
path, and hence the component execution is failing -

Rgds,
Sandeep

--
Sandeep Neema
Research Scientist,
Institute of Software Integrated Systems, Vanderbilt University
Phone: 615-343-9996
Email: sandeep.k.neema at vanderbilt.edu

-----Original Message-----
From: gme-users-bounces at list.isis.vanderbilt.edu
[mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of
Gabriele A. Trombetti
Sent: Monday, August 16, 2004 8:42 PM
To: gme-users; udm-users
Subject: [gme-users] OTIF ToolAdapter cannot be GME plugin!?

Hi all,
I'm trying to make an OTIF ToolAdapter inside a GME plugin. It doesn't 
seem to be possible.
The GME plugin works, until the moment in which I add the PICML.cpp file

to the project (UDM generated cpp file "-c version" from the PICML gme 
metamodel): at that point the VC6.0 project compiles and links correctly

but in GME the icon of the plugin becomes "??" and if I click on it, it 
says "Component execution failed". Trying to remove the plugin and 
re-register it from GME fails saying "Error while installing component 
(0x80004005): Object was not found"

If I remove the PICML.cpp from the VC6.0 project and do a Rebuild All, 
the component starts to work correctly again.

This is the Release version (the debug version of the OTIF stuff does 
not work correctly by itself so I cannot use it)

I am also linking the static libraries required for the OTIF 
tooladapters, as recommended by the manual, but linking those libraries 
*alone* (just putting them in the VC6 project linker settings) does not 
cause the problem (I guess those .libs they are not really used until I 
add the PICML.cpp to the project)

Any ideas to work around this problem?

Thank you
Gabriele
_______________________________________________
gme-users mailing list
gme-users at list.isis.vanderbilt.edu
http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users


More information about the gme-users mailing list