Jump to content

Recommended Posts

Posted (edited)

I posted this in Developers forum

because my C++ code was based on code from that topic in this forum

but there seem to be no help for me B)

If I succefully finish this DLL

I will post complete AutoIt TreeView manipulating rutines

based on DllCall & SendMessage

together with this TreeViewGetItemText based on my simple DLL.

So this could be workaround for missing ControlTreeView() functionality in AutoIt

So 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++ 2003

is not exported under name TreeViewGetItemText

but 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 post

EDIT: little correction of my bad english...

Edited by Zedna
Posted (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 by Valik
Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...