Skip to Content
avatar image
Former Member

Powerbuilder Migration from 10 to 12.6

Hi All,

We are trying to migrate PB10 to PB12.6 in WIN 10.

We are using OLE COM Control to interact the DotNet Screen.

After migration, we are encountering .NET Frame work error.

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)

Please help and need your advice.

Thanks,

Syam

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 01, 2017 at 02:17 PM

    Seems like you compiled your app for 64 bit. Make sure both your PB app and the ole have same bitness. Do you get the same error when running from the IDE?

    Add comment
    10|10000 characters needed characters exceeded