Forum Post: RE: Using 'Call' in Method
How are you executing the call? Are you stepping through the call in the debugger using F11? Is any part of the call statement highlighted with an underline in the editor that displays the message...
View ArticleForum Post: RE: Using 'Call' in Method
Yes the calling parameter are underlined and the popup says 'Can not find method 'FPACTGN' with this signature - will generate dynamic call'. This is the large solution I have had issues with in...
View ArticleForum Post: RE: Using 'Call' in Method
That error message means that the compiler cannot resolve the call as the parameters do not match or the program name cannot be found. Are you adding a reference to the Class Library project within...
View ArticleForum Post: RE: Errors using properties
Bump. I've now found that adding methods to the OBJECT section allows the property to be used. However, none of the methods can be called and at run time exception 24 will be raised with: 'The class...
View ArticleForum Post: RE: Errors using properties
I have tested this here and I also find that in order to get this to compile properly a dummy method must be added to the object. But I do not experience the run-time error that you are seeing as it...
View ArticleForum Post: RE: Using 'Call' in Method
I have a reference to the called program in the calling program project. I checked the dll is in the bin\debug folder of the calling program. I remove the calling parameter and still get the same...
View ArticleForum Post: RE: Using 'Call' in Method
I tested this here and it works fine for me. I am using VC 2.2 for VS2012. I am attaching my simple demo which has two projects, the main windows form app and then the class library project containing...
View ArticleForum Post: RE: Using 'Call' in Method
Your example worked on my system too. We are using this copybook cblproto.cpy that was provided by you guys, could that cause a problem? I have check properties and everything I can think of.
View ArticleForum Post: RE: Using 'Call' in Method
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...
View ArticleForum Post: RE: Using 'Call' in Method
It was managed code. If I put the sub program in the same project as the calling program ,it works fine. I will use that for now until I have more time to explore. Thanks for all of the help.
View ArticleWiki Page: ASLM: Semaphore failure when launching application on Runtime...
Problem: After installing and licensing Server for Cobol 5.1 correctly you receive a ASLM: Semaphore failure when trying to execute an application. Resolution: To run a Micro Focus application on a...
View ArticleForum Post: RE: Errors using properties
Thanks for the reply, Chris. If you do wish to use the COBOL standard OO syntax and you continue to have problems then you should submit a support incident with customer care so that we can try to...
View ArticleForum Post: Retrieve AppSettings in HTML
I'm trying to set the text of a label on a webform equal to the value of a "key" in Web.Config. Here's the html code that returns an error saying "Operand ConfigurationManager is not declared": body...
View ArticleForum Post: RE: Retrieve AppSettings in HTML
The section in web.config in which you are setting this is for setting environment variables and not strings. You should add an appsettings section under the configuration header and read the value...
View ArticleForum Post: RE: Retrieve AppSettings in HTML
Thanks, Chris! I'm not quite there, but you've definitely helped me get closer. Any idea where I'm going wrong? Here's the error message: The application setting 'KeyName' was not found in the...
View ArticleForum Post: RE: Retrieve AppSettings in HTML
AppSettings is a predefined section in web.config so it shouldn't be redefined under the MicroFocus section. The complete web.config that I am using in my example is: ?xml version="1.0"? configuration...
View ArticleWiki Page: Cannot install Visual Cobol 2.2 for Visual Studio 2012 on Windows...
Problem: The installation process fails to complete when attempting to install Visual Cobol 2.2 for Visual Studio 2012 on a Windows 2008 R2 machine. Resolution: The installation process fails because...
View ArticleFile: JVM COBOL EJB Demo for Visual COBOL v2.2 Update 1.
These Eclipse projects demonstrate how a JVM COBOL Application can be used in a JAVA EJB 3.x class.
View ArticleForum Post: Doxygen
Hello, Has anybody heard about a filter for Doxygen for the Cobol language ? Doxygen can handle Fortran code, it should be possible to configure doxygen to parse cobol code. Any information on that...
View ArticleForum Post: RE: Doxygen
Using Doxygen on COBOL source would require writing a COBOL parser for Doxygen - not a trivial task. (Doxygen's Fortran and other parsers are not helpful in this regard.) See question 12 in the...
View Article