How to use a dll function
-
wrote on 20 Mar 2011, 19:41 last edited by
I'll try to be clear, I would like to write a dll in transposing this procedure for Qt C + + Qt if it is not possible in this case I tereria that make use of it externally.
one has to create a dll with this procedure implemented in Qt?
graciously
-
wrote on 20 Mar 2011, 19:46 last edited by
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.
-
wrote on 20 Mar 2011, 19:53 last edited by
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?
graciously
-
wrote on 20 Mar 2011, 19:54 last edited by
Sorry, I don't understand the question.
-
wrote on 20 Mar 2011, 20:01 last edited by
code in the above described i: = Cardinal.
Cardinal is a type of data used in Delphi, I wonder what kind of data coresponding Qt
-
wrote on 20 Mar 2011, 20:08 last edited by
Basically, it is an unsigned 32 bits integer, in the current version of Delphi, if I can trust what a quick Google search tells me. quint32 would be the compatible type in Qt on all platforms.
-
wrote on 20 Mar 2011, 21:37 last edited by
Are you asking for advice on how to port the Delphi/Pascal code to C++/Qt?
-
wrote on 21 Mar 2011, 07:41 last edited by
If I understood correctly, you want to use existing Delphi/Pascal code within Qt? Or is it more like what Volker asked?
-
wrote on 21 Mar 2011, 07:58 last edited by
[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. -
wrote on 21 Mar 2011, 20:39 last edited by
Yes, at first I wanted to use to access the dll made in Delphi, now I want to create this dll
code in C + + Qt -
wrote on 16 Nov 2011, 18:24 last edited by
hi aldoduju..
i also want to create a dll in Qt and call an mfc dll made by msvc..if u had any progress can i get some proper pointers
-
wrote on 16 Nov 2011, 19:26 last edited by
hi shisen, what you ask is a new topic. please open a new thread for it. Thanks.