How to use a dll function
-
Ok, so it really is about making use of an external .dll in a Qt application. What about Gerolfs contribution above isn't clear in this context? The point is that you need to make sure you export your application in a way that makes reuse from another application in another language possible. How you do that, is not Qt specific but something you need to look into for delphi.
-
-
No, you can use external dll's in Qt (or any other C++) applications. However, that dll needs to meet certain criteria, depending on the way you wish to use that dll. Gerolf talked about these criteria, and I suggest you search in dephi resources how to achieve this. The keyword to search for is exporting functions.
-
[quote author="aldoduju" date="1300650793"]and changed the focus, I noticed that it is easier to make the dll in the same Qt.
I wonder what kind of data to corespondete (Cardinal of Delphi) to Qt?
[/quote]
From this posting, I gather that aldoduju has changed his mind, and now instead of wanting to use a delphi-build dll in a Qt program, now wants to port his code to Qt and build the dll in Qt.