veerle
18th March 2003, 10:05
Can somebody tell me how I can test the use of Application Function Server in a DAL?

It seems that the variable 'api.mode' is not available in a DAL-script. When I compile the DAL, I get the error: 'api.mode' not declared.

Veerle

**SAT**
18th March 2003, 10:38
you should include the following library :

#pragma used dll "ottstpapihand"


Regards,
Sat

veerle
18th March 2003, 11:50
I haved included the library, but it doesn't work. I get yet the same error.

Veerle

ulrich.fuchs
18th March 2003, 12:28
I think that's not the awnser you would like to hear, but anyway:

Why would you need api.mode in a DAL script? The data access layer should be independent of how the caller is using it, either through api/AFS or through an interactive session. It should not behave differently!