, ,

Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

<IDISPATCH> vs string (OpenInsight 64-bit)

At 05 OCT 2023 08:10:53AM Joshua Goddard wrote:

Hi,

let's say I have a variable that could be either a string or an <IDISPATCH>.

How can I determine (in basic+) whether the variable is a string or an <IDISPATCH>

Calling len on the variable causes the ENG0061 crash. Everything else I have tried also causes this crash.


At 05 OCT 2023 09:03AM Andrew McAuley wrote:

Have you tried function descriptorType( var )? 4 will be an iDispatch.

The Sprezzatura Group

The Sprezzatura Blog

World leaders in all things RevSoft

View this thread on the Works forum...