FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
Limits in WDL usage
Limits in WDL usage
Débuté par Malc, 25 aoû. 2008 09:34 - 1 réponse
Connectez-vous…
Malc
#1
Posté le 25 août 2008 - 09:34
Hi Guys
Anyone out there using WDLs?
I am trying to create some shared libraries, which includes 'generic' code such as base classes for data and connection handling etc, plus sets of global procedures containing standard functions and constants.and variables
When I attempt to use this library with an executable, the global procedures do not seem to be visible, and the classes do not seem to include the methods and members inherited from their superclasses.
e.g.
In the WDL I have
CCountries is Class
inherits CBaseData
MyProperty1 is String = "Hello"
CBaseData is Class
MyProperty2 is string = "World"
In the exe, I have a form which has an oLib property
This is initialised to CCountries class found in the WDL file.
Global Declarations of MyForm
oLib is CCountries
Initialisation of MyForm
LOCAL
lsTest is string
lsTest = oLib:MyProperty1 // Fine, can be seen
lsTest = oLib:MyPropery2 // This errors with:
// 'MyProperty2' element not found in 'CCountries' class.
Is this a known issue?
TIA
Malc
Signaler
0
0
Malc
#2
Posté le 25 août 2008 - 09:34
As a follow on, I have discovered that whilst inheritance seems to be a problem, object referencing seems ok, so...
In the WDL
CCountries is Class
MyProperty1 is String = "Hello"
MyObject1 is CBaseData
CBaseData is Class
MyProperty2 is string = "World"
In the exe with the form
Global Declarations of MyForm
oLib is CCountries
Initialisation of MyForm
LOCAL
lsTest is string
lsTest = oLib:MyProperty1 // Fine, can be seen
lsTest = oLib:MyObject1:MyPropery2 // seems to be ok
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte