This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- FlexNet Connect
- :
- FlexNet Connect Forum
- :
- Agent COM interface
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 03, 2005
03:59 AM
Agent COM interface
Our application is created with Macromedia Director and we have the ability to call functions inside a DLL. I want to call the functions from the Update Service Agent, but i really don't know if' i'm able to do this by just having the functionality as described above.
Does somebody know if i can call the Agent API by just using DLL calls.
Macromedia Director supports the script languages Lingo and JavaScript.
If the DLL call functionality is not sufficient, can JavaScript do the trick?
Thanks.
Does somebody know if i can call the Agent API by just using DLL calls.
Macromedia Director supports the script languages Lingo and JavaScript.
If the DLL call functionality is not sufficient, can JavaScript do the trick?
Thanks.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 03, 2005
07:58 AM
I don't know Macromedia Director well enough to tell you if it has restrictions, but yes, as the Update Service agent sports a COM interface, you should be able to work with it.
The simplest example of using it, is to look at the VB example...
Dim pAgent as Object
Set pAgent = CreateObject( "DWUpdateService.Agent" )
pAgent.AppUpdate "{C4091E43-4FC0-11D5-8C6C-00104B9747FA}", AppMenu
That simple set right there will check for updates... granted you would need to register your app first, but it really is quite simple.
A slightly complex example can be found:
http://helpnet.installshield.com/Robo/BIN/Robo.dll?mgr=agm&tpc=%2Frobo%2Fprojects%2Fdwusagent%2FOverview.htm&wnd=InstallShieldLivingHelp%7CMain&agt=wsm&ctxid=setup.asp
KellyF
The simplest example of using it, is to look at the VB example...
Dim pAgent as Object
Set pAgent = CreateObject( "DWUpdateService.Agent" )
pAgent.AppUpdate "{C4091E43-4FC0-11D5-8C6C-00104B9747FA}", AppMenu
That simple set right there will check for updates... granted you would need to register your app first, but it really is quite simple.
A slightly complex example can be found:
http://helpnet.installshield.com/Robo/BIN/Robo.dll?mgr=agm&tpc=%2Frobo%2Fprojects%2Fdwusagent%2FOverview.htm&wnd=InstallShieldLivingHelp%7CMain&agt=wsm&ctxid=setup.asp
KellyF
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 06, 2005
04:50 AM
Thanks for your reply.
I investigated the possibilities for interfacing with the agent COM client a bit further and i decided to make a C++ executable that will call the API of the agent COM client. The macromedia director application will then call the C++ executable.
Unfortunately, The URL you provided doesn't work.
I took a look at the example given at the AppUpdate API function, but i am not able to compile it. I think the example is intended for use with the Microsoft Visual C++ compiler, but i'm using the Borland C++ Builder compiler.
Perhaps you know if there's a working example for the Borland C++ Builder available?
Marcel
I investigated the possibilities for interfacing with the agent COM client a bit further and i decided to make a C++ executable that will call the API of the agent COM client. The macromedia director application will then call the C++ executable.
Unfortunately, The URL you provided doesn't work.
I took a look at the example given at the AppUpdate API function, but i am not able to compile it. I think the example is intended for use with the Microsoft Visual C++ compiler, but i'm using the Borland C++ Builder compiler.
Perhaps you know if there's a working example for the Borland C++ Builder available?
Marcel
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 06, 2005
08:18 AM
I'm afraid that I don't know of any internally, but hopefully someone else here in the community will have used it.
KellyF
KellyF
Marcel_NL wrote:
Perhaps you know if there's a working example for the Borland C++ Builder available?
Marcel