on 05-13-2016 10:34 AM
LOCAL cDefPath as PSZ |
LOCAL nPathDef as DWord |
AdsDDGetDatabaseProperty( SysObject():nConnection , ADS_DD_COMMENT, @cDefPath, @nPathDef) |
? | Mem2String ( cDefPath , nPathDef ) |
This is the code i am using but it return crap can someone see what i am doing wrong. I have used AdsDDSetDatabaseProperty to confirm that Sysodject():nConnection this works fine Code below
AdsDDSetDatabaseProperty( SysObject():nConnection, ADS_DD_COMMENT, String2Psz("qwertyuioplkjhgfdsamnbvcxz 12345"), 20 )
you need to allocate some space for cDefPath and then pass the maximum available length using nPathDef into the function. It then returns the used space. Look at the online help how this is done in C.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.