By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,491 Members | 1,186 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,491 IT Pros & Developers. It's quick & easy.

MarshalAsAttribute

P: n/a
Hey,
(my english is bad)
I'm Sofware Developer in Brazil.
I'm have a big trouble.
Description:
A application in VB6 use a struct file in C.

Struct Components

Public Structure str_parent
Public var1 As Integer
...
Public sun() As str_sun
End Structure

Public Structure str_sun
Public var1 As Integer
...
End Structure

Public Parent As str_parent

ReDim Parent.sun(10) 'OK

FileGet(file, parent)

After this the parent.sun lenght back to 0 (zero)

Why?

I can use MarshalAsAttribute?

Thank's.
Edson

--------------------------------
From: Edson Valentim

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>J4FkCn8dJUGONt1Wv0uD5g==</Id>
Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.