Hello all: When i use "LoadLibrary("libwireshark.dll") in vs2010, loadlibrary failed with error 193, that is : "1% is not a valid Win32 program". My project is in X64 mode, and libwireshark.dll is built in X64 too. Why? asked 24 Mar '13, 18:33 sunnymato |
One Answer:
What OS are you trying to run this on? Your build may default to a target OS such as Win 7, and then the dll is not valid for earlier versions of Windows. Use answered 25 Mar '13, 06:45 grahamb ♦ |
Thanks. The problem has been solved.
Can you tell everyone else how it was resolved, in case someone else runs into the issue?
If an answer has solved your issue, please accept the answer for the benefit of other users by clicking the checkmark icon next to the answer. Please read the FAQ for more information.