awakener
July 31st, 2002, 04:05 AM
I need to be able to reference and object whose instance is running
within another application(in VB6 I would use an ActiveX EXE).
To explain better. I have a DLL that is called by the trigger in MSMQ.
This needs to use an object called Restaurant. Therefore an instance
of Restaurant needs to be in memory at all times. To do this we are
attempting to write a Windows Service that holds the instance of the
Restaurant object. We will then use GetObject (or the .NET equivelant)
to reference the Restaurant object. The problem I am having is that
GetObject returns an error saying it can't find an instance of the
object, and can find no help in MSDN for any .NET equivelants.
Does anybody know how to do this in VB.NET?
Cheers
Andy
aoakey@blueprint.net
within another application(in VB6 I would use an ActiveX EXE).
To explain better. I have a DLL that is called by the trigger in MSMQ.
This needs to use an object called Restaurant. Therefore an instance
of Restaurant needs to be in memory at all times. To do this we are
attempting to write a Windows Service that holds the instance of the
Restaurant object. We will then use GetObject (or the .NET equivelant)
to reference the Restaurant object. The problem I am having is that
GetObject returns an error saying it can't find an instance of the
object, and can find no help in MSDN for any .NET equivelants.
Does anybody know how to do this in VB.NET?
Cheers
Andy
aoakey@blueprint.net