PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → When do programs need to be recompiled after analysis change
When do programs need to be recompiled after analysis change
Iniciado por guest, 19,oct. 2015 02:04 - 2 respuestas
Publicado el 19,octubre 2015 - 02:04
Sometimes after an analysis change, running an existing program will cause an error other times it does not. I am trying to figure out exactly when programs need to be compiled after something has changed in an analysis. Hoping someone can provide some guidance.

For example, if the analysis contains both local and server based files, and the file structure of a server based file has been changed, but the program in question accesses only local files does it need to be recompiled?

Do some analysis changes required recompilation and others not??
Publicado el 19,octubre 2015 - 05:23
Donald,

My experience with WinDev has been that ANY change in the analysis requires a recompilation of the program.

I have had cases where file backups BEFORE a change can no longer be processed correctly by a program AFTER the analysis change.

Logically this makes sense since a compilation works with the information in the analysis (no of files, no of fields, keys, etc.) AT THE TIME OF COMPILATION. Any change in the analysis changes this dependency.

I have not worked with server files but I would expect that the same logic would apply.
Publicado el 27,octubre 2015 - 15:30
I now keep multiple analysis; one for local files, one for server files and one for both. Unfortunately, there is no automated way for them to be kept in sync. However, I have found that it is possible to open two sessions of Windev simultaneously and drag and drop files from the master analysis which contains all files to the local or server version as needed.

The reason for this is that the server files change structure often, while the local files almost never change, Programs tend to work with one set of files or the other, while only a few programs work with both. Having different analysis saves me from having to re-compile programs that are access only local files every time the server schema changes.

Also found out that if you do a File, Open on an analysis (wpa) file directly, that you don't have to open a project which uses the analysis.