OCX Not supported anymore?

So im trying to use a newly created OCX on 2019 r1

I get 64 errors.

IF without end if.

Are ocx no longer supported on xojo?

They are
But if you’re building a 64 bit app you have to have a 64 bit OCX

It’s a 32bit control. I add it, then I press run and without anything added, it says If without end if on function.

I have not used ocx for over 6 years.

Is there a fix or am I doing something wrong?

The app is 32bit

Does the OCX work with an older version of Xojo?