Knowledge Base

BUG: LoadResource() GP Faults When Passed an Invalid HRSRC

Article ID: 111605

Article Last Modified on 10/16/2002


APPLIES TO


This article was previously published under Q111605

SYMPTOMS

Passing an invalid handle as the HRSRC parameter for LoadResource() may result in a general protection (GP) fault.

RESOLUTION

Pass only valid handles to the LoadResource() function.

STATUS

Microsoft has confirmed this to be a bug in Windows version 3.1.

Keywords: kbbug kb16bitonly kbresource KB111605