DllCompat
DllCompat copied to clipboard
GetFinalPathNameByHandleW crashes with error messages when trying to run Firefox 61
This is very unusual use, but I forward some functions inside One-Core-API's kernel32 to kernel3x.dll. When forwarding GetFinalPathNameByHandleW to kernel3x.dll I get two error messages when loading Firefox 61 on Windows Server 2003 SP2 RUS. First I get "Yay!" and the second one "Filesize=0..."

I don't really know how you can reproduce it, I can share some OCAPI's dlls with all forwards.
yeah they are "important" debug messages... the "yay" is because of the method that it expects to receive the path... and the second is because our implementation require the file to be allowed to be mapped, so we can get a name... so i added the debug to see if there's any case where we need to improve this function... (basically a total extra complex rewrite :P)
Em ter, 2 de out de 2018 às 22:43, Svyatpro [email protected] escreveu:
I don't really know how you can reproduce it, I can share some OCAPI's dlls with all forwards.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MyTDT-Mysoft/DllCompat/issues/7#issuecomment-426485434, or mute the thread https://github.com/notifications/unsubscribe-auth/AQFsEICb0NUmY4xDe46Xt3Zsi-rIv9TDks5uhBY7gaJpZM4XFJg2 .
Perhaps forward to OutputDebugString instead of MessageBox :p
The function remains the same, but I've replaced the debug portion for less intrusiveness. Yay!