Write your DLL as a COM+ component and then host it in COM+. Check the article on my web site.
FYI, there is no such thing as "asynchronous AJAX". The first A stands for Asynchronous, so it's just plain AJAX.
>What I'm trying to accomplish is to produce a "dashboard" style application where there are several panels or "widgets" each showing different sets of information. I've got a web browser control rendering HTML generated by VFP's text handling capabilities. Because each widget's content is independent of the others and could potentially take longer for some to generate their information, I thought this would be a good candidate to try my hand at multi threading. I'd like to have the dashboard ready to be used for those widgets that have their content generated almost instantaneously and show a "busy" indicator for those that are taking longer. I think they call this "asynchronous AJAX" in the web world :)
>
>Currently I have the widget content being generating in code from a multi threaded dll. A timer is creating the objects from that dll. It appears to work except when a long process is encountered that then holds up the production of the rest of the widgets. So in short, it would appear to me that it is not working as a multi threaded dll :(
>
>Mike
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer