Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
56 user(s) are online (48 user(s) are browsing Forums)

Members: 0
Guests: 56

more...
Support us!
Recent OS4 Files
OS4Depot.net





Application lib probs
Just can't stay away
Joined:
2007/2/23 13:49
From Finland, the land of Santa, sauna, sisu and salmiakki
Posts: 1100
I don't remember if this has been reported already. But IApplication->FindApplication() should return appID according to autodocs. But it looks to me it returns boolean value (0 or 1). Version: application.library 53.10 (13.11.09)

_________________
Rock lobster bit me, so excuse me.
X1000 + AmigaOS 4.1 FE. Be authentic.
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
   Report Go to top

Re: Application lib probs
Amigans Defender
Joined:
2006/11/26 23:16
From Canada
Posts: 986
@TSK
Note you can check application IDs with Ranger as well.

_________________
ExecSG Team Lead
   Report Go to top

Re: Application lib probs
Just can't stay away
Joined:
2007/2/23 13:49
From Finland, the land of Santa, sauna, sisu and salmiakki
Posts: 1100
@ssolie

I need that ID to send messages to other apps.

_________________
Rock lobster bit me, so excuse me.
X1000 + AmigaOS 4.1 FE. Be authentic.
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
   Report Go to top

Re: Application lib probs
Just can't stay away
Joined:
2008/1/6 17:56
From Pennsylvania, USA
Posts: 1326
@TSK

For the FINDAPP_Filename Tag in the autodoc it states:

FINDAPP_FileName
Searches for the given application filename
(e.g. "Work:TestApp/TestApp").
If this tag is specified, FINDAPP_FileName is
ignored.

That means it is designed to ignore itself.
With docs like that, who knows what the function is supposed to return

   Report Go to top

Re: Application lib probs
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1690
@xenic

Looks like a simple copy-paste error to me. The autodocs contain many of those. In this case judging from the context it's probably supposed to say that the FINDAPP_Name tag is ignored.

   Report Go to top

Re: Application lib probs
Just popping in
Joined:
2007/9/3 17:27
From France
Posts: 144
Application.lib (especially the PrefsObject section) and docky autodocs have long been reported as incomplete or erroneous. That's a bit dangerous if one consider that third party programs are forced to rely on wild guesses and may cease to work one day when the library is fixed.

   Report Go to top





[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project