West Wind Internet and Client Tools
How to instantiate wwDynamic with Shareware version
Gravatar is a globally recognized avatar based on your email address. How to instantiate wwDynamic with Shareware version
  Govinda Berrio
  All
  Dec 5, 2019 @ 09:07am

Hello,

I hope everyone is having a great day.

Can anyone tell me how to instantiate the wwDynamic class using the shareware version of WW Web Tools?

I've tried the following with no luck:

* setup
SET PATH TO WestWindTools
DO wwClient

* "Class definition WWDYNAMIC is not found"
otmp = CREATEOBJECT('wwDynamic')

* "..prg does not exist"
DO wwDynamic

* "..prg does not exist"
SET PROCEDURE TO wwDynamic from wwClient 

Gravatar is a globally recognized avatar based on your email address. re: How to instantiate wwDynamic with Shareware version
  Mike McDonald
  Govinda Berrio
  Dec 5, 2019 @ 10:04am

Govinda -

You need to set the PROCEDURE path before attempting to create the object..

SET PROCEDURE TO wwDynamic ADDITIVE
DO wwDynamic
otmp = CREATEOBJECT('wwDynamic')

Calling DO wwDynamic will establish any other environment settings required by that class.

Mike McDonald

Gravatar is a globally recognized avatar based on your email address. re: How to instantiate wwDynamic with Shareware version
  Govinda Berrio
  Mike McDonald
  Dec 5, 2019 @ 10:08am

Hi Mike,

Thank You for your reply.

When I try this code I get an error: "File 'wwdynamic.prg' does not exist." Which makes sense, since the Shareware version doesn't include that PRG.

Gravatar is a globally recognized avatar based on your email address. re: How to instantiate wwDynamic with Shareware version
  Rick Strahl
  Govinda Berrio
  Dec 5, 2019 @ 03:24pm

This doesn't work in the current version because I forgot to add wwDynamic into the .app file.

It'll go in in the next update.

It's in the full version and works there.

+++ Rick ---

© 1996-2024