3 ms·
Unrelated: https://github.com/taviso/loadlibrary https://github.com/taviso/loadlibrary It lets you call Windows DLL functions from Linux!
by saagarjha 7y ago
Unrelated: https://github.com/taviso/loadlibrary https://github.com/taviso/loadlibrary
It lets you call Windows DLL functions from Linux!
- joosters 7y agoMaybe post unrelated links as their own HN stories?
- saagarjha 7y agoWell, I don't really post Hacker News stories, and given that this was one of the first links on the page, I felt someone might find it interesting. (It also indirectly tells people that they can try the thing on Linux…)
- jfk13 7y agoWell, I hadn't seen that before and thought it's pretty cool, so I posted it in case others might also find it interesting: https://news.ycombinator.com/item?id=22544777 https://news.ycombinator.com/item?id=22544777
- jwilk 7y agoIt's not unrelated. It's part of the source (as a submodule), and linked from README.
- nly 7y agoThe other way to do this would be to compile a test harness using winelib, since winelib compiled applications call in to both native and Windows DLL code. https://wiki.winehq.org/Winelib_User%27s_Guide https://wiki.winehq.org/Winelib_User%27s_Guide I've done this myself to exercise a COM DLL from Linux. I had to use Microsofts "OLE/COM Object Viewer" to extract the IDL from the DLL and then compile everything with MIDL and wine-g++, but it worked.