This error is reported when the sParameter parameter of the recorded AdoParamCreate function is scripted as NULL instead of an empty string value ("") . AdoParamCreate(hIFace7, NULL, 0, 1, 0, hIFace8, "_Parameter"); The AdoParamCreate function signature defines that the sParameter parameter is a string and does not specify the allownull modifier. In order to resolve the compile error modify the AdoParamCreate function call replacing the NULL value with an empty string value ("") as shown below. AdoParamCreate(hIFace7, "", 0, 1, 0, hIFace8, "_Parameter"); Old KB# 20629
↧