Making Remoting Usefull?

Jamesrye

Member
Joined
Dec 17, 2003
Messages
10
Location
Auckland, New Zealand
Hello all, thanks for looking in.

I seems to me after an extensive anount of looking about that I cant make remoting usefull.

Clearly I am missing something here....

All the applications that I can find load a host, that host has objects and functions, even verables. but here is the kicker, I cant seem to get the object to read any of the hosts verables.

Say for example the host application is a form based application that holds information in a data view. I cant work out how to get the code that is the class object being loaded to be able to reference this DV.

I am inviting you all to make me feel silly and tell me where I am going wrong.

Thanks

James
 
Thanks for the response.

But I find these examples load objects from a dll file. The opjects in the DLL file are what handel the incoming request.

I am able to hold values inside of the dll, but that dll is not able to colect information from the application (server/host) that has loaded it.

I want to write an application that receives information from external hardware. clearly this would need to be done outside of that object but could with ease be handled in the host application.

In short I would like to know how to get the server side object to be able to use public verables that are difined by the form or module that loads the remoting setup that forms the host.

I hope I have made that clear, please let me know if you are unsure of what I mean.

Thanks again

James
 
Getting closer, but still not able to preform what I need.

You see, the client activated object is able to preform function on the server like getting information from a DB, but this would mean that I would need to write the servers values to the db and then read them. I just want to be able to read them strait from the object.

Any more ideas?
 
Not realy.

I am it is reading values from a DV that is backed up to a DB every five min. But the information I am getting a hold of is held in a DV.

I have managed to find a way to do it. I am just checking it out now. If it is ideal I will send you a discription of what I have done. You might find it interesting.

Cheers

James
 
Hello again

While I have the program working fantasticaly on a local machine, when I run it over the internet it runs so slow it is basicaly un usable.

I supose it would have been a good idea to ask the question at the beging, "how fast is remoting"

I am finding that with two machines both on adsl conections, there seems to be at least a one second delay between any request, even if it is just requesting a simple function with no calculation at the server end.

Do you have any sugestions?

Thanks

James
 
When ever you post a message on here there is always the chance you make a fool of yourself to everyone....

Turns out that remoting is super fast.

My problem is that I was pasing the server a fixed length string.

It was HUGE!

and completly un needed, on a local machine it could handle it with ease, but it showed up over the net.

Problem fixed, thanks again

James
 
Im glad it worked out.
You didnt make a fool of yourself, it was just an overlooked item that you now learned from.
 
Back
Top