This is probably not the correct interpretation of this error.
The Win32 error above is more likely to indicate the actual problem.
Flags
Severity
Success
This code indicates success, rather than an error.
This may not be the correct interpretation of this code,
or possibly the program is handling errors incorrectly.
I am trying to setup L2TP/IPSec on our ASA5520 to support a fringe case for one of our developers. The Windows VPN subsystem apparently stores the kerberos or NTLM cookie for the login when you use the built-in vpn subsystem, and the Cisco VPN client and AnyConnect client do not [...] read more
I have a simple wp8.1 app published in the store (universal app) but it crashed. So I downloaded the excel file containing crash info from https://dev.windowsphone.com/en-us/DownloadReport The crash(es) occur in the latest version of my app and the clients have 8.1 (because you cannot run universal apps otherwise) Here is [...] read more
Question: I have the below code to capture an image from a webcam. My problem is this part: SendMessage(hCaptureWnd, WM_CAP_COPY, 0, 0); // copy it to the clipboard What it does is copy the image from the window to the clipboard, and then create a byte array out of it. [...] read more
I know this answer is in violation of the reinterpret_cast rules but it also presumes that sub-arrays will be allocated linearly. I believed this was not guaranteed, but as I search the standard, I find my confidence wavering. If I statically allocate a 2D array, like this: int foo[][4] = [...] read more
I am using the Ogre framework for my application. When the application shuts down I shut down Ogre deleting the Ogre::Root object. After that I need to delete some pointers, because I have own classes for every Ogre class I use as interfaces. I just delete the pointers to my [...] read more
I'm using IntellJ IDEA 13 CE and jdk 1.7. Compiling my project results in no errors. When I try to run the application, I'm notified that: The last time you opened java, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again? Given options [...] read more
I am trying to read hex values from specific offsets in a file, and then show that as normal text. Upon reading the data from the file and saving it to a variable named uName, and then printing it, this is what I get: Card name is: b'\x95\xdc\x00' Here's the [...] read more
I have a legacy application that was built with VC++6.0 that uses an OCX control. I have upgraded the application to build with VS2013. Initially I got it to build and run successfully but when I tried to regenerate the ocx.h and ocx.cpp file using the Class Wizard by 1. [...] read more
I published a small free App for Windows Phone 8 Smartphones (to get to know C# - so I am a beginner in programming). A lot of my users seem pretty happy with the functionality but some of them seem to keep getting random crashes (for example in Canada: http://www.windowsphone.com/en-ca/store/app/picture-of-the-day/fc977a34-c09d-4c70-8a7b-66b6f09ab7f0) [...] read more
I'm trying to Capture an Image from a window given the Handle/DC. I want to capture the Image with all the transparency and pixels so I decided I'd use GDI/GDI+. The below code is what I have, but when it "writes" the bitmap, it writes it wrong :S In other [...] read more
Yes - I know this is not exciting - but my colleague can get the same psuedocode to work in a C program, it show a black square with some green bands - but in C# it only draws a black square - see below: enter image description here [https://i.stack.imgur.com/DJSn4.png] [...] read more
I have two instances of Eclipse. Old instance Few months of use. Upgraded from Helios to Juno. JRE 1.6. Recently started crashing with Java error code -1. So I decided to start fresh: New instance Fresh download of Juno. JRE 1.7. From the very beginning, would randomly disappear all of [...] read more
I have an IPsec site-site VPN set up and working, however I'm having problems once the connection has been established for over an hour. After an hour ASDM still thinks the VPN is connected and the connection duration continues to increment, however as soon as UI try to send data [...] read more
I am using the dwarfdump command with these options -fFpPEo against a binary file. The output looks like this: fde: < 7><0x00000000:0x00000092><clear><fde offset 0x00005d70 length: 0x00000030><eh offset none> 0x00000000: <off cfa=00(r13) > 0x00000004: <off cfa=24(r13) > <off r4=-24(cfa) > <off r5=-20(cfa) > <off r6=-16(cfa) > <off r7=-12(cfa) > <off r8=-8(cfa) [...] read more
I'm taking a computer architecture class, and they're having us use MIPS assembly. Our current assignment is asking us to take a user-inputted hex string, and turn it into a binary one. The code I've written "works", but it's horrible, to say the least. What would be a better approach [...] read more
I'm trying to display a Bitmap to the screen using GetDesktopWindow() to get a handle of the desktop window, and StretchBlt to copy an image to it. However, this does not work. It shows either a completely blank image, or a completely white image, depending if I use SRCCOPY or [...] read more