Link to home
Start Free TrialLog in
Avatar of isingmodel
isingmodel

asked on

bounded versus unbounded in a remotable project

I am getting the following error

"Trying to create a proxy to and unbounded type"

can anybody tell be what that means? what is bounded versus unbounded?
The error pops up on the client side of a remotable project when this line is exectuted

TimeCard = (TimerControl.Class1)Activator.GetObject(typeof(TimerControl.Class1), "tcp://localhost:8080/timingcard");
ASKER CERTIFIED SOLUTION
Avatar of JipFromParis
JipFromParis

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of isingmodel
isingmodel

ASKER

the class is defined in the following manner:

namespace TimerControl {

      public ref class Class1: public MarshalByRefObject

in the c++ dll it comes from.
ok I fixed that problem. turns out I just forgot the Remoting namespace in the header file and to reference the remoting namespace in the p[roject references.