[SOLVED] Error: Wrong number of parameters lazarus / 39-Graphics ---------------------------------------------------------------------- avv210 · 2021-12-27 08:47 Hello, so I made an Image Steganography tool, I have an error at Embed button and Extract button. How to resolve the error? Thank you. Source code on my GitHub: https://github.com/AlphaByte- RedTeam/PascalSteg/tree/development -> on branch development Feel free to contribute --- EDIT: Sorry, I forgot to assign the boolean value hahaha. Thank you for the reply ---------------------------------------------------------------------- howardpc · 2021-12-28 07:58 The compiler tells you what the parameters to ReadFromBMP should be. Its messages are only helpful, you should read them and pay attention to them. You don't give the Boolean parameter "internal" which is required as a second argument (it has no default value in the declaration of ReadFromBMP so you can't omit it). ---------------------------------------------------------------------- avv210 · 2021-12-28 14:13 Quote from: howardpc on December 28, 2021, 08:58:17 amThe compiler tells you what the parameters to ReadFromBMP should be. Its messages are only helpful, you should read them and pay attention to them. You don't give the Boolean parameter "internal" which is required as a second argument (it has no default value in the declaration of ReadFromBMP so you can't omit it). Thanks for replying, turns out I forgot to assign the boolean value to false hahaha. Thank you once again