FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
How to include a set of routines in an app?
How to include a set of routines in an app?
Débuté par John Fligg, 09 oct. 2017 16:45 - 3 réponses
Connectez-vous…
John Fligg
#1
Posté le 09 octobre 2017 - 16:45
Hi, I have 6 apps to cover iOS, Android and Windows with Tablet and Phone versions.
The apps are identical other than the screens so 36 Global Procedures are identical in each.
I even have a way to make a lot of local procedures global using Indirection and Parameters.
I remember reading a long time ago it was possible to create a sub app which could have these global procedures defined and then shared among all the apps. Obviously it can't be a dll as iOS and Android do not support dlls.
BTW I do not want to put these in a Web Service as the apps are designed to predominantly work Offline. I do use Web Services but in this it would not be practical.
Can someone kindly point me in the right direction how to share common code between apps and how to "call" such a "sub app".
Many thanks in advance.
Signaler
0
0
Fabrice Harari
#2
Posté le 09 octobre 2017 - 17:13
Hi John
it depends:
- if you want to share the source, then you are looking for the dictionary functionality
- if you want to share the functions but not the source, it looks like you are thinking about a component. However, as a component is compiled, I doubt that you can share one between windev and mobile, as the target for the compilation is different.
Best regards
Signaler
0
0
John Fligg
#3
Posté le 10 octobre 2017 - 09:07
Thx Fabrice. How do you implement the first suggestioce please - Source in Analysis.
As for the component functionality may be OK but the source would be a better option. These procedures are all OS non dependent so could be shared.
Many thanks
John
Signaler
0
0
John Fligg
#4
Posté le 10 octobre 2017 - 09:13
Sorry I found the answer.
Thx
John
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