no Actually this solution didnot help me. i tried someting different which is
and this solve my problrm to use the unmanaged types used previously in vb6 in vb.net environment
i will describe for you my problem in more details:
Public Function RescivedCommand(ByVal number As Integer, byval data As string) As Boolean
this function is part o vb6 dll , when i execute this function the length of data is 160 in vb6.
but when i tried to use it in vb.net data is only one...