Page 1 of 1

Scintilla Gadget [Solved via the ID10T update]

Posted: Tue Jun 23, 2020 3:36 pm
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

Re: Scintilla Gadget

Posted: Tue Jun 23, 2020 3:48 pm
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

Re: Scintilla Gadget

Posted: Tue Jun 23, 2020 3:57 pm
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