NSFFormulaCompute

Hello all,

I have a question regarding NSFFormulaCompute. I tried to run the basic/msimple.c sample code but it is failing on this call. Can somebody tell me what is wrong?

thanks!

Subject: NSFFormulaCompute

Can you post code?

Subject: NSFFormulaCompute

There is no function NSFFormulaCompute. What is the real name of the function that fails? Does it return a status code? Does it crash?

Subject: RE: NSFFormulaCompute

My guess is that Melissa meant NSFFormulaCompile (only three different characters, ya know ;-).

We do need at least a code snippet and some context on the failure (returncode?).

cheers,

Bram

Subject: RE: NSFFormulaCompute

yup its NSFFormulaCompile. Sorry for the confusion. :stuck_out_tongue: I’m getting error=501. I don’t know what that means. And now I am able to use NSFFormulaCOmpile if I have the domino server running. But it shouldn’t depend if the domino server is running or not. so, it must be something I haven’t set up. any ideas?

thanks! any help much appreciated.

Subject: RE: NSFFormulaCompute

For some information about how to interpret error codes, see here.I suppose you mean error 501 hex (not decimal). This is “Formula error”, ERR_FORMULA_COMPILATION. The other values that the function returns can tell you more about which part of the formula is wrong.

Subject: RE: NSFFormulaCompute

Error code 501 says, “Cannot attach to shared memory region. Region was deallocated due to abnormal termination of another process.”

When you ran the msimple program, did you attempt to use a server-based Lotus Notes database? The program does not care about the database being located locally or on a Domino server, but I am curious to know the location of your database.

Subject: RE: NSFFormulaCompute

hello all,

james: what do you mean by server-based lotus database. Is this a database located in the /opt/notesdata? I tried to run the program with a database in that directory but still fail then I tried to run the program with a nsf file in /tmp directory. but still fail. :frowning:

my error code is wdc = 1307U? I don’t know what that means. any ideas?

thanks! :slight_smile:

Subject: RE: NSFFormulaCompute

Hello Melissa,

The error code you supplied returns, “Unknown @Function”.

I am unaware that the @IsAvailable() formula is unable to be compiled on the Solaris operating system.

When I requested the server location information, I was wondering if your connection to Domino had been broken.

I do not have access to a Solaris or Linux box at the moment and connect test out the msimple program to help you further.

Good luck with solving this problem.

One more thing. Use the following function to retrieve error code explanations:

OSLoadString(NULLHANDLE, ERR(sStatus), szError, sizeof(szError));