PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → Connection of mobile application with a server HyperfileSQL
Connection of mobile application with a server HyperfileSQL
Débuté par bokilo, 10 fév. 2017 14:25 - Aucune réponse
Posté le 10 février 2017 - 14:25
this is the code of initialisation of my application.

sNomConnexion est une chaîne = "Ya_Mos"
gsLibelléConnexion est une chaîne = "Connexion à '192.168.173.1'"
sTypeConnexion est une chaîne = "WinDevClientServeurHF"
sTypeAccès est un entier = hOLectureEcriture
sNomSource est une chaîne = "192.168.173.1:4900"
sNomBase est une Source de Données = "Eat--Well"
sNomUtilisateur est une chaîne = "admin"
sMotDePasse est une chaîne = ""
gsInfoEtendus est une chaîne = ";Cryptage = aucun;Initial Catalog=Eat--Well"


SI HOuvreConnexion(sNomConnexion, sNomUtilisateur, sMotDePasse, sNomSource, "Eat--Well", sTypeConnexion, sTypeAccès) ALORS
Info("Connexion établie")
SINON
Erreur(HErreurInfo())
FIN



///////////////////////////
i installed it in an adroid device and i try to connect it with my machine(server) but this is the information that i get every time.
cannot connect to the server "192.168.173.1"