I wanted to access the shared memory of a Tuxedo application. So, I used shmget(key,0,0) in my code. It is returning error with error code 34, Result too large. My machine is a Windows server 2008 64 bit one. I searched many forums but couldn't know the reason for this issue. Any help is much appreciated. Below is the part of code:
if ( (shmid=shmget(shmkey, 0, 0)) == INVALID_IPC)
{
LOG_SYS_ERR((TUX_FAILED_CONNECT_TO_SHM,shmkey));
return PCS_RC_ERROR;
}
I used visual studio 2010 to compile