Menu

#1 PropertyPopulator and COM objects

open
nobody
None
5
2003-04-24
2003-04-24
No

Hi,

I have a COM object that i'm trying to use with a
ThrowawayFormUser Controller. All is well except that
the PropertyPopulator seems to be having trouble
getting the correct type for the COM object. Resulting
in a whole bunch of warnings that the property XXX
doesn't exist for the type System.__ComObject. Well,
of course not. System.__ComObject doesn't have the
properties I want to populate.

I've looked into this a bit and it seems that others too
have a problem Reflecting on COM objects. I've created
an iterop assembly, no luck there. I've also tried
creating a wrapper with:

System.Runtime.InteropServices.Marshal.CreateWrapp
erOfType

Still no luck.

I'm just wondering if anyone has tried this before and
had any success?

Darryl

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.