Quantcast
Channel: Silk Performer
Viewing all articles
Browse latest Browse all 4084

Wiki Page: Why do I get the error "SEM 207: Different type of actual parameter and formal parameters" on compile of my recorded script for AdoParamCreate functions?

$
0
0
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

Viewing all articles
Browse latest Browse all 4084

Trending Articles