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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FindWindows Problem

Status
Not open for further replies.

gavinlow

IS-IT--Management
Oct 14, 2002
12
SG
Hi,

Currently have a working application running on NT4 with IIS 3.0. Am trying to make it run on IIS 5.1 (using Windows XP OS for testing purpose). The server component when started creates a window (class = ROUTER, title = Router11) and waits. The client side is invoked via browser thru a CGI executable client.exe (eg. The client.exe will attempt to look for the server component window Router11 using FindWindow(x,y) where x=ROUTER and y=Router11. However, a null handle is always returned. Have gone through the IIS settings (comparing with my IIS 3.0 setup) and have gone through the program code but could not figure out what is the problem.

Anyone can help?

Gavin
 
Care to elaborate on which permissions? The CGI client.exe was executed and I was able to debug and see that it went through the statements in there.
 
I executed the cgi client.exe locally (instead of invoking via browser & thru IIS) and managed to debug and found that it is able to find my server component Router11.
 
So what exactly is the 'C' question?

I can't tell which API you're using, it might be IIS or win32, I don't know.

You might fare better on this forum.
But you need to show some actual code you tried, not merely describe a single function call you tried to use.

--
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top