donsrini
18th June 2002, 21:14
Hi
I am trying to use prog.name$ in a DAL, and when I compile, I am getting a Fatal Error. It reads:
Fatal Erorr: Macro recursion / Preprocessor stack overflow ...

Did any one try to use this in a DAL?

In the debuger, we are able to see that prog.name$ is defined and has the correct session name.

(How? see L command in debuger commands or simply say prog.name$ and it will tell u the value)

Any ideas?

Thanks.
Srini

NPRao
18th June 2002, 21:45
Hi Srini,

I got the same error. You have use like this -


if import("prog.name$", session.name) then
ret = 1
endif


Then you wouldnt get any compilation errors.

donsrini
18th June 2002, 22:28
The question Prashanth is WHY? I can see the value for prog.name$ in debug.. when I can see the value for it, why can't I use it? why to import?

NPRao
18th June 2002, 22:58
Hi Srini,

I am not in BaaN anymore to get more details for you...

I think we are now at the other side of BaaN World, where we have to learn new stuff and accept the changes to the BaaN Tools Architecture, sending some good suggestions to the BaaN for improvements and can no longer define/dictate how the Tools should be working ;)

Based on my understanding and clues, I came up with some explanation.

But I am open to be corrected and learn more from everyone's experiences.