|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Error on DllImport (PInvoke) syntax<DllImport("user32.dll", EntryPoint := "UnregisterHotKey"> _
Public Function Win32UnregisterHotKey( _ ByVal hWnd As IntPtr, _ ByVal id As Integer) As Integer End Function squiggles every keyword in the above and the tool-tip says: "Expression Expected". Uh?
Show quote
Hide quote
"Water Cooler v2" <wtr_***@yahoo.com> wrote in message Missing ")" before ">".news:1151406416.350690.195910@y41g2000cwy.googlegroups.com... > <DllImport("user32.dll", EntryPoint := "UnregisterHotKey"> _ > Public Function Win32UnregisterHotKey( _ > ByVal hWnd As IntPtr, _ > ByVal id As Integer) As Integer > End Function > > > squiggles every keyword in the above and the tool-tip says: "Expression > Expected". > > Uh? "Water Cooler v2" <wtr_***@yahoo.com> schrieb: '... :="UnregisterKotKey")> _'.> <DllImport("user32.dll", EntryPoint := "UnregisterHotKey"> _ -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> There's missing closing ) in DllImport constructor.
Show quoteHide quote > <DllImport("user32.dll", EntryPoint := "UnregisterHotKey"> _ -- Peter Macej Helixoft - http://www.vbdocman.com VBdocman - Automatic generator of technical documentation for VB, VB ..NET and ASP .NET code Yup! thanks! Saw that immediately after making the original post but
couldn't reply sooner than now to say "all systems go".
Dates at Midnight
Rewriting the Textbox Obscure error Registering hot-keys for your Winform DatagridView comboboxcolumn - assign cell value [Regular Expression] match a word with interpunctuation Getting saved values back to display after Update Newbie Needs Help ! Find out the MAC-Adress of a server How to have .net code call pager or phone |
|||||||||||||||||||||||