Did you copy the POINTAPI structure from VB4 16bit ? or did you convert it from the original C header ?

A M$ C int is a 32bit integer - which is a Long in Visual Basic.


By the way - if you're interested in doing some fast polygon programming in VB, take a look at :

http://codeguru.developer.com/vb/articles/2024.shtml


Chris Eastwood

CodeGuru - the website for developers
http://codeguru.developer.com/vb