On Sun, 25 Apr 2004 00:19:25 -0700, Jack Black wrote:
Hi, all!! Using VB.Net and VS/2003.
I'm trying to call standard Windows API calls from VB.NET, but keep getting
an "Unhandled Exception of type 'System.NotSupportedExtension' occurred in
myApp.exe". The call that's failing is CreateFile; all user types have been
converted to STRUCTURES, and all ANYs have been converted to a type that is
appropriate.
Any ideas? I'm sure this is something basic that I'm overlooking...
Thanks!
Jack
I have a .dll written in C# (and the source code) for a set of shared
classes that have virtually all the api's. I did not write the classes and
do know where I obtained them. I THINK it was on gotdotnet.com. The api's
are grouped logically. Since they are shared classes, they are called
easily.
For example, to call the CreateFile method, you would use the following:
Win32.Kernel.CreateFile(....)
Of Course you can use the Imports statement to import any of the
namespaces.
I attempted to attach a zipped version of the source code but it was
rejected as too large (86K).
If you are interested, please send me an EMail (be sure to remove the anti
spam portion).
If someone knows who created these classes, I would like to know. I would
also like to find some public place that these classes could be made
available.
--
Chris
To send me an E-mail, remove the underscores and lunchmeat from my E-Mail
address.