Thanks, but I see in DLLs that MS Server tools do not use this function too, so my solution is to use SQLBrowseConnect function only.
>>NetServerEnum returns pointer to buffer, that is hard to use in VFP without additional tools to work with pointers in VFP. SQLBrowseConnect is better here. In addition, I may use it to figure out if I can work with SQL Server at all.
>> What you meant as 'hidden' SQL Servers?
>>
>
>My CLSHeap class in the Files section contains some UDFs that simplify working with buffers; you might want to read the transcripts on my two Wednesday Night lecture presentations on pointers and the API with VFP available on the wiki site.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.