Search

Search in sorted by
  • Re: logosres: and logosref: commands

    I now have the following in my code: Logos4Lib::ILogosLauncherPtr CLinkLogos::m_pLauncher = NULL; [event_receiver(native)] class CEventReceiver { public: void OnLogosPanelChanged(IDispatch * Panel, IDispatch * Hint) { printf_s("OnLogosPanelChanged was called.\n"); } void hookEvent(Logos4Lib::ILogosApplicationEvents *pEventSource) { __hook(&Logos4Lib
    Posted to General by Todd Hoatson on Tue, Aug 28 2018
  • Re: logosres: and logosref: commands

    OK, sorry - the missing stuff was not from the Logos 4 COM API; it was from a sample program I was looking at. So I tried recreating that in C++, referencing information that I found here: https://docs.microsoft.com/en-us/cpp/cpp/event-handling-in-native-cpp B ut I'm still having lots of problems getting the callback stuff to work. If I can figure it
    Posted to General by Todd Hoatson on Tue, Aug 21 2018
  • Re: logosres: and logosref: commands

    NEW PROBLEM! When there is a change in location in a Bible within Logos, my C# test program is notified via callback method. The C# code for that looks like this: private static ILogosPositionHandler m_positionHandler = new LibronixPositionHandler(); ... var launcher = new LogosLauncher(); launcher.LaunchApplication(string.Empty); logosApplication
    Posted to General by Todd Hoatson on Mon, Aug 13 2018
  • Re: logosres: and logosref: commands

    One other point I should mention for completeness (maybe this will end up on the Logos 4 COM API page someday?)... the ILogosLauncherPtr is a smart pointer, so when the launcher variable goes away (i.e. its deconstructor is called, as would happen automatically when the variable goes out of scope), the smart pointer's usage counter is decremented, and
    Posted to General by Todd Hoatson on Sat, Aug 11 2018
  • Re: logosres: and logosref: commands

    OK, here's the C++ code that I have so far: Logos4Lib::ILogosLauncherPtr launcher; CLSID clsLogosLauncher; HRESULT success; // if Logos is already running, return with current instance if (m_pdispLogosApp != NULL) return TRUE; /* Obtain the CLSID that identifies LOGOS launcher */ if (FAILED(success = CLSIDFromProgID(L"LogosBibleSoftware.Launcher", &clsLogosLauncher
    Posted to General by Todd Hoatson on Fri, Aug 10 2018
  • Re: logosres: and logosref: commands

    Hi Brad, thanks for your response... To get Logos COM object definitions into a header file, I followed these instructions (from a coworker): - Run OLE View as Admin - View COM Objects (aka. Type Libraries) - Look for "Logos Bible Software 4 Type Library" IF library not registered... - select File->View Type Lib - Navigate to %localappdata%\local
    Posted to General by Todd Hoatson on Sat, Aug 4 2018
  • Re: logosres: and logosref: commands

    To further elucidate the problem of using the Logos COM API in C++: Logos classes and entry points for C# & C++ are completely different?!? I used OLE View to Open LogosCOM.exe & Save As a header file. Looking at this header file, it's definitely Logos stuff, but... * there is no Launcher to start Logos (as I had used in my C# test program)
    Posted to General by Todd Hoatson on Fri, Aug 3 2018
  • Re: logosres: and logosref: commands

    [quote user=" Bradley Grainger "] You could accomplish this (on Windows) by using the COM API [/quote] I was afraid you'd say that... Using the command(s) with ShellExecuteEx() in C++ is SO much easier than using COM. It's like the difference between a heart catheterization and a heart transplant! Even MS isn't promoting COM anymore. I already created
    Posted to General by Todd Hoatson on Tue, Jul 3 2018
  • Re: logosres: and logosref: commands

    @Dave Hooton, thanks for your helpful response... > ... you can't specify an Open resource nor a Link Set. Rats!
    Posted to General by Todd Hoatson on Tue, Jul 3 2018
  • logosres: and logosref: commands

    I am working on a program / app that runs in parallel with Logos and I want to keep the two in sync. So I would like to send commands to Logos to keep my resources which are indexed by scripture references focused on the right verse(s). I know I can send a command like: logosres:niv2011;ref=BibleNIV.Romans8.28 This will open Logos, open the NIV and
    Posted to General by Todd Hoatson on Mon, Jul 2 2018
Page 1 of 1 (10 items) |