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
did.
Does this class have to inherit from the ServicedCompone nt class?
If I do not inherit from the ServicedCompone nt class I get a "COM
Interop registration failed. Could not find a type library for assembly
'DatabaseParame ter'."
If I do inherit from the class I get an error that says
C:\Documents and Settings\chris. olsen\My Documents\Visua l Studio
Projects\LABCOM \NUnitTests\Exe cuteNonQuery_Te sts.vb(300): Value of type
'1-dimensional array of ABLearning.Data baseParameter' cannot be
converted to '1-dimensional array of ABLearning.Data baseParameter'
because 'ABLearning.Dat abaseParameter' is not derived from
'ABLearning.Dat abaseParameter' .
The above is the wierd part since it is having problems converting
DatabaseParamet er to DatabaseParamet er
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\CO M+Applications\ LABCOM folder. Since the dataaccess
(LABCOM) contains the DatabaseParamet er class as arguements a copy of
the DatabaseParamet er class is also created in the same folder.
I really need some help on this one. Thanks
create a serializable class that would allow me to do this, which I
did.
Does this class have to inherit from the ServicedCompone nt class?
If I do not inherit from the ServicedCompone nt class I get a "COM
Interop registration failed. Could not find a type library for assembly
'DatabaseParame ter'."
If I do inherit from the class I get an error that says
C:\Documents and Settings\chris. olsen\My Documents\Visua l Studio
Projects\LABCOM \NUnitTests\Exe cuteNonQuery_Te sts.vb(300): Value of type
'1-dimensional array of ABLearning.Data baseParameter' cannot be
converted to '1-dimensional array of ABLearning.Data baseParameter'
because 'ABLearning.Dat abaseParameter' is not derived from
'ABLearning.Dat abaseParameter' .
The above is the wierd part since it is having problems converting
DatabaseParamet er to DatabaseParamet er
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\CO M+Applications\ LABCOM folder. Since the dataaccess
(LABCOM) contains the DatabaseParamet er class as arguements a copy of
the DatabaseParamet er class is also created in the same folder.
I really need some help on this one. Thanks
Comment