PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD20]Custom common framework
[WD20]Custom common framework
Iniciado por guest, 30,sep. 2016 10:42 - 5 respuestas
Publicado el 30,septiembre 2016 - 10:42
Hi everyone,
I'm trying to set up a common framework among several Windev apps.
I found out that choosing the "Common WinDev framework" during the creation of the exe, and downloading the .dll files through the pcsoft.fr portal, the freshly downloaded framework appears in the ".\Program files\Common Files\PC SOFT\20.0\Framework" directory.
I'm wondering... Is there a way to change this path, with all the Windev applications pointing at the new directory?
TIA
Publicado el 30,septiembre 2016 - 11:03
Hi Yaku,
according to help, this is at a fixed directory.
http://doc.windev.com/en-US/…

You can use a "renamed framework" but then, there are some limitations (.net etc)

Steven Sitas
www.alpha360.biz
Publicado el 30,septiembre 2016 - 11:49
Hi Steven,
thank you for your quick response.
I've tried the "renamed framework" as well (considering the fact that the limitations doesn't affect me), and it just put the .ddls in what we obtain by using the function fExeDir(), without the option to move them somewhere
Publicado el 30,septiembre 2016 - 19:35
Hello Yaku

You can leave them where they are and modify the operating system path to point to that folder.

https://www.windows-commandline.com/set-path-command-line/

Regards
Al
Publicado el 01,octubre 2016 - 10:00
Hi Al,
That's what I wanted! Thank you very much!
Publicado el 04,octubre 2016 - 15:00
EDIT: this method works very well with Windev applications with just the .exe file in their respective folders.
However, I'm finding some issues with running the framework aforementioned with Windows Services created by Windev... After some thoughts, I've figured out that the major problem is that the service that I'm testing with is run by the "AccountLocalSystem" user, and it cannot properly see the environment variables (I think..), so the Service, after the installation, remains stuck at "Starting" state...
Any hints on how to get through this problem?
TIA