*Experts* Merrion Posted November 20, 2002 *Experts* Posted November 20, 2002 which is probably a good thing as I'm not very experienced in this .Net stuff yet Anyway - the API Exception class is wrong...the API declaration for FormatMessage should be... #Region "API Declarations" <DllImport("kernel32.dll", EntryPoint:="FormatMessageA", _ CharSet:=CharSet.Ansi, _ ExactSpelling:=True, _ CallingConvention:=CallingConvention.StdCall)> _ Public Shared Function FormatMessage(ByVal dwFlags As Format_Message_Flags, ByVal lpSource As Int32, ByVal dwMessageId As Int32, ByVal dwLanguageId As Int32, ByVal lpBuffer As StringBuilder, ByVal nSize As Int32, ByVal Arguments As Int32) As Int32 End Function #End Region Quote Printer Monitor for .NET? - see Merrion Computing Ltd for details
*Gurus* divil Posted November 20, 2002 *Gurus* Posted November 20, 2002 Fixed. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.