Skip to main content

Hi all


I am trying to access a .NET class / Struct.

What I allready have verified is that the dotNET object is created successfully, but when I try to access a property or function wrun32 throws an memory access violation exception.

The object is created for testing purpose as filled struct. Any access causes a memory violation...


The code we are using is in pastebin:

COBOL DEFs

http://pastebin.com/aP7zifvV

http://pastebin.com/M5ys6e54

COBOL Test

http://pastebin.com/hZyt1qG4

C#

http://pastebin.com/W1BBpiKY

http://pastebin.com/55TEkWWG

Any hint what is wrong here would be appreciated...

Best Regards

Martin


#Windows
#.net

Hi all


I am trying to access a .NET class / Struct.

What I allready have verified is that the dotNET object is created successfully, but when I try to access a property or function wrun32 throws an memory access violation exception.

The object is created for testing purpose as filled struct. Any access causes a memory violation...


The code we are using is in pastebin:

COBOL DEFs

http://pastebin.com/aP7zifvV

http://pastebin.com/M5ys6e54

COBOL Test

http://pastebin.com/hZyt1qG4

C#

http://pastebin.com/W1BBpiKY

http://pastebin.com/55TEkWWG

Any hint what is wrong here would be appreciated...

Best Regards

Martin


#Windows
#.net

I got a mav when using 9.2.1, however I was able to run your program successfully when using 9.0.1. I'll report this bug to development.


Hi all


I am trying to access a .NET class / Struct.

What I allready have verified is that the dotNET object is created successfully, but when I try to access a property or function wrun32 throws an memory access violation exception.

The object is created for testing purpose as filled struct. Any access causes a memory violation...


The code we are using is in pastebin:

COBOL DEFs

http://pastebin.com/aP7zifvV

http://pastebin.com/M5ys6e54

COBOL Test

http://pastebin.com/hZyt1qG4

C#

http://pastebin.com/W1BBpiKY

http://pastebin.com/55TEkWWG

Any hint what is wrong here would be appreciated...

Best Regards

Martin


#Windows
#.net

Thanks alot for your effort!

Do you have any experience how long it will take until your Dev team can supply a patch?

Or do we have to downgrade to 9.0.x ? This might cause some trouble in our project...


Hi all


I am trying to access a .NET class / Struct.

What I allready have verified is that the dotNET object is created successfully, but when I try to access a property or function wrun32 throws an memory access violation exception.

The object is created for testing purpose as filled struct. Any access causes a memory violation...


The code we are using is in pastebin:

COBOL DEFs

http://pastebin.com/aP7zifvV

http://pastebin.com/M5ys6e54

COBOL Test

http://pastebin.com/hZyt1qG4

C#

http://pastebin.com/W1BBpiKY

http://pastebin.com/55TEkWWG

Any hint what is wrong here would be appreciated...

Best Regards

Martin


#Windows
#.net

Thanks alot for your effort!

Do you have any experience how long it will take until your Dev team can supply a patch?

Or do we have to downgrade to 9.0.x ? This might cause some trouble in our project...


Hi all


I am trying to access a .NET class / Struct.

What I allready have verified is that the dotNET object is created successfully, but when I try to access a property or function wrun32 throws an memory access violation exception.

The object is created for testing purpose as filled struct. Any access causes a memory violation...


The code we are using is in pastebin:

COBOL DEFs

http://pastebin.com/aP7zifvV

http://pastebin.com/M5ys6e54

COBOL Test

http://pastebin.com/hZyt1qG4

C#

http://pastebin.com/W1BBpiKY

http://pastebin.com/55TEkWWG

Any hint what is wrong here would be appreciated...

Best Regards

Martin


#Windows
#.net

I do not know what timeframes this issue will take. It would be best for you to submit the issue through Customer Care as well. I also tested your dll with 9.1.1 and that version worked as well. Seems like something changed in version 9.2