Translate into VB.Net

Z

Zahid

Hi,

-- URGENT --
I have a short piece of C/C++ code that i need
translating into VB.Net. Any volunteers? Know of any
websites that do this? Greatly appreciated.

code:

typedef unsigned char BYTE;
typedef unsigned short WORD;
typedef unsigned long DWORD;

typedef struct genreply_def {
BYTE Request;
WORD rc;
union {
char msg[500 - sizeof (WORD) - sizeof (BYTE)];
{other data}
};
} GENERALREP;
 
Z

Zahid

Hi,

i doesnt get translated properly using the converters :-(
its C/C++ code as opposed to C#.

Anyone else help?

Thanks in advance.
 
C

Cor

Hi Zahid,

Did not look well,

Sorry, but maybe you can put this question in the C# group too.

C++ to C# and then you can do it in 2 steps.

Cor
 

Ask a Question

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.

Ask a Question

Top