COM Callable Library Problem
Brady Kelly <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.clr |
|---|---|
| Message-ID | <[email protected]> |
I've just created a COM Callable C# class library, registered with the
Register for COM Interop option, just for testing. Then I'm using some VBA
code to instantiate the object and call it's only method. When I run the
code below, I get an "Object reference not set to an instance of an object."
error, but my object isn't Nothing.
I suspect the interop to be the problem. Has anyone encountered anything
like this before?
Set pdGen = New PdfGenerator.PdfGenerator <My C# class>
ret = pdGen.GeneratePdf(xmlPath, conn)
===================================
This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com