access-violation
swprintf_s fails when writing to initialized buffer
I am writing a program in C for windows using visual studio 2010. I am using the swprintf_s function to write a formatted string to a wchar_t buffer.[详细]
2023-04-06 06:27 分类:问答Why try-catch block cannot handle the exception?
FSDKCam.GetVideoFormatList is a method from external .NET dll. As you see the image, it throws an exception in try-catch block.[详细]
2023-04-04 06:23 分类:问答C# Memory Access Violation Windows 7
I\'m using advanced installer 8.3 and trying to impliment trial licensing for my application, the target OS is Windows 7 x32 & x64.[详细]
2023-04-02 06:23 分类:问答Giving managed control handles to unmanaged code - Access Violation
So I have this SDK provided by a third party which is used for viewing streaming video from a remote source. The remote source runs a server provided by the third party that captures and stores video,[详细]
2023-04-01 03:54 分类:问答Why would this access violation occur with the /Og and /GL flags, with pass-by-reference?
When (and only when) I compile my program with the /Og and /GL flag using the Windows Server 2003 DDK C++ compiler (it\'s fine on WDK 7.1 as well as Visual Studio 2010!), I get an access violation whe[详细]
2023-03-31 10:10 分类:问答AccessViolationException in Delphi - impossible (check it, unbelievable...)
Delphi XE. Windows 7. There is a function (please see a code below) or I:=0 that causes an AV error in a big project. There is no the error with the same function in a new project!!! I deleted everyt[详细]
2023-03-31 09:16 分类:问答ODP.NET: AccessViolationException when trying to open connection
I am trying to learn ODP.NET, and have built a simple example based on Oracle\'s Getting Started example. However, whenever my code hits the conn.Open() statement, it immediately crashes with an Acces[详细]
2023-03-31 04:58 分类:问答Handling access violations with wxWidgets
In my wxWidget program I can n开发者_运维问答o longer catch Access Violation with MSVC debugger. AV info is printed in Output but program continues to run.[详细]
2023-03-30 20:18 分类:问答Mapping IntPtr into Struct via Marshal.PtrToStructure causing "Access Violation Exception"
I\'m trying to use a C++ DLL (3rd party library implementing EMI protocol, having source code available) in .NET. I\'ve succesfully done marshalling, calling the functions and getting everything work[详细]
2023-03-30 05:09 分类:问答AccessViolationException when trying to call c++ external function with 'new char[...]' inside it
I catched a strange issue when i was trying to call unmanaged c++ function from c# code. the c++ function looks like this:[详细]
2023-03-30 05:08 分类:问答