Zedna Posted November 17, 2005 Posted November 17, 2005 (edited) I posted this in Developers forumbecause my C++ code was based on code from that topic in this forumbut there seem to be no help for me If I succefully finish this DLL I will post complete AutoIt TreeView manipulating rutinesbased on DllCall & SendMessage together with this TreeViewGetItemText based on my simple DLL.So this could be workaround for missing ControlTreeView() functionality in AutoItSo please, if can somebody help me with compiling this simple DLL,I will be very gratefull.Problem is that my function in DLL compiled in MSVC++ 2003is not exported under name TreeViewGetItemTextbut under name ?TreeViewGetItemText@@YAPAU_TREEITEM@@PAUHWND__@@PAU1@and I don't have no idea what has to be changed to affect this.Here is my original postEDIT: little correction of my bad english... Edited November 17, 2005 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search
Valik Posted November 17, 2005 Posted November 17, 2005 (edited) Have you tried reading the documentation for your compiler? There are at least 2 completely different ways to solve the problem and I know for a fact that the documentation (MSDN) for creating DLL's tells you how to use both.Edit: Judging by the mangled name, I don't think you're using WINAPI (__stdcall) as the calling convention, either, which is wrong. Edited November 17, 2005 by Valik
Zedna Posted November 17, 2005 Author Posted November 17, 2005 Have you tried reading the documentation for your compiler? There are at least 2 completely different ways to solve the problem and I know for a fact that the documentation (MSDN) for creating DLL's tells you how to use both.Edit: Judging by the mangled name, I don't think you're using WINAPI (__stdcall) as the calling convention, either, which is wrong.I'm not so experienced in C++, so I don't understand exactly all what you say,but thank you very much for give me right direction. Resources UDF ResourcesEx UDF AutoIt Forum Search
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now