Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

API Calls In Windows2000 Server

Status
Not open for further replies.

TURNERMICH

Technical User
Apr 5, 2000
64
AU
I have written a program in (VB6).using a large number of Windows API calls. ie. Findwindow, SendMessage etc.....

Under Win98 all ok............

When i run on Windows2000 Server. No go@#!#!#@@#$
Error '6' Overflow messages etc.
I suspect this is due to different DLL's etc,in 2000 server.

Would appreciate someone giving some general comment on this area.


Regards Turnermich

 
Turnermich -

Go through the definitions of all the API functions you're calling in the MSDN library -- you'll notice at the bottom a list of which versions of Windows it's supported on.

Another way to do this is to write a quick & dirty program that has all the Declare statements in it, and you simply call them one after another writing success/failure messages to the NT event log (App.Logevent) so you can see which one(s) fail.

Chip H.
 
Chip. Thanks for your advice.
I have gone through MSDN more carefully, and allis ok now.

Regards Turnermich
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top