Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
3
Erster Beitrag:
vor 5 Jahren, 3 Monaten
Letzter Beitrag:
vor 5 Jahren, 3 Monaten
Beteiligte Autoren:
Pragma Tix, GuenterP

WX17 analysis generation number, Jimbo san

Startbeitrag von Pragma Tix am 09.10.2012 16:33

Jimbo san, is this what you miss for quit a while ?

< Analysis GUID > + CR + < Generation Number >

Then HinfoAnalysis() is what you are looking for. (Found it by accident)
Otherwise, sorry for the noise !!

Antworten:

Quote
Pragma Tix
Jimbo san, is this what you miss for quit a while ?

< Analysis GUID > + CR + < Generation Number >

Then HinfoAnalysis() is what you are looking for. (Found it by accident)
Otherwise, sorry for the noise !!


Hi Bjoern san,

no, I'm sorry, this one refers to the single generation number of analysis only. Each file definition within the analysis has its own generation number AND each physical file bears the generation number of its creation respective of the last restructuring. It would be helpful if we know the file generation number of any given file in the analysis.

What I would love to see are properties like

IF MyFile..InternalGenerationNumber MyFile..TheFileGenerationNumber THEN
... start WDMODFIC here
END

I wrote a request and you can read an annotation here:
http://doc.pcsoft.fr/en-US/?2512068&name=generationnumber_property&q=GenerationNumber%20(Property)

I think that one is able to get the file's internal generation number from the analysis, otherwise WDMODFIC.exe wouldn't work. And I believe that the analysis (as well as like everything in Wx) is kind of a compressed and encrypted XML-file that one could query after .. ahem. Ok, sometimes my hacking fingers are itching. Be quiet, fingers!

Arigatou gozaimazu!
Guenter

von GuenterP - am 09.10.2012 17:01
Jimbo san,
can you please try : HModifyStructure() using the hmsNoCheck option.
Have no time to play, hope you have :)
#pragma

von Pragma Tix - am 20.10.2012 09:30
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.