-
- Downloads
> Ok, where's a "system dependent hack" :)
> It seems that win9x doesn't have the "netmsg.dll" so it defaults to "normal" > FormatMessage. > I wonder if one could load wsock32.dll or winsock.dll on those systems > instead of netmsg.dll. > > Mikhail, could you please test this code on your nt4 system? > Could someone else test this code on a win98/95 system? > > It works on win2k over here. It works on win2k here too but not on win98/95 or winNT. Anyway, attached is the patch which uses Magnus's my_sock_strerror function (renamed to winsock_strerror). The only difference is that I put the code to load and unload netmsg.dll in the libpqdll.c (is this OK Magnus?). Mikhail Terekhov
Showing
- src/interfaces/libpq/fe-connect.c 15 additions, 15 deletionssrc/interfaces/libpq/fe-connect.c
- src/interfaces/libpq/fe-exec.c 5 additions, 8 deletionssrc/interfaces/libpq/fe-exec.c
- src/interfaces/libpq/fe-lobj.c 1 addition, 7 deletionssrc/interfaces/libpq/fe-lobj.c
- src/interfaces/libpq/fe-misc.c 43 additions, 19 deletionssrc/interfaces/libpq/fe-misc.c
- src/interfaces/libpq/libpq-fe.h 12 additions, 1 deletionsrc/interfaces/libpq/libpq-fe.h
- src/interfaces/libpq/libpqdll.c 6 additions, 0 deletionssrc/interfaces/libpq/libpqdll.c
- src/interfaces/libpq/win32.h 8 additions, 10 deletionssrc/interfaces/libpq/win32.h
Loading
Please register or sign in to comment