SumatraPDF / "ReuseInstance"

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
AUGE_OHR
Posts: 2093
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

SumatraPDF / "ReuseInstance"

Post by AUGE_OHR »

hi,

i have try to make some "Slide-Show" with SumatraPDF.
it does work so far but i notice that i got multi Instance of SumatraPDF :o

i have look into PDFview Demo Source and found

Code: Select all

    ON KEY CONTROL+O              OF PDFviewWnd ACTION FileGetAndOpen(.T.)
    ON KEY CONTROL+SHIFT+O        OF PDFviewWnd ACTION FileGetAndOpen(.F.)
but in FUNCTION FileGetAndOpen() i found nothing ...

---

in SumatraPDF-settings.txt i found "ReuseInstance". when change to TRUE Menu of SumatraPDF change.
PDFview now have no TAB and only 1 Instance is running. that is what i want.

so what do i miss :?:
do i need to "read" SumatraPDF-settings.txt ( PDFview seems to do it ) :idea:
have fun
Jimmy
User avatar
AUGE_OHR
Posts: 2093
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: SumatraPDF / "ReuseInstance"

Post by AUGE_OHR »

hi,

now i have understand why my Xbase++ Version does not work : old Process was not "terminate" ... :roll:
have fun
Jimmy
Post Reply