Written by

Question Lynton Blair · Feb 9

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.

»  
Product version: IRIS 2025.3
$ZV: n/a?

Comments

Julius Kavay · Feb 10

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

0
Lynton Blair  Feb 10 to Julius Kavay

Thanks Julius, that helps a lot.

0
Lynton Blair  Feb 10 to Julius Kavay

What about the port#, I have multiple installs of Cache and one of IRIS.  Does iris-callin use "1972"?

0
Lynton Blair  Feb 10 to Robert Cemper

is there a way to set it?

0
Robert Cemper  Feb 10 to Lynton Blair

In Caché you had CacheParameterFile  cache.cpf with the SuperServerPort 1972
now it's named iris.cpf  with DefaultPort=1972

0
Lynton Blair  Feb 10 to Robert Cemper

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...

0
Julius Kavay  Feb 10 to Lynton Blair

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.

0
Lynton Blair · Feb 10

Actually its not a crash, it terminates with

Process finished with exit code -1073741515 (0xC0000135) on executing IRISSECURESTARTA.

0