Windows error 0x000000AA, 170

Detailed Error Information

BUSY[1]

MessageThe requested resource is in use.
Declared inwinerror.h

This appears to be a raw Win32 error. More information may be available in error 0x800700AA.

HRESULT analysis[2]

This is probably not the correct interpretation of this error. The Win32 error above is more likely to indicate the actual problem.
FlagsSeveritySuccess

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.

Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[2][1]
DescriptionThe default facility code.[2][1]
Error Code170 (0x00aa)

Possible solutions

2

C: Little Endian

c
linux
arduino
raspberry-pi
endianness

Your code looks fine to me (I haven't run it).

  • Suppose you had the integer 0xaabbccdd.
  • On the Pi, "buf" would contain dd, cc, bb, aa. They would be sent down the wire in that order.
  • On the arduino, a would also contain dd, cc, bb, aa.
  • Then you create value as (dd << 0) + (cc << 8) + (bb << 16) + (aa << 24), giving 0xaabbccdd.
answered on Stack Overflow Mar 1, 2016 by peterpi
1

Google Maps Static API not rendering last path of polygon

google-maps
google-maps-api-3
google-static-maps

The bound of the polygon is exactly the path you gave it:

encoded path

If you want it to enclose the array, make a closed path:

https://maps.googleapis.com/maps/api/staticmap?size=709x470&path=weight:2|fillcolor:0x00000040|color:0x000000aa|enc:ebxwFnxsbMbGxDpFwPkG{DiFxP

static map with full path

The solution was one answer from 2013: Polygons are not closed

As commented, adding the first item of the polygon as the last one fixes the issue.

answered on Stack Overflow Feb 2, 2018 by geocodezip • edited Feb 3, 2018 by eestein
1

Inneractive Ads cause a lot of App crashes (Windows Phone)

windows-phone-7
windows-phone-8
windows-phone
ads

First, contact InnerActive telling them to fix their software. It's their responsibility.

Meanwhile, if you know how to reproduce the problem, you can try following. Subscribe for all unhandled exceptions (start with Application.UnhandledException, also there're AppDomain.UnhandledException and TaskScheduler.UnobservedTaskException), in the handler search for “Inneractive.Ad.InneractiveAdControl” in the Exception.StackTrace, if found — ignore the exception, and optionally hide or reload the inneractive banner.

answered on Stack Overflow Jan 22, 2014 by Soonts
0

C: Little Endian

c
linux
arduino
raspberry-pi
endianness

You are parsing a 32 bit little endian value, not a big endian value. The first byte ends up in the least significant bits; the last byte ends up in the most significant bytes.

If you were converting a buffer which contained a big endian value, the code would look like:

uint8_t a[4];
int value = 0;
for ( int i = 0; i < 4; ++i )
{
    value << 8 * i;  // shift everything over one byte
    value += a[ i ]; // add the next byte to the LSByte
}

You see the difference?

answered on Stack Overflow Mar 1, 2016 by Rob K

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0