Restored from previous forum. Originally posted by Franco.
... The version of QHTMLight.dll at
http://www.gipsysoft.com/qhtm/qhtmlight.zip is 0.1.5.3 whereas the one in Franco's zip file on the resources site is 0.1.5.2. When I tried version 0.1.5.2 it worked! (I have no idea why this should be!)
Don and PB, I have to apologize!!!
The second source code that I posted had an old DLL call (from an earlier code that I had...).
The name was "qhtmlite.dll" instead of "qhtmlight.dll" (they changed it grr...)
And I had both DLL in the same directory, that's why it worked for me...
Michael,
your changes work well on Win98SE (not tested yet on WinXP - I have to go home for this.)
As soon I tested it on WinXP I will update this file on Paul's resource site!
But I suppose it will...
Thanks a lot
-----------------------
The result of this:
Under WinXP at the 'CreateWindowEx' call the 'hInst' was not needed at all. It worked!!!
I tryed every way to handle this and it worked every time... strange isn't it
Under Win98SE I had to use 'Dll_hWnd' from 'LoadLibrary' and put it instead of the real Instance and it worked.
I assumed that is correct but it was false. ...well that's me
And now under Win2000 it works only if all has the correct setting:
Instance instead of Handle.
Conclusion:
it seems that for a programmer Win2000 is the 'best' WinOS to test the code.
WinXP allows too much false settings... and it runs anyway.
That's really bad!
Sometimes I don't like my OS very much
Have a nice day...
Franco
Sometimes you have to go a lonely way to accomplish genius things.
Edited by - franco on 30 January 2002 00:18:16