Help!
Has anyone experienced the following and if so how did you solve it!
I have declare a UDT with various field types with 3 being date fields. I am then using the CopyMemory function to move a string into the UDT. However, I am finding that all the fields after the 3 date fields are two bytes out!
The first date field will always contain a value but the next two might not. I am guessing that the string is being shifted into date fields 2 & 3 which is causing the problem.
Does anyone know of a solution to this?
Any help would be much appreciated.
Thanks,
Steve
Has anyone experienced the following and if so how did you solve it!
I have declare a UDT with various field types with 3 being date fields. I am then using the CopyMemory function to move a string into the UDT. However, I am finding that all the fields after the 3 date fields are two bytes out!
The first date field will always contain a value but the next two might not. I am guessing that the string is being shifted into date fields 2 & 3 which is causing the problem.
Does anyone know of a solution to this?
Any help would be much appreciated.
Thanks,
Steve