Hello there.

This is my first post at this forum.

I have worked some time with API's in Visual Basic, but something goes wrong when I use my samples in Windows 2000.

Handles used to identify gdi-objects, are different from windows 98.

  • The numbers are larger, and now for some weird reason, some GDI API's say the handle is invalid.
  • I had some problems with reveicing a handle through a -long parameter, which I needed to pass to a unsigned integer. I fixed that, but still by application fails.


You can check out my files at http://www.cool-programming.f2s.com/vb/win32api