.NET Interop and version 8

For topics about current BETA or future releases, including feature requests.

.NET Interop and version 8

Postby MikeGale » Sun Mar 19, 2006 8:17 pm

I would like to see the ability to use the DLL from .NET.

(One approach might be to make the DLL COM compatible and let a developer run the tool that automatically creates an Interop assembly.)

Failing that one approach could be
    Load up config and batch files
    Start invisible CSE process
    Use send-keys to run batch processor
    "Screen scrape" resulting report


While this may work, it isn't attractive. (I've never seen a write up by anyone who's done it.)
User avatar
MikeGale
Rank VI - Professional
Rank VI - Professional
 
Posts: 612
Joined: Mon Dec 13, 2004 2:50 pm
Location: Tannhauser Gate

Postby Albert Wiersch » Mon Mar 20, 2006 9:03 am

Making the DLL COM compatible sounds like a great idea, but I am unfamiliar with COM. I have added it to my to-do list but it is unlikely I will be able to get to it for CSE HTML Validator v8.0.

I would think that you could still use the DLL from .NET, only it might be a bit more difficult. We have documentation on how to use the DLL using the exported functions. We also have pseudo code that should help. Please have a look at these links:
http://www.htmlvalidator.com/htmlval/developer.html
http://www.htmlvalidator.com/htmlval/de ... ordll.html
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2435
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX

Postby MikeGale » Mon Mar 20, 2006 6:12 pm

Thanks Albert.

I've had a look at the material you mentioned. I'm impressed with it but not yet ready to jump in. I suspect it will take more time than I currently wish to spend.

(The easiest approach might be to try the VB code, load up it's dependencies (compiler, MSXML 2.6 and RegEx 5.5) and see what happens. If, as suspected, I need more, then I have a choice. Stick with VB6 or take it to .NET. With a possible choice of .NET. With tests, coverage and docs quite a lot of work. The .NET world is currently producing a lot of abysmal markup so, if enough people realise, I might be lucky and find others to maintain the code base after I get started!)

(I've also got away from the COM world in a lot of ways and am now more comfortable with .NET assemblies.)
User avatar
MikeGale
Rank VI - Professional
Rank VI - Professional
 
Posts: 612
Joined: Mon Dec 13, 2004 2:50 pm
Location: Tannhauser Gate


Return to CSE BETA Talk

Who is online

Users browsing this forum: No registered users and 1 guest

cron