Search found 40 matches

by Parama
17 Oct 2017, 06:13
Forum: Ask for Help (v1)
Topic: way to call my dll file made by C#
Replies: 5
Views: 818

Re: way to call my dll file made by C#

Of course I tried, but I don't know how to do it i tried to use Gdip_BitmapFromScreen(). this function's return variable is pBitmap,which has address of variable of image data, but i don't know how to get image data from pBitmap. Although I questioned about that in this web site, i cannot get any an...
by Parama
17 Oct 2017, 04:58
Forum: Ask for Help (v1)
Topic: way to call my dll file made by C#
Replies: 5
Views: 818

way to call my dll file made by C#

I made a dll file in C# to get what i want in autohotkey. There is a function in the dll file ,which capture a screen and convert captured image to hex without making image file I wanted to call this fucntion by means of DllCall but i failed. so i inluded CLR.ahk in my script this is my script in au...
by Parama
16 Oct 2017, 22:29
Forum: Ask for Help (v1)
Topic: parameter of DllCall() when dll's function does not have a parameter
Replies: 10
Views: 1725

Re: parameter of DllCall() when dll's function does not have a parameter

It was meant to be CLR.ahk.
Does the word " load the dll " mean dllcall? unless it means this, I don't know what "load the dll" and "unload the dll" means
by Parama
16 Oct 2017, 13:39
Forum: Ask for Help (v1)
Topic: Finding two or more needle strings in a haystack string
Replies: 2
Views: 430

Finding two or more needle strings in a haystack string

if using InStr() or StringGetPos, i know that i can get the order of needle string in haystack string but i want to know the number and the order of just the same two or more needle string in haystack string for example HaystackString := "abcdeabcdeabcdeabcde" NeedleString :="abc" In this situation,...
by Parama
16 Oct 2017, 11:36
Forum: Ask for Help (v1)
Topic: parameter of DllCall() when dll's function does not have a parameter
Replies: 10
Views: 1725

Re: parameter of DllCall() when dll's function does not have a parameter

OMG!! It's running! Thank you very much!! However, when i applied my real dll file, not a test dll file, an error occured. contents of error is next 1. be unable to find 'Size' , 'Bitmap' , 'Graphic' , 'MemoryStream' , 'Image' format or name of namespace. Check if there is a using directive or assem...
by Parama
16 Oct 2017, 00:56
Forum: C/C++
Topic: [C++]Create a dll file with a function that I want to have
Replies: 5
Views: 4460

Re: [C++]Create a dll file with a function that I want to have

Why do you recommend c#? I know that c# is incompatible with AutoHotkey. At first, I also created a dll file with c#, but dll file made by c# is not called by dllcall function in Autohotkey. So I tried a simple test to call very simple C# dll file that have a function that value of return is String ...
by Parama
16 Oct 2017, 00:41
Forum: Ask for Help (v1)
Topic: parameter of DllCall() when dll's function does not have a parameter
Replies: 10
Views: 1725

Re: parameter of DllCall() when dll's function does not have a parameter

yes i also tried that The way I made C# dll file is as below. it is made in project of class library. After building the scripts, the dll file is created in the debug folder. I used it and when i called the my dll file, i also locaeted my autohotkey file in folder where dll file exist and I've also ...
by Parama
15 Oct 2017, 11:39
Forum: C/C++
Topic: [C++]Create a dll file with a function that I want to have
Replies: 5
Views: 4460

[C++]Create a dll file with a function that I want to have

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 ...
by Parama
13 Oct 2017, 23:03
Forum: Ask for Help (v1)
Topic: parameter of DllCall() when dll's function does not have a parameter
Replies: 10
Views: 1725

Re: parameter of DllCall() when dll's function does not have a parameter

Thank you for your answer I've tried all the choices you've made. But Whichever i choose, it doesn't work. My dll file was made in C# and it worked well when I tried to use it directly in C# And My dll file is located in working directory My Function of my dll file returns String type variable like ...
by Parama
13 Oct 2017, 15:08
Forum: Ask for Help (v1)
Topic: parameter of DllCall() when dll's function does not have a parameter
Replies: 10
Views: 1725

parameter of DllCall() when dll's function does not have a parameter

I made dll file myself. There is a function in the file ,which is a function without parameter like ScreenShot() this function
I want to call this fucntion by means of DllCall
At this situation, How do i enter a parameters?
please give me a some advice
by Parama
13 Oct 2017, 11:20
Forum: Ask for Help (v1)
Topic: how to get the hex bitmap pattern without image file?
Replies: 2
Views: 557

how to get the hex bitmap pattern without image file?

