https://bugzilla.novell.com/show_bug.cgi?id=444120
Summary: Use of Alias in Declare Function does not work
Product: Mono: Compilers
Version: 1.9
Platform: i386
OS/Version: Ubuntu
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basic
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: ---
For example, definitions such as this:
Declare Ansi Function GetClassName Lib "user32" Alias "GetClassNameA" (ByVal
hWnd As IntPtr, ByVal lpClassName As String, ByVal nMaxCount As Int32) As Int32
give a compile error when there is an Alias present, but work fine otherwise.
A workaround is to use the <DllImport> syntax instead.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs