Search found 2 matches
- Fri Nov 16, 2018 10:02 pm
- Forum: User PC Applications and Libraries .Net
- Topic: .Net KM_Controller.Compile() error
- Replies: 3
- Views: 3770
Re: .Net KM_Controller.Compile() error
Hi TomKerekes, Thanks for the response. No, I did not explicitly allocate memory for the return string (should I?). Here is my code (used "PC VCS Examples\KMotion_dotNet Console" as a template): _Controller = new KMotion_dotNet.KM_Controller(); string thefile = @"C:\KMotion434\C Programs\ToolChange....
- Fri Nov 16, 2018 7:22 pm
- Forum: User PC Applications and Libraries .Net
- Topic: .Net KM_Controller.Compile() error
- Replies: 3
- Views: 3770
.Net KM_Controller.Compile() error
I'm trying to compile c code file using .Net KM_Controller.Compile() method. I'm getting the following error: Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at System.String..ctor(SByte* val...