Dart Home | PowerTCP WebServer for ActiveX | Custom Development | Reply | PowerTCP WebServer for ActiveX Topics | Forums |
Author | Forum: PowerTCP WebServer for ActiveX Topic: Crash |
User956 Posts: 8 Member Since: 09/21/00 |
posted September 21, 2000 2:03 PM I have a simple form on which I have put a WebServer control. The Rootdirectory property is set to an existing directory. As soon as I use the Start() method of the WebServer control, a Fatal error is reported (Exception code=C0000005). Any hint? Pat |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted September 21, 2000 2:06 PM Does the sample crash? What is the EXACT code you are using? |
User956 Posts: 8 Member Since: 09/21/00 |
posted September 21, 2000 3:00 PM I have no usable sample. The only sample I have is in VB but we don not use VB. We either use Delphi or Visual FoxPro. The program is written in Visual FoxPro. The WebServer Tool control is called WebServer. When the form loads, the RootDirectoy of the WebServer control is set to "D:\INETPUB\WWWROOT\PATBOENS" ThisForm.WebServer.RootDirectory = "D:\INETPUB\WWWROOT\PATBOENS" On the form, there is a command button whose Click method starts the server: ThisForm.WebServer.Start() ... that's it. Pat |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted September 21, 2000 4:17 PM I'll have someone make a quick sample and I will e-mail it to you. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted September 21, 2000 4:46 PM What you are seeing is not a "crash". You are probably seeing an Exception being reported because you attempted to start the secure server on port 443 without first assigning a certificate. That is normal. |
User956 Posts: 8 Member Since: 09/21/00 |
posted September 21, 2000 5:50 PM How can I get rid of that? Should I have to assign the LocalPort property with port 80? Pat |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted September 21, 2000 7:30 PM Have you checked the Online Help yet? |
User956 Posts: 8 Member Since: 09/21/00 |
posted September 22, 2000 2:02 AM Yes I did but what I miss the most is a kind of tutorial. The online help is perfect for a Reference ... but it does not give any framework. Pat |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted September 22, 2000 8:50 AM Well. we can't make samples for everything. Your best bet would be to look at the FoxPro samples that we have (FTP has some, so does Mail) and get ideas from them. |
Reply | PowerTCP WebServer for ActiveX Topics | Forums |
This site is powered by
![]() |