|
-
Dec 13th, 2004, 04:09 PM
#1
Thread Starter
New Member
C to VB Conversion Problem
I have a bit of C code that I need to convert to VB, but I'm not sure how exactly. If anyone is familiar with both and can help that would be great.
The bit of C code is
...
...
struct {
short ic_product[5]; /* binary encoded product name */
short plant_area;
short alias_flag;
} pr_send_buf;
...
...
...
strncpy(pr_send_buf.ic_product, ac_pc, 10); /* ac_pc would equate to a Product Code of some sort */
Does anyone have any idea of how to write the same thing in VB?
Thanks in advance,
Kevin
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|