I need to set up an array in a struct for passing to a win32 api call . How
do I do this please?
("Name" is actually a zero terminated ascii string, so a pointer to a
better way to do this would also be appreciated)
eg
[StructLayout(LayoutKind.Sequential)]
public struct Details
{
public int UniqueID;
public byte[] Name[43]; << wrong here, also should be ascii chars
thanks for answering so quickly cody but that was all gobbledegook at my
level (I just about understood the IIRC bit)
Can you give me a code snippet or link to example please
thanks for answering so quickly cody but that was all gobbledegook at my
level (I just about understood the IIRC bit)
Can you give me a code snippet or link to example please
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.