Quantcast
Channel: Visual COBOL
Viewing all articles
Browse latest Browse all 5819

Forum Post: RE: Using 'Call' in Method

$
0
0
Using cblproto.cpy should not cause a problem as that only ensures that parameters are correct for the system run-time routines. In fact I just added it to the top of each of the projects in my example and it still runs just fine. Your project containing the subprogram is a managed code project correct? If you look at the properties page for the project it should have no COBOL Link tab. If it were a native project and you were trying to do a P/Invoke then you might see the behavior that you are experiencing. Try adding exception handling around the call to see which exception is occurring:           try              Call "FPACTGN" using PMCALL            catch ex as type Exception               display ex::Message           end-try

Viewing all articles
Browse latest Browse all 5819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>