I implemented the workaround you told me about and I managed to get past the QuryThreadCycleTime, however, now that every call to the kernel is resolved, Shell32 argues about the SHGetKnownFolderPath function.
HRESULT SHGetKnownFolderPath(
REFKNOWNFOLDERID rfid,
DWORD dwFlags,
HANDLE hToken,
PWSTR *ppszPath
);
And I tried to link against my faked Shell32.dll that I put inside the folder in order to dynamically load it ('cause XP doesn't have the function), however Windows ignores my fake Shell32.dll and uses the one in System32, which of course makes the program fail to load.
Anyway even when I managed to make it use my modified version of Shell32 (that was reporting the directory successfully to the caller Chrome_elf.dll), it didn't work. Well, I managed to make it load, however it was pretty much useless as the UI is broken and it didn't render any page.
Note that what you are seeing in the background is my Desktop, 'cause up there there was supposed to be part of the UI, but since I've brutally commented out several parts of the UI and replaced with other code, it clearly failed to load and it showed up some pretty bad glitches when I tried to open other tabs and move the Windows. Oh, and the reduce to icon, maximize and close buttons pop up only if I move my mouse over them and they don't work if I click on them. Anyway, the very bad thing is that I can't render any page, 'cause even though the calls are fine and the engine works, I have probably screwed up somewhere when I changed how it was referencing the webkit because I had to write down some new "artistic" way to do it and I've done something wrong for sure. Debugging? Sure, except for the fact that there there is a ***** amount of lines and I have no clue where the problem lies as it compiles, the compiler (Borland) doesn't argue and the coding assistant doesn't show any red squiggly lines and the other suggestions are just bogus. I'm on my own and I don't know how to get past this point.
The very same thing happens when I target Vista, except for the fact that the UI does load slightly more correctly, however I can't get pages to work correctly, so sorry Vista users, you're not gonna get a late Easter present from me.
I'm not gonna keep going on with this. At least not now, as I don't have time and I don't wanna stare at the code wondering what I did wrong. As I said before, I'm a broadcast engineer, so this is not really my field of expertise and although it's a good exercise, I have many other more important things to do for my job and my academic career, so I'm not gonna spend any more time on this. I've already shared the things I've done and the compiled version with the installer on the Windows XP Forever group and if someone else there wants, I'll share the source code and everything else, but I don't think they'll have time to keep this going either.
I'm sorry if I made you hope that this was going to work, but as you can see, I've done my best... literally...
Good afternoon from a p***ed off FranceBB...