On Dec 6, 2003, at 10:00 AM, [EMAIL PROTECTED] wrote:


Is anyone else using the DSS module of BASH with A4d 3.0?

After calling DSS_get_array_by_unary_type, what is the $ptrArray variable reference (i.e. name of the variable, you can see it in the debugger)?

JIC, you made certain you have initialized BASh, correct?

the variable name is <>axDSS_001

also, I verified that INIT_BASh is called in both the Server Startup
method and the Startup method.

What is the code for "some_method" that you are calling? Can you post that code so it can be seen?


I am guessing that in some way the variable type in the method is getting changed...


The "some_method" is actually code from the "WebDAV" example on the 4D site. The specific method is called WDAV_Directory List. To further test this I created a 4D method "aaaTest"


C_POINTER($1)
C_TEXT($0)

C_STRING(80;$sName)
C_LONGINT($iTable;$iField)

RESOLVE POINTER($1;$sName;$iTable;$iField)

$0:=$sName


from Active 4D I have the following code:

c_pointer($ptrArray)
$ptrArray:=DSS_get_array_by_unary_type(2)
write("this is the Array name...")
write(aaatest($ptrArray))                       
dss_return_variable($ptrArray)
exit

The result in interpreted mode is:
        this is the Array name...*axDSS_001

In compiled mode:
        this is the Array name...*

Thanks again for your help.

Barclay




Reply via email to