I want to get the hex bitmap pattern of image of screen without image file I want to get a hex bitmap pattern directly using the clipboard instead of saving it to the image file Because image file has to be downloaded and deleted in the method of storing the file, I can not do what I want to do beca...
by Parama
12 Oct 2017, 03:38
Forum: Ask for Help (v1)
Topic: About pBitmaphaystack of Gdip.ahk
Replies: 0
Views: 303

About pBitmaphaystack of Gdip.ahk

I am trying to make a function that captures the image and makes the image directly into the hexadecord. I understand that pBitmaphaystack of gdip is the memory address of the memory where the image information resides. So my plan is as follows. find, by means of pBitmaphaystack , where the image in...
by Parama
30 Sep 2017, 00:08
Forum: Ask for Help (v1)
Topic: gdip imagesearch question
Replies: 1
Views: 413

gdip imagesearch question

#include C:\USers\me\Desktop\gdip.ahk #include C:\USers\me\Desktop\gdip_All.ahk ptoken := gdip_startup() WinGetPos, , , Width, Height, %title1% a :=Gdip_BitmapFromHWND(hwnd := WinExist("title1")) b :=Gdip_CreateBitmapFromFile("C:\Users\me\Desktop\image1.png") msgbox, % a msgbox, % b Gdip_ImageSearc...
by Parama
29 Sep 2017, 23:12
Forum: Ask for Help (v1)
Topic: please help me(gdip inactive imagesearch)
Replies: 10
Views: 2698

Re: please help me(gdip inactive imagesearch)

I am also executing in an audacity and media player but this is meaningless because it can only be implemented in audacity. Please check whether your computer is running on chrome, explorer, and windows image file program
by Parama
28 Sep 2017, 18:43
Forum: Ask for Help (v1)
Topic: please help me(gdip inactive imagesearch)
Replies: 10
Views: 2698

Re: please help me(gdip inactive imagesearch)

i also tried to run into not only "Calculator" but also different application including what i am aiming for.(this application is not transparent Because it's a game.) but also fail........ :cry: I just don't understand the script you gave me just before. What is the reason for putting the hotkey(F1...
by Parama
28 Sep 2017, 11:14
Forum: Ask for Help (v1)
Topic: please help me(gdip inactive imagesearch)
Replies: 10
Views: 2698

Re: please help me(gdip inactive imagesearch)

#include C:\Users\me\Desktop\지디아이피.ahk ; It is a file made by library that you included in the script. SetBatchLines, -1 SetWorkingDir, %A_WorkingDir% image=%a_scriptdir%\Calc.png ;Gui, add,picture,x50 y200,%a_scriptdir%\Calc.png ;because I think GUI is not necessary ;Gui, show, w800 h700,시작 - Micro...
by Parama
28 Sep 2017, 10:42
Forum: Ask for Help (v1)
Topic: please help me(gdip inactive imagesearch)
Replies: 10
Views: 2698

Re: please help me(gdip inactive imagesearch)

Yes 계산기 is calculator of korea my needle file is capture image of 계산기 When i run the file, the window is created ,which is named as a calculator. but this is not calculator.only name is calculator The window contains images like the image of my needle file. I think the coordinates of the window appe...
by Parama
28 Sep 2017, 10:41
Forum: Ask for Help (v1)
Topic: please help me(gdip inactive imagesearch)
Replies: 10
Views: 2698

Re: please help me(gdip inactive imagesearch)

Yes 계산기 is calculator of korea my needle file is capture image of 계산기 When i run the file, the window is created ,which is named as a calculator. but this is not calculator.only name is calculator The window contains images like the image of my needle file. I think the coordinates of the window appe...
by Parama
28 Sep 2017, 09:12
Forum: Ask for Help (v1)
Topic: please help me(gdip inactive imagesearch)
Replies: 10
Views: 2698

Re: please help me(gdip inactive imagesearch)

oh thank you so much!!!
I ran the script you gave me. The coordinates are good.
However, when a window is opened by GUI, the co-ordinates are outputted and no output is generated unless the window is generated by the GUI even though original program[ex) Calculator] exist on my monitor

why is it???
by Parama
27 Sep 2017, 23:57
Forum: Ask for Help (v1)
Topic: please help me(gdip inactive imagesearch)
Replies: 10
Views: 2698

please help me(gdip inactive imagesearch)

“Gdip inactive imagesearch script” on the web outputted weird coordinate code like (0,0) or (0,-1), therefore I adjusted and manipulated the script by myself. I don’t know what “mcode” exactly is, however I figured out that this code itself does not affect the function “search” on another post on th...

Go to advanced search