Page 1 of 1

Using the CSE DLL from .NET

Posted: Tue Jun 07, 2005 10:05 pm
by MikeGale
I see there is documentation for using the CSE DLL from C and there is a COM wrapper.

Has anyone produced a .NET interop assembly?

(I'm most interested in an official PIA, Primary Interop Assembly, rather than a no name brand assembly.)

Posted: Wed Jun 08, 2005 4:04 pm
by MikeGale
I spent a few minutes with the type library export tool (in .NET) it didn't recognise the DLL. Worth the effort though.

Posted: Wed Jun 08, 2005 4:32 pm
by Albert Wiersch
I would think there would be a way to use the DLL from .NET, but I am not familiar with how that would work. The only officially supported interface to the DLL is the C interface. That's what CSE's editor uses.

As you've found, it is documented here:
http://www.htmlvalidator.com/htmlval/de ... ordll.html

Unfortunately, I do not know of anyone using an interface other than the old command-line way or the C interface.

Posted: Wed Jun 08, 2005 6:24 pm
by MikeGale
Hi,

I generally try to steer clear of interop. The automated tools assume an interface with IDispatch etc. There are other ways to use DLL's, but I'm not going to explore that immediately.

I was hoping for work already done.

The standard interfaces look like the immediate answer.