Web Connection
Compile Errors for REST Service Project
Gravatar is a globally recognized avatar based on your email address. Compile Errors for REST Service Project
  Rob Corbett
  All
  Feb 27, 2017 @ 09:52am

I'm trying to test the Shareware Web Connection. I've installed it and added the Shareware Client Tools. I used the Project Wizard to create a REST Service project and have been attempting to compile it without success (see error messages below). Where can I find the missing items? Help is much appreciated.

Program c:\wconnect\projects\wctrac\deploy\wctrac_serverconfig.prg has the following errors:
    Visual Class Library WEBSERVER - Undefined

Program c:\wconnect\wwclient\classes\wconnect.prg has the following errors:

    Visual Class Library WCVISUAL - Undefined
    Program WWSERVER - Undefined
    Program WWPROCESS - Undefined
    Program WWREQUEST - Undefined
    Program WWRESPONSE - Undefined
    Program WWRESPONSEFILE - Undefined
    Program WWRESPONSESTRING - Undefined
    Program WWPAGERESPONSE - Undefined
    Program WWHTMLHELPERS - Undefined
    Program WEBCONTROL - Undefined
    Program WEBCONTROLS - Undefined
    Program WEBCONTROLSEXTENDED - Undefined
    Program WEBCONTROLSJQUERY - Undefined
    Program WWSESSION - Undefined

Program c:\wconnect\classes\wwmaint.prg has the following errors:
    Unknown HTMLDATAGRID - Undefined

Program c:\wconnect\classes\webpageparser.prg has the following errors:
    Proc./Func. WEBCONTROLS - Undefined
Gravatar is a globally recognized avatar based on your email address. re: Compile Errors for REST Service Project
  Rick Strahl
  Rob Corbett
  Feb 27, 2017 @ 11:45am

You can't mix the Client Tools and Web Connection. They use the same files with different dependencies. It looks like your files are getting mixed up. Web Connection includes the client tools so there's no need to combine anything.

I suggest you do a clean re-install of Web Connection.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Compile Errors for REST Service Project
  Rob Corbett
  Rick Strahl
  Feb 27, 2017 @ 02:47pm

Thanks for the quick reply Rick. Although, I'm still getting compile errors (see below). I have a strong feeling this has to do with missing components in the Sharware version. I do plan to purchase the licensed product, but wanted to check it out first. Is that the problem?

Program c:\wconnect\projects\wctrac\deploy\bld_wctrac.prg has the following errors:
    Proc./Func. WWUTILS - Undefined
    Proc./Func. PATH - Undefined
    Proc./Func. WWHTTP - Undefined
    Proc./Func. DCOMCNFGSERVER - Undefined
    Unknown INPUTFORM - Undefined
    Unknown GETPASSWORD - Undefined
    Unknown SHOWHTML - Undefined

Program c:\wconnect\projects\wctrac\deploy\scc.prg has the following errors:
    Proc./Func. GENXML - Undefined
    Proc./Func. GENCODE - Undefined

Program c:\wconnect\projects\wctrac\deploy\wctrac_serverconfig.prg has the following errors:
    Proc./Func. WWUTILS - Undefined
    Visual Class Library WEBSERVER - Undefined
    Visual Class Library WWXML - Undefined
    Unknown ISADMIN - Undefined
    Unknown ISNULLOREMPTY - Undefined
    Unknown SETACL - Undefined

Program c:\wconnect\projects\wctrac\deploy\wctracmain.prg has the following errors:
    Unknown STARTSWITH - Undefined
    Unknown ENCODEHTML - Undefined
    Unknown FILE2VAR - Undefined

Program c:\wconnect\classes\wwmaint.prg has the following errors:
    Unknown FILE2VAR - Undefined
    Unknown HTMLDATAGRID - Undefined
    Unknown OPENEXCLUSIVE - Undefined
    Unknown FILESIZE - Undefined
    Unknown ISDIR - Undefined
    Unknown HREF - Undefined
    Unknown COPYTREE - Undefined

Program c:\wconnect\classes\webpageparser.prg has the following errors:
    Unknown SHOWHTML - Undefined
    Unknown FILE2VAR - Undefined
    Proc./Func. WEBCONTROLS - Undefined
    Unknown GETREGEXOBJECT - Undefined
    Unknown FILETIME - Undefined
Gravatar is a globally recognized avatar based on your email address. re: Compile Errors for REST Service Project
  Rick Strahl
  Rob Corbett
  Feb 28, 2017 @ 01:41pm

What exactly are you doing to load all of these files individually? Some of these files are build and support files.

The shareware version does not allow you to build a project. You have to run the main PRG file directly to start your server. The dependencies you are missing mostly are in wconnect.app and have to be loaded expplicitly which is done as part of the launch of the application.

To test that everything is working:

  • Install Web Connection
  • Run Setup.exe
  • Then start VFP from the ShortCut created
  • DO wcDemoMain

This should work as is.

+++ Rick ---

© 1996-2025