Search code examples
componentslazarusindy10idhttp

How to use an external library in my component?


I created a component , and I need to use IdHttp component (Indy) in it, so first I installed Indy in my IDE,I created the component and istalled it, then I added to uses the unit IdHttp so I can use IdHttp in my component. But, when I compile the code of my component I get this error: Can't find unit IdHttp used by "mycomponent".PS: I added indylaz to the required packages of my component , however when I recompile the component I get the same compilation error. So how to fix this?


Solution

  • I had to write IdHTTP instead of IdHttp, it's that simple.