Application library warning

6 posts / 0 new
Last post
jap
jap's picture
Offline
Last seen: 2 months 2 weeks ago
Joined: 2011-06-04 05:53
Application library warning

Hello,
When I execute my program, a requester pops up and says that I've used version 2 application.library tags and that the program will crash. The warning appears if I use any of the following tags with the RegisterApplication function:

  • REGAPP_UniqueApplication
  • REGAPP_NoIcon
  • REGAPP_AppIconInfo
  • REGAPP_Description
  • REGAPP_URLIdentifier

I'm puzzled because according to the application library documentation those tags are valid. Are there any replacing tags?

I'm using SDK version 53.29 (10.8.2015) and application.library version 53.12 (2.5.10).

LyleHaze
LyleHaze's picture
Offline
Last seen: 1 year 5 months ago
Joined: 2011-05-26 03:58
Re: Application library warning

Are you requesting version 2 of the interface?
Version 1 had some tag numbering issues.

IApplication = (struct ApplicationIFace *) GetInterface(appBase, "application", 2L, NULL);

LyleHaze

jap
jap's picture
Offline
Last seen: 2 months 2 weeks ago
Joined: 2011-06-04 05:53
Re: Application library warning

No, I'm linking with the libauto to open the application library and set up its interface pointer automatically.

salass00
salass00's picture
Offline
Last seen: 1 year 2 months ago
Joined: 2011-02-03 11:27
Re: Application library warning

Simply declare the library base and interface globals yourself and open/close application.library and get/drop interfaces manually.

You can use libauto for other libraries but the application.library auto-open code still gets the old version 1 interfaces which makes it unusable.

jap
jap's picture
Offline
Last seen: 2 months 2 weeks ago
Joined: 2011-06-04 05:53
Re: Application library warning

Got it working, thanks!

TSK
TSK's picture
Offline
Last seen: 6 months 3 weeks ago
Joined: 2011-06-28 02:06
Re: Application library warning

(Nevermind.)

Log in or register to post comments