Using the CSE DLL from .NET

For technical support for all editions of CSE HTML Validator. Includes bug reports.

Using the CSE DLL from .NET

Postby MikeGale » Tue Jun 07, 2005 10:05 pm

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.)
User avatar
MikeGale
Rank VI - Professional
Rank VI - Professional
 
Posts: 604
Joined: Mon Dec 13, 2004 2:50 pm
Location: Tannhauser Gate

Postby MikeGale » Wed Jun 08, 2005 4:04 pm

I spent a few minutes with the type library export tool (in .NET) it didn't recognise the DLL. Worth the effort though.
User avatar
MikeGale
Rank VI - Professional
Rank VI - Professional
 
Posts: 604
Joined: Mon Dec 13, 2004 2:50 pm
Location: Tannhauser Gate

Postby Albert Wiersch » Wed Jun 08, 2005 4:32 pm

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.
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2361
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX

Postby MikeGale » Wed Jun 08, 2005 6:24 pm

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.
User avatar
MikeGale
Rank VI - Professional
Rank VI - Professional
 
Posts: 604
Joined: Mon Dec 13, 2004 2:50 pm
Location: Tannhauser Gate


Return to CSE Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron