E
Eric BOUXIROT
hi there,
i'm working on a smart application project on VB.NET. i must call API
(custom eVC++ DLL) but i have some trouble with mashalas attribute.....
i have copy/past a sample on msdn help but it's not working..
IDE says "unknown 'mashalAs' attribute".....and i don't know why....
i have try exactly the same code on a normal windows project and it work
(compile) fine...
i don't know what i've missed....
here some lines of my code...
thank a lot...
Imports System.Runtime.InteropServices
Public Class Form1
Public Declare Function F_BDO_MessageBoxOK Lib "PDA_BDO.dll" (ByRef
IN_title() As Byte, <MarshalAs(UnmanagedType.LPStr)> ByRef IN_msg As String)
As Int32
i'm working on a smart application project on VB.NET. i must call API
(custom eVC++ DLL) but i have some trouble with mashalas attribute.....
i have copy/past a sample on msdn help but it's not working..
IDE says "unknown 'mashalAs' attribute".....and i don't know why....
i have try exactly the same code on a normal windows project and it work
(compile) fine...
i don't know what i've missed....
here some lines of my code...
thank a lot...
Imports System.Runtime.InteropServices
Public Class Form1
Public Declare Function F_BDO_MessageBoxOK Lib "PDA_BDO.dll" (ByRef
IN_title() As Byte, <MarshalAs(UnmanagedType.LPStr)> ByRef IN_msg As String)
As Int32