taviso / loadlibrary

Porting Windows Dynamic Link Libraries to Linux
GNU General Public License v2.0
4.34k stars 378 forks source link

Engine version 1.339.932.0 (2021/05/18) breaks mpclient #98

Closed ventulis closed 3 years ago

ventulis commented 3 years ago

The engine version 1.339.932.0 will break mpclient. Last working version is 1.339.927.0.

The broken version will output:

$ ./mpclient file.txt
mpclient: function at 0xec01a82d attempted to call an unknown symbol
Trace/breakpoint trap
taviso commented 3 years ago

Thanks for letting me know, I can see it's using some new APIs like CompareStringOrdinal() , that's pretty easy to fix.

It's also doing some weird stuff with the Etw API that I don't understand, but returning -1 from EtwUnregister() seems to fix it. I'll commit that for now, because working for unknown reasons is better than crashing!

ventulis commented 3 years ago

Great! Thanks! :+1:

hi3cmz commented 3 years ago

Excuse me, I come across here because of I am using some vintage (circa 2008) pxi (pci) bus instruments that come with self contained dll (.lib) driver and .h, help page for all functions for development on COM, I am thinking to use the dll on python + qt in linux, is that possible? what part of LoadLibrary do I need to accomplish this? thanks!