Objo.
Feedback Forum Docs Objo Studio
Feedback

Bug #345

RaiseEvent crashes with ByRef event parameters

Status
Fixed
Fixed in
v26.6.2
Source discussion
https://forum.objo.dev/d/273-raise-event-question
Last updated
2026-06-07

Public summary

RaiseEvent crashes at runtime when raising an event that declares a ByRef parameter. The event handler expects a ByRef reference box, but the event dispatch path passes the raw value instead, causing a fatal VM InvalidCastException such as Expected Ref but got Boolean.

Objo.

Build apps visually, deploy anywhere.

Feedback is a public read-only status mirror for Objo Studio.