Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

COM in 'smart client programming' Downloaded Code

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Please, I need some help on working with COM when
downloading run-time/pre compiled classes from a web
service.
I am currently serializing the object instance into a
binary string, (a method I hoped to use with our current
XML output from our web service), and so have tried to
ensure serialization throughout the classes.
However, I am running into some difficulty when
distributing these classes when they use COM objects - I
know I could use Assembly.CreateInstance, but how do I
retrieve events from the resulting instance? And how
would I pass methods that use REF parameters?

Thanks in advance for you help,
Ben
(bhood@novar.com)
 
At what point does it fail?
During the download, during the copy to the local machine's filesystem, or when you call LoadModule on it to bring it into your CRL?

My first guess would be to look at the security settings on the PC. Accessing the local hard drive is now a privledged operation, and you have to have the proper rights.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top