User Profile
Collapse
-
That corrected the problem - thanks! I'm still having problems with the DLL reading my structure, but I don't think it's related to this issue. It could be something else with the marshalling or something. -
VB.NET Accessing C DLL Problems
I've been working through trying to access a C DLL from VB.NET. I've read many online postings, but I'm still having problems. Now, my error is the "Attempted to read or write protected memory" error. Here's my Structure declaration:
[CODE=vbnet]<StructLayout(L ayoutKind.Seque ntial, charset:=CharSe t.Ansi)> _
Public Structure CONFIG_PARM
<MarshalAs(Unma nagedType.LPStr )> Public address1 As String...
No activity results to display
Show More
Leave a comment: