By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,033 Members | 1,285 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,033 IT Pros & Developers. It's quick & easy.

COM+ question

P: n/a
I am passing parameters to a dataccess COM+ object so I needed to
create a serializable class that would allow me to do this, which I

Does this class have to inherit from the ServicedComponent class?

If I do not inherit from the ServicedComponent class I get a "COM
Interop registration failed. Could not find a type library for assembly

If I do inherit from the class I get an error that says

C:\Documents and Settings\chris.olsen\My Documents\Visual Studio
Projects\LABCOM\NUnitTests\ExecuteNonQuery_Tests.v b(300): Value of type
'1-dimensional array of ABLearning.DatabaseParameter' cannot be
converted to '1-dimensional array of ABLearning.DatabaseParameter'
because 'ABLearning.DatabaseParameter' is not derived from

The above is the wierd part since it is having problems converting
DatabaseParameter to DatabaseParameter
If I go with the second altenative what is the proper way to reference
the dll's? Currently I am addin the dll's as references that reside in
the ProgramFiles\COM+Applications\LABCOM folder. Since the dataaccess
(LABCOM) contains the DatabaseParameter class as arguements a copy of
the DatabaseParameter class is also created in the same folder.

I really need some help on this one. Thanks

Feb 7 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a
I got everything worked out. I moved the class that was giving me the
problems within the COM+ project and that, along with a few little
things, got everything up and working

Feb 7 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.