Object progId = machine.getArg(0, nArgCount);
if (!(progId instanceof String))
{
throw new TypeMismatchException(getSymbol());
}
Object location = null;
if (nArgCount > 1)
{
location = machine.getArg(1, nArgCount);
if (location != null && !(location instanceof String))
{
throw new TypeMismatchException(getSymbol());
}
}
if (!OLEUtil.isAvailable() || s_oleObjectConstructor == null)
{