Anyway, here’s a picture:
After half a day’s search, I finally found the problem. Here are the details:
The dynamic library is called in a thread function, hInst = loadLibrary (“mydll/mydll.dll”); However, this library is Win32Debug, so the Win64Debug runtime will report the above error.
However, Win32 has the following problems:
This program was originally on a Windows 32-bit computer, now get my Windows 64-bit on such a problem, I do not know is the VS version of the problem, or 32-bit and 64-bit compatibility problems. Continue to verify, have the result again to continue.
If you run Debug Win64 on Windows 32, it will prompt you to dump 64 bits. If you run Debug Win64 on Windows 32, it will prompt you to dump 64 bits. It’s hard to make a program that’s not your own. I realized that I really can’t solve this problem. The problem is defined as a compatibility problem. If anyone has solved it, please let me know in the comments section.
The above solution is only the case I encountered, you may not be the same as this case, please do not take a peek.
After half a day’s search, I finally found the problem. Here are the details:
The dynamic library is called in a thread function, hInst = loadLibrary (“mydll/mydll.dll”); However, this library is Win32Debug, so the Win64Debug runtime will report the above error.
However, Win32 has the following problems:
This program was originally on a Windows 32-bit computer, now get my Windows 64-bit on such a problem, I do not know is the VS version of the problem, or 32-bit and 64-bit compatibility problems. Continue to verify, have the result again to continue.
If you run Debug Win64 on Windows 32, it will prompt you to dump 64 bits. If you run Debug Win64 on Windows 32, it will prompt you to dump 64 bits. It’s hard to make a program that’s not your own. I realized that I really can’t solve this problem. The problem is defined as a compatibility problem. If anyone has solved it, please let me know in the comments section.
The above solution is only the case I encountered, you may not be the same as this case, please do not take a peek.
Read More:
- Dxly solves the fatal error of AutoCAD2006: unhandled access violation reading 0x0000 exception at 6532b0h.
- Unhandled exception: 0xc0000005: access violation while reading location 0x00000000
- There is an unhandled exception at: 0xc0000005: an access conflict occurred while reading location 0x00000000.
- C / C + + error handling (document): unhandled exception: 0xc0000005: access violation while reading location 0x00000000
- Three possibilities of “unhandled exception: 0xc0000005: access conflict when reading location 0x00000000”
- Running program encountered Error:Access violation at 0x**(tried to write to 0x**) program terminated
- Memory error unhandled exception: 0xc0000005: read location: 0x00000
- [Java] Java program error: exception_ ACCESS_ VIOLATION (0xc0000005)
- 0xc0000005: an access conflict occurred while reading location 0x00000020
- Bug resolution of 0xc0000005: access conflict occurred when reading location of 0x00000000.
- Opencv: 0xc0000005: an access conflict occurred while reading location 0x0000000010
- RuntimeError: Expected hidden[0] size (x, x, x), got(x, x, x)
- 0xc0000005: solution to access conflict when writing to location 0x00000000
- [Solved] emulator: glteximage2d: got err pre 🙁 0x502 internal 0x1908 format 0x1908 type 0x1401
- CLP: error: getaddrinfo enotfound http://x.x.x.x/
- module ‘win32com.gen_py.00020813-0000-0000-C000-000000000046x0x1x9‘ has no attribute ‘CLSIDToClassMa
- Apache Groovy——java.lang.NoSuchMethodError: x.x.x: method <init>()V not found
- A problem occurred configuring project ‘:x x x‘. > java.lang.NullPointerException (no error message)
- [-] handler failed to bind to x.x.x.x: Port troubleshooting
- Error resolution of unexpected token in JSON at position 0