Scintilla Gadget [Solved via the ID10T update]

Everything else that doesn't fall into one of the other PB categories.
mocitymm
User
User
Posts: 37
Joined: Wed Feb 08, 2017 6:56 pm

Scintilla Gadget [Solved via the ID10T update]

Post by mocitymm »

Hello all,

Working with Windows 10, PB 5.71 & 5.72...

The Scintilla gadget keeps disappearing from the 'compiled' executable or is not visible, plainly visible when running from the IDE for testing.

Using the form designer, have multiple panel tabs in the form. It wasn't doing this before so a little head scratching at the moment.

Any ideas why it would be visible in the IDE and not the compiled executable?

Regards,

-Mo
Last edited by mocitymm on Tue Jun 23, 2020 3:58 pm, edited 1 time in total.
User avatar
kenmo
Addict
Addict
Posts: 1967
Joined: Tue Dec 23, 2003 3:54 am

Re: Scintilla Gadget

Post by kenmo »

It can't find the Scintilla.dll and you're probably not checking the result of InitScintilla() :)

Scintilla.dll needs to be in the same folder as your exe
OR
Scintilla.dll needs to be in a system DLL folder (I wouldn't bother with that)
OR
Specify any DLL path you want as a param to InitScintilla()

When you debug it from the IDE I think it finds the Scintilla.dll in your PB compiler folder
mocitymm
User
User
Posts: 37
Joined: Wed Feb 08, 2017 6:56 pm

Re: Scintilla Gadget

Post by mocitymm »

kenmo wrote:It can't find the Scintilla.dll and you're probably not checking the result of InitScintilla() :)

Scintilla.dll needs to be in the same folder as your exe
OR
Scintilla.dll needs to be in a system DLL folder (I wouldn't bother with that)
OR
Specify any DLL path you want as a param to InitScintilla()

When you debug it from the IDE I think it finds the Scintilla.dll in your PB compiler folder
Kenmo,

Thanks! However, I don't remember copying the file to the source folder previously... doesn't mean that I didn't do that before.

Oh well, head scratching to head pounding for that bit of wasted time on my part! ;) and you are correct I am NOT checking the results (good point out and changing that now).

Regards,

-Mo
Post Reply