RegisterApplication() & UnregisterApplication()
Posted: Sun Jul 06, 2014 1:38 pm
Hi, just added some Printf's to Mixer code and found that when RegisterApplication() & UnregisterApplication() the appID I get next time I execute Mixer it increases +1 the previous appID.
As I UnregisterApplication(), shouldn't next time the same appID be used, as it is "disposed"/freed by UnregisterApplication()?
Piece of code I use in RegisterApplication():Or maybe is 'REGAPP_UniqueApplication, TRUE' feature?
1)run Mixer for first time:
START create_docky()
appID=0x00000000 'Utilidades:MUSICA/Mixer/Mixer' WBenchMsg=0x57415AC2 cxPopup=1 aii=0x5917CBB8
RegisterApplication(): appID=0x0000000F
AppDocky='Mixer' applibPort=0x5D56D810
END create_docky()
...
2)quit Mixer:
...
UnregisterApplication(): appID=0x0000000F
3)Re-execute Mixer again:
START create_docky()
appID=0x00000000 'Utilidades:MUSICA/Mixer/Mixer' WBenchMsg=0x57415982 cxPopup=1 aii=0x5917CBB8
RegisterApplication(): appID=0x00000010
AppDocky='Mixer' applibPort=0x5D56DB10
END create_docky()
...
As I UnregisterApplication(), shouldn't next time the same appID be used, as it is "disposed"/freed by UnregisterApplication()?
Piece of code I use in RegisterApplication():
Hidden Text - Click to Show :
1)run Mixer for first time:
START create_docky()
appID=0x00000000 'Utilidades:MUSICA/Mixer/Mixer' WBenchMsg=0x57415AC2 cxPopup=1 aii=0x5917CBB8
RegisterApplication(): appID=0x0000000F
AppDocky='Mixer' applibPort=0x5D56D810
END create_docky()
...
2)quit Mixer:
...
UnregisterApplication(): appID=0x0000000F
3)Re-execute Mixer again:
START create_docky()
appID=0x00000000 'Utilidades:MUSICA/Mixer/Mixer' WBenchMsg=0x57415982 cxPopup=1 aii=0x5917CBB8
RegisterApplication(): appID=0x00000010
AppDocky='Mixer' applibPort=0x5D56DB10
END create_docky()
...