Open antCraft opened 6 years ago
Outlook should call the onQuit method if it is closing. Sometimes, it continues to run in background and this might delay the time the method is called.
I'm sorry for disturbing you but for me it's very important to solve problem with listening Outlook actions. I'm newbie in Java and i try to create Addin with joa library. I created application and it's works but i have two problems.
I don't run the program directly. After Add-in registration, process javaw.exe run automatically when outlook load his Add-ins. But even if I run Add-in manually before start Outlook it's gives same result. Methods like "onAddInsUpdate" or "onStartupComplete" are woks, but methods like "onBeginShutdown" or "onDisconnection" and ect. doesn't works. They are works only if call them manually. In your library I found class DispatchImpl that has method:
public
In my Add-in I call: getConnectionPointContainer().getAllConnectionPointGuids() and it's returns empty array. Is it possible that this is the reason for the incorrect work? Outlook 2010. Thank you in advance!
Hello. Can you explain to me how the onQuit () method works. Because in my case, the javaw.exe process does not terminated after closing the Outlook window, and the onQuit method is never called. Thank you!
@CoClass(progId = "JoaAddin1.Class", guid = "{ef6716de-9e55-44af-b5a7-3e974f2d3a04}") @DeclAddin(friendlyName = "Change Management", description = "Change Management", application = OfficeApplication.Outlook, loadBehavior = LoadBehavior.LoadOnStart)
public class JoaAddin1 extends OutlookAddin {
}