I desperately look for an equivalent method to DOS Basic command VARSEG and VARPTR, which where used to copy a user Type to and from a string var.
The problem is :
I've got a structure like
Type usrEmployee
EName as string * 25
EFirstName as string * 15
End Type
I want to copy it to a string var like strNameAndFirstName without using the heavy syntax
strNameAndFirstName= usrEmployee.EName & usrEmployee.EFirstName
or
usrEmployee.EFirstName = mid$(strNameAndFirstName,1,25)
and so on, do you imagine it for long structures ?
Any help would be appreciated, and its contributor highly considered !