Documentation for Win API's

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am converting a VB6 application to VB.Net. I need to find the documentation for building a declare statement to access Win API's. In VB6, this documentation was stored in a file called "Win32api.txt"

VB6 Example
Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (ByRef lpvDest As any,
ByRef lpvSource As Any, ByVal cbCopy As Integer
 
Before you convert all of your API calls, you should thoroughly
investigate whether it's actually needed. Most everything you'd have
needed an API call for in VB6 lives somewhere in the base class
library.

--Mary
 
Hi David,

What is Win.NET?

If you want API's you can look on msdn.microsoft.com and type in copymemory
that is as far as I can see a part of windows not from the dotNet framework.

I hope this helps

Cor
 
Hi David,

This answer stays the same, I got it in one hit.

If you want API's you can look on msdn.microsoft.com and type in
"copymemory"
that is as far as I can see a part of windows not from the dotNet framework.

And also usable in VB.net but it is no managed code and therefore in my
opinion not really dotNet.

Cor
 
Back
Top