- This topic has 5 replies, 2 voices, and was last updated 2025-09-16 at 11:54 pm by
Ray Konopka.
-
AuthorPosts
-
-
July 19, 2025 at 3:40 pm #4153
(C++ Builder 12.3, Codesite 5.4.4)
I’m trying to use codesite express inside a DLL. The following link error occurs:
[ilink64 Error] Fatal: Unable to open file ‘IDIOHANDLER.O’
The problem *does not* occur when using the codesite in the main application (.exe). The issue seems related to the DLL.
Any idea?
Thanks
R -
July 27, 2025 at 1:23 am #4160
Hi Ricardo,
We’ve received a couple reports of issues with the IDIOHANDLER object file. The odd thing about this is that the IdIOHandler unit is part of the Indy components that come with Delphi and C++Builder. CodeSite uses the Indy components to send CodeSite messages via TCP.
One thing to try is to add the following to your DLL project:
#include
Ray -
July 31, 2025 at 11:52 am #4163
Dear Ray,
Thank you for the tip. But what file shoul I include?
#include ?R
-
September 13, 2025 at 11:46 am #4252
Hi Ricardo,
I’m really sorry about that. I have no idea why the file was not included in the message. And apparently, my notifications of new replies to posts got turned off.
That line should have been,
#include
Again, I apologize for the confusion and delay.
Ray
-
September 15, 2025 at 9:58 am #4258
Dear Ray,
I think that the forum has an issue with characters such as ‘<‘ and ‘>’ (maybe they interpret it as HTML tags), because the include file did not appear again…
However, the problem was resolved by adding the following lines of code to the main file of the DLL:
#pragma comment(lib, “CodeSiteExpressPkg”)
#pragma comment(lib, “IndySystem”)
#pragma comment(lib, “IndyCore”)
#pragma comment(lib, “IndyProtocols”)I hope this solution proves useful for other users as well.
Best regards,
R-
This reply was modified 7 months, 1 week ago by
Ricardo Oliveira.
-
This reply was modified 7 months, 1 week ago by
-
September 16, 2025 at 11:54 pm #4274
Hi Ricardo,
You are right. For some reason the content within “<" and ">” are getting stripped. I’ll have to dig into WordPress to see what is causing that. Anyway, the #include statement was supposed to include IdIOHandler.hpp within the angled brackets.
Thanks for posting your solution.
Ray
-
-
AuthorPosts
- You must be logged in to reply to this topic.