lxn / win

A Windows API wrapper package for the Go Programming Language
Other
1.19k stars 313 forks source link

MustGetProcAddress #32

Closed TongxiJi closed 6 years ago

TongxiJi commented 6 years ago

environment:window xp 32bit , run on virtual box.

qq20170822-173647 2x
lxn commented 6 years ago

Sorry, XP is no longer supported.

pravic commented 6 years ago

@lxn was it supported? May be it is worth to have the winxp support in a separate branch?

lxn commented 6 years ago

Ok, just pushed an untested commit, please try if it fixes things.

This doesn't mean I intend to fix XP (or Vista or any other version not supported by MS) issues in the future. If anyone really needs support for those old versions, they will have to send a PR.

pravic commented 6 years ago

MustGetProcAddress

You can add MayGetProcAddress for optional functions :) /joke

TongxiJi commented 6 years ago

Now the different error .

qq20170824-093031 2x
lxn commented 6 years ago

As you are probably on a 32 bit XP, I assume you try to load some 64 bit dll, which of course does not work.

Edit: It seems you have fixed that, so there is another missing function. The new problem should now be fixed, please test.

TongxiJi commented 6 years ago

LOL,it works now.