I am using Delphi 7 and decided to write a wrapper class around the dynamically loaded dll.
- Code: Select all
hvi := TStepHVI.Create;
try
if hvi.DllAvailable
then
lbl1.Caption := 'Html-Validator is OK'
else
lbl1.Caption := 'Html-Validator CANNOT be loaded';
finally
FreeAndNil(hvi);
end;
Where the dll is loaded in the .Create call. Very simple at the moment, just trying to load and free the dll.
If I use csevalidatorv70.dll, the program runs just fine.
If I use csevalidatorv80.dll the program throws an exception somewhere in the middle of nowhere (not in my code).
If I load one of my Sitestepper dll the code runs fine also.
Any ideas ?
I will upload a zipped Delphi project in about an hour to www.sitestepper.com/downloads/sitestepperhvi.zip (4Kb).
Even if you do not have Delphi installed, look at the cStepHVI.pas file. You will see that I do not do anything special at the moment.
Thanks.



