I'm getting an error when I pass "User" in "report.HasBeenAccesedBy(ref
User,ref UserN);" I have created the iL to see if there is something
incorrect.
..method public hidebysig newslot abstract virtual
instance bool HasBeenAccesedBy([in][out] class LDD.User&
marshal( interface) aUser,
[in][out][opt] string&
marshal( bstr) aUserID) runtime managed internalcall
and is failing in the marshal(interface). but not sure what else to
try. Any help would be appreciated.
LDD.UserRepositoryClass PRC;
PRC = new PRDS_ORAL.UserRepositoryClass();
LDD.UserClass User;
User = (LDD.UserClass)PRC.UserByID(ref UsrID);
LDD.ReportCollectionClass reports;
reports = (LDD.ReportCollectionClass)User.UnaccesedReports(r ef UserN);
for ( int count = 1;count<=reports.Count;count++)
{
LDD.ReportClass report;
report = (LDD.ReportClass)reports.get_ItemByIndex(ref count);
report.HasBeenAccesedBy(ref User,ref UserN);