× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




Hello,

Im having a problem with a C++ class that invokes a ILE RPG procedure that is in a service program.
To make it more clear i will write an example here

class Myclass
{

void MethodThatInvokeRpg()
{
RPGPROCEDURE(input);
}

void AnotherFunction()
{
do_some_processing();
}

void FunctionThatInvokesBoth()
{
RPGPROCEDURE(input);
do_some_processing();//here i get a MCH3601 ( null pointer exception )
}


}

int main()
{
Myclass myclass = new Myclass();

myclass->FunctionThatInvokesBoth();

}

After i return from the RPG procedure i can not access the next function due to null pointer exception.
the module invoking the next function is QC2PFMO from procedure _C PSX dofmto, i think is a system prodecure

Thanks for the help

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.