[02/03] Reference to a non-shared member requires an object reference
Iam currently wirting a vb.net 2003 dll which links to a 3rd party com dll.
I have successfuly created a com class project and registerd the dll using regasm.
There is very little docs (not a surprize) and when calling the below function
ProcessXMLFile("C:\myxl.xml)
I get a bulid error saying "Reference to a non-shared member requires an object reference"
I have found lots of refrences to this error online, but none that help in this situation.
I relise the information is a little thin, not sure I have any more info but if you need more ask and I will try and provide.
Thanks in advance
Re: [02/03] Reference to a non-shared member requires an object reference
What is the code for ProcessXMLFile?
Re: [02/03] Reference to a non-shared member requires an object reference
Edneeis,
Thanks I have managed to get further
I am creating an object "Fred"
and calling as below.
returnmsg = fred.ProcessXMLFile("c:\myxml.xml")
This solves the object Refrence issue although I am now stuck with internal process.xml errors. I am not sure I am creting the correct object.
No one said it would be easy