has someone a simple example how to use the COMate_PrepareStatement.
There is no example in the help showing how to set the bstrVal in the VARIANT structure.
When I call COMateClass_GetObjectProperty with a prepared statement it works with before done:
Code: Select all
COMate_PrepareStatement("AddRibbonBar('TEST-STRING' as STRING)")Code: Select all
Protected *Par1.VARIANT = COMate_GetStatementParameter(*addRibbonBar, 1)This line in the COMatePLUS-sources gets the error:
Code: Select all
result = iDisp\Invoke(dispID, ?IID_NULL, #LOCALE_USER_DEFAULT, invokeType, dp, *ret, excep, @uiArgErr)So, any examle with prepare statement and bstrVal avialable?
Thanks a lot in advance,
regards

