[C++]Create a dll file with a function that I want to have
Posted: 15 Oct 2017, 11:39
I need to convert the image to hex after getting the image(not image file) on the screen.
Since the Autohotkey does not have this function, i'd like to make a dll file of c++ which contains a function that gets a hex from screen image
The problem I face is two things.
1. How to create a function to convert a screen image directly into hex without creating an image file in c++ win32 programming environment
I got a part of the script that was suitable for my purpose through search on various websites. But I don't know where to put this script in win32 programming environment.
There are Winmain and wndproc, where should I insert my script?
2. How can I make it a dll file if all the scripts fit my purpose?
My script environment is not console c++ but win32 project. in this situation, How can l create a dll file?
please help me
Since the Autohotkey does not have this function, i'd like to make a dll file of c++ which contains a function that gets a hex from screen image
The problem I face is two things.
1. How to create a function to convert a screen image directly into hex without creating an image file in c++ win32 programming environment
I got a part of the script that was suitable for my purpose through search on various websites. But I don't know where to put this script in win32 programming environment.
There are Winmain and wndproc, where should I insert my script?
2. How can I make it a dll file if all the scripts fit my purpose?
My script environment is not console c++ but win32 project. in this situation, How can l create a dll file?
please help me