IRISSECURESTARTA causes C++ program to terminate with exit code -1073741515..
in C++ program with #include iris-callin.h.. The program terminateswhen it tries to execute IRISSECURESTARTA with exit code -1073741515.
const char *username="user", *password="xyz",*exename="Test_Callin";
int termflag = IRIS_PROGMODE|IRIS_TTNONE|IRIS_TTNEVER;rc = IRISSECURESTARTA(&pusername, &ppassword, &pexename, termflag, timeout, NULL, NULL);
Note: the %Service_Callin setting is Enabled.
| » |
Comments
You do not need to reference 'localhost', your C++ program and IRIS are located (and running) on the same 'localhost', the source of your problem is something else
Thanks Julius, that helps a lot.
What about the port#, I have multiple installs of Cache and one of IRIS. Does iris-callin use "1972"?
by default YES
is there a way to set it?
YES, directly from MGMT Portal just as you do in Cachè
localhost:52773/csp/sys/mgr/%25CSP.UI.Portal.MemoryStartup.zen.png)
In Caché you had CacheParameterFile cache.cpf with the SuperServerPort 1972
now it's named iris.cpf with DefaultPort=1972
Very interesting. So to access it before login you have to select the instance name.
But I don't see how to set the port and namespace so that IRISSECURESTARTA uses them in logging in...
I have made several callouts but never a callin (with userlogin), like you trying to do.
You wrote, you have several instances (Cache and IRIS) installed, presumably on the same hardware respective OS. Take a look in one of your Cache installation: <InstallDirectory>\dev\Cache\callin\
There are three files worth to study: sampcallin.c, sampcallint.c and shdir.c
The callin mechanism does not needs IPs and ports. To find out if anything has changed as a result of switching from Cache to IRIS, please contact WRC.
Actually its not a crash, it terminates with
Process finished with exit code -1073741515 (0xC0000135) on executing IRISSECURESTARTA.
Stack Overflow discussion points to a missing or incompatible .NET Framework version, see;
https://stackoverflow.com/questions/11432940/what-does-error-code-0xc0000135-or-1073741515-exit-code-mean-when-starting-a
Also,IRISSECURESTARTA is an 8-bit function, you might need one of the Unicode versions instead.