Add ws_load_library and ws_module_open, which respectively call
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 25 Aug 2010 20:30:59 +0000 (20:30 +0000)
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 25 Aug 2010 20:30:59 +0000 (20:30 +0000)
commitf81e185fabdbc4e01de2e4af01a408fb6640bea5
tree6d1cf5c9dae154869fc6a13d181489834d7a190e
parent728a7ad30739b48e99778b7e93e7135d7284e0a3
Add ws_load_library and ws_module_open, which respectively call
LoadLibrary and g_module_open only for the program directory and system
directory on Windows. Use them to replace a bunch of LoadLibrary and
g_module_open calls. Use the extension ".dll" for all the DLLs that we
load. Add comments about DLL loading in Python.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33924 f5534014-38df-0310-8fa8-9805f1628bb7
12 files changed:
airpcap_loader.c
capture-wpcap.c
capture_wpcap_packet.c
config.nmake
doc/README.capture
epan/filesystem.c
epan/wspython/wspy_libws.py
gtk/main.c
nio-ie5.c
wsutil/file_util.c
wsutil/file_util.h
wsutil/libwsutil.def