i use the function DC_GetNetName() in my application
it returns the netname from the registry (my netname "MSI-WORKS" has 9 chars und the
function returns 10 chars (when i test it with "len(dc_GetName())")
when i display the return value with MSGBOX() i see "MSI-WORKS" - ok
when i display the return value with DC_MSGBOX i see only "MSI_WOR...." (the end has "...")
with DCSAY i see a undefind Char at the End of the Name (see Picture)
i think that the char at the end makes the "MSI-WOR..." Error in DC_MSGBOX()
my workaround is to trim the last char -
Code: Select all
cNetName:=substr(cNetName,1,len(cNetName)-1)
is use WinXP SP3 but the problem is also on VISTA und i hera about that on WIN7 it is also
thanks