I had a similar problem recently. I found a great article about 
calling unmanaged code from .NET & it helped me out tremendously. The 
URL for the article is: http://www.informit.com/guides/content.asp?
g=dotnet&seqNum=104

Hope this helps....

-D



--- In [email protected], bond james 
<[EMAIL PROTECTED]> wrote:
> 
> Hello Group,I am very new to PInvoke.I am desparately looking out 
for a C# structure corresponding to the C style structure.C language 
DLL structure typedef struct PBFNProcessDataDefinition{char 
cVersion[VERSION_LEN];char cApiId[APIID_LEN];char * cFirm;short 
sFirmLen;char * cUrb;short sUrbLen;char * cAddress1}Further i have to 
pass this  structure as reference to API function in C from C#.How can 
i set values to the structure elements and further pass to the C 
structure.I've triedmultiple configurations and keywords, can someone 
help me out?thanks,James
> 
> 
>               
> ---------------------------------
> Yahoo! Mail
>  Stay connected, organized, and protected. Take the tour
> 
> [Non-text portions of this message have been removed]






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to