View Single Post
  #8 (permalink)  
Old 12-08-2008, 5:21 PM
casper casper is offline
VB.NET Forum Newbie
.NET Framework: .NET 2.0 (VS 2005)
 
Join Date: Jun 2006
Posts: 10
Reputation: 49
casper is on a distinguished programming path ahead
Default

hey mate.. i got it working...

changed the following code:
Code:
Structure Meminfo
        <VBFixedString(100), System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValArray, SizeConst:=100)> Dim sCobol As String
    End Structure
to:

Code:
Structure Meminfo
        <VBFixedString(100), System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr, SizeConst:=100)> Dim sCobol As String
    End Structure
MANY THANKS FOR YOUR HELP.. REALLY REALLY REALLY APPRECIATED!!!!
Reply With Quote