Showing results for January 12, 2012 - The Old New Thing

Jan 12, 2012
Post comments count0
Post likes count0

Puzzling out the upsell-o-meter

Raymond Chen
Raymond Chen

As I noted before, many grocery stores in the United States have a printer next to the cash register which prints out coupons customized to your purchases. Here's a purchase and the accompanying coupon. What is the story behind this pairing? Purchased: Diapers for newborn baby. Coupon: Save 75 cents on ice cream. Bonus chatter: While waiting in ...

Non-Computer
Jan 12, 2012
Post comments count0
Post likes count0

Why does CreateEvent fail with ERROR_PATH_NOT_FOUND if I give it a name with a backslash?

Raymond Chen
Raymond Chen

A customer reported that the function was failing with the unusual error code : The customer continued, "The documentation for says that the parameter must not contain the backslash character. Clearly we are in error for having passed an illegal character, but why are we getting the strange error code? There is no file path involved. Right n...

Other