Login  
Search All Forums
Dart Home | C++ Professional Toolkit | Custom Development Reply | C++ Professional Toolkit Topics | Forums   
AuthorForum: C++ Professional Toolkit
Topic: Ptlic32.exe NOT FOUND error
r_meen

From: Cincinnati, OH USA
Posts: 3
Member Since: 08/23/04
posted August 23, 2004 10:41 AM

Environment:

1. Windows Server 2000 with Service Pack 4 (with all critical updates taken and Microsoft .NET 1.1 installed)

2. PowerTCP: Used "PowerTCP 4.1 Professional Edition Installation"
Application is using, "PowerTCP 4.1 for Visual Basic"

3. PowerTCP Version info. from Release Note (first line from the Readme.txt file):
"Major Enhancements with this version (4.1.11) 10/6/98"

4. Windows Application (32 bit) developed using Microsoft VB 6.0 Service Pack 6.

5. Application uses a third-party OCX control, SvcIt.ocx, from http://www.activeplus.com.
Service-It Control Version 1.1.9 is an ActiveX Control (OCX) that is used to convert an existing Visual Basic application into a Windows NT 
service
---------

Scenario:

Two similar Visual Basic 6.0 applications, Application A and Application B run as Windows Service (using the third-party tool mentioned above).

Both application use PowerTCP.

Each application when run as service works fine as long as the other application is not started.

But when one service application is running and the other is started, the Service does not start giving a generic error (...unable to start 
in a timely-fashion). They don't seem to co-exist.

When debugged stepping through the code, it fails at, Server.Listen 0, in the subroutine below:


Public Sub StartListening()
 Listening = False       ' Reset flag
 Server.LocalPort = gLocalPort ' AssignPort
 Server.Listen 0        ' Listen forever
                '(no timeout)
End Sub

The error message is:
---------
Dart Software Licensing Missing (in caption bar)
Ptlic32.exe NOT FOUND
---------

************
"Server" variable is defined in file called Tcpserver.cls

' Declare a TCP object.
' WithEvents gives us access to the events.

Private WithEvents Server As TCP
Attribute Server.VB_VarHelpID = -1

NOTE: Application A uses LocalPort 5, and Application B uses 6
************

What could be the problem?

Any help would be greatly appreciated.

Thanks,
- Meen
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted August 23, 2004 10:48 AM

First of all, is Ptlic32 there? If you go to the command prompt and type "ptlic32", does the license manger run?

Secondly, if you run both programs as non-service apps do you get the error?
r_meen

From: Cincinnati, OH USA
Posts: 3
Member Since: 08/23/04
posted August 23, 2004 11:15 AM

Thanks for the quick reply.

Yes, the Ptlic32.exe is existing and I am able to run the license manager.

I haven't tried running both programs as non-service apps. I'll try that when I get a chance. Is there anything else I should try?

Thanks,
Meen
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted August 23, 2004 11:29 AM

Not that I can think of. I've never heard of a scenario like this.
r_meen

From: Cincinnati, OH USA
Posts: 3
Member Since: 08/23/04
posted August 31, 2004 9:29 AM

The problem has been fixed. Looks like the machine had both the runtime and full installation of PowerTCP. It appears that only one, either runtime or full installation, should be setup on the machine for the two similar applications (that use PowerTCP) to work simultaneously.

Thanks,
Meen
Reply | C++ Professional Toolkit Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX