Hello Everyone,
I am moving an MDL application to V8i, and working to test the functionality.
Code causes MDL application to unload when command reaches the restart.
Message before the unload in the message center is "MDL detected an illegal opcode."
Have removed the restart and the issue still happens. When stepping through the code there does not seem to be any issue.
Have checked memory allocation and it is stable. Looked at the memory copy commands and nothing noticed.
Are there any other items I can check?
Thanks
Peter
Peter Howe said: "MDL detected an illegal opcode."
sounds like the SDK is far to old. We had similar errors in times around V8.5 with versions older and newer
Mit freundlichen Grüßen / Best regards Volker Hüfner
| AB_DATE Engineering Software | ab-date.de |
Because I had multiple versions of MicroStation installed. Some of them over top of older versions. I decided to remove the V8 and Connect version
Reinstall the V8i SS4. That seemed like a good place to start. Problem is I am getting errors related to not having the proper version of Visual Studio to compile the MDL application.
Any suggestions.
I missed the suggestions from Bob about clearing out the results files and different compile options. But since I did the uninstall they are no longer an option.
Peter Howe said:Reinstall the V8i SS4. That seemed like a good place to start. Problem is I am getting errors related to not having the proper version of Visual Studio to compile the MDL application.
Hi peter,
You will need visual studio 2005 or 2008 for v8i. There is no other possibility.
Hi Peter,
Peter Howe said:Problem is I am getting errors related to not having the proper version of Visual Studio to compile the MDL application
To particularize Volker's answer: You need Professional Edition of the mentioned versions. To use Visual Studio 2005 Professional is recommended and the only supported officialy, but Visual Studio 2008 Professional Edition is good enough alternative.
To use any newer version to compile application for MicroStation V8i is not recomended, dangerous or even not possible (because not supported by bmake assert definittion).
Regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Peter Howe said:Reinstall the V8i SS4. I am getting errors related to not having the proper version of Visual Studio to compile the MDL application
Here's a table of Viz Studio versions compatible with various MicroStation versions.
Regards, Jon Summers LA Solutions
Hi Peter Howe,
Just following up since I have a moment...
Is the primary issue of "MDL detected an illegal opcode" presumed resolved, though the secondary issue of "Need to re-compile a V8 app with (supported) Visual Studio 2005/2008 Professional" open? If yes, then please use the More (button) on your "re-installed" reply and click Verify Answer, then open a new question if you encounter an issue when recompiling with VS2005/VS2008 and need assistance. This should help keep things moving along more quickly.
Thank you and HTH,Bob