Web Connection
Webconnection error class wwShowCursor not found
Gravatar is a globally recognized avatar based on your email address. Webconnection error class wwShowCursor not found
  Naeem Afzal
  All
  Jan 17, 2019 @ 01:08pm

I installed webconnection and created a WebTest project.

WebTest project is created in the webconnect root folder.

Another WebTest folder is also created in IIS as shown the following figure

When I run this project and call it from a browser I get this error

It does not "set procedure to wwShowCursor additive " command.

I tried to set this in wconnect.h file but it still gives error.

How can I fix this error ?

Regards,

Gravatar is a globally recognized avatar based on your email address. re: Webconnection error class wwShowCursor not found
  Mike McDonald
  Naeem Afzal
  Jan 17, 2019 @ 03:51pm

Don't edit the WCONNECT.h file itself - that file would be overwritten when you update the Web Connection version.

You want to edit WCONNECT_OVERRIDE.h instead - it won't be overwritten by an update.

It is likely that the setting is re-defined in WCONNECT_OVERRIDE.h to .F., which would explain why the SET PROCEDURE statement isn't being called.

You would add the following..

#UNDEFINE WWC_LOAD_WWSHOWCURSOR 
#DEFINE WWC_LOAD_WWSHOWCURSOR .T.

- Mike McDonald

Gravatar is a globally recognized avatar based on your email address. re: Webconnection error class wwShowCursor not found
  Rick Strahl
  Naeem Afzal
  Jan 17, 2019 @ 04:29pm

wwShowCursor is a legacy feature nad if you're building a new project probably not a good idea to use. As Mike pointed out you can enable those features but for new projects - don't do that. If you do change the wconnect_override.h settings make sure to recompile all framework files - otherwise those changes won't apply.

If you want similar functionality with a lot more flexibility look at HtmlDataGrid():

+++ Rick ---

© 1996-2019