Search found 69 matches
- 30 Dec 2019, 16:31
- Forum: Ask for Help (v1)
- Topic: using _strucy and sizeof with #warn Topic is solved
- Replies: 2
- Views: 414
Re: using _strucy and sizeof with #warn Topic is solved
great, thanks
- 30 Dec 2019, 16:09
- Forum: Ask for Help (v1)
- Topic: class myclass extends _Struct and calling methods Topic is solved
- Replies: 6
- Views: 862
Re: class myclass extends _Struct and calling methods Topic is solved
after few modyfications it's probably work fine but it's more redirect __set and __get rather than extends by itself. Thanks for any advice :thumbup: here is my sample code: class _MATRIXS_ { __get(p*){ return this["_"][p*] } __set(keys*){ value := keys.pop() ; just for case where more than one keys...
- 30 Dec 2019, 11:50
- Forum: Ask for Help (v1)
- Topic: class myclass extends _Struct and calling methods Topic is solved
- Replies: 6
- Views: 862
Re: class myclass extends _Struct and calling methods Topic is solved
Currently it seems to working. Now I'm curious why there is ObjRawSet() istead of this["´"] := new _Struct()? I've never use that earlier so I'm not quite sure whats the reason. PS. it working but only partialy, as I try to stroe some data in stepN then it's stored as class variable instead of in st...
- 30 Dec 2019, 01:21
- Forum: Ask for Help (v1)
- Topic: class myclass extends _Struct and calling methods Topic is solved
- Replies: 6
- Views: 862
class myclass extends _Struct and calling methods Topic is solved
Hello why I can not use any method after extending with _Struct? q := new myclass() msgbox,% q.dim.2 "`n" q[] q.tst() ;<---- not working class myclass extends _Struct { __new(){ base.__new("int dim[3],int stepN,int dStepN,float* m") this.dim.1 := 2 this.dim.2 := 4 this.dim.3 := 6 } tst(){ msgbox,% "...
- 29 Dec 2019, 13:28
- Forum: Ask for Help (v1)
- Topic: using _strucy and sizeof with #warn Topic is solved
- Replies: 2
- Views: 414
using _strucy and sizeof with #warn Topic is solved
Hello I very often work with #warn and #warn LocalSameAsGlobal, off Now I try to use _struct from https://github.com/HotKeyIt/_Struct and i get "This variable has not been assigned a value". Usually I just initialize any variables with 0 but in this case it's not my library and I'm not confidence to...
- 24 Sep 2019, 21:29
- Forum: Ask for Help (v1)
- Topic: class, this.setCapacity("buf",bytes) and passing buf as parameter
- Replies: 3
- Views: 668
Re: class, this.setCapacity("buf",bytes) and passing buf as parameter
It is only first element, rest of buf is incerrect MyClass.CreateBuff() MyClass.PassBuff() class MyClass { CreateBuff() { this.SetCapacity("buf", 4*10) loop, 10 NumPut(A_Index*10, this.GetAddress("buf"),(A_Index-1)*4, "UInt") } PassBuff() { MyFunc(this.buf) } } MyFunc(byref buf) { mem_display(&buf,0...
- 24 Sep 2019, 13:45
- Forum: Ask for Help (v1)
- Topic: class, this.setCapacity("buf",bytes) and passing buf as parameter
- Replies: 3
- Views: 668
class, this.setCapacity("buf",bytes) and passing buf as parameter
Hello I try to rebuild my FFT project to class and I stuck at the passing objects buff as parameter to my functions. In case where I alloc buffs using varSetCapacity(buf,bytes,0) then I can use tst(buf), however the same thing but using this.setCapacity("buf",bytes) and then tst(this.buf) just fail....
- 17 Sep 2019, 11:54
- Forum: Ask for Help (v1)
- Topic: force run script as unicode 32 Topic is solved
- Replies: 3
- Views: 1285
Re: force run script as unicode 32 Topic is solved
@Odlanir
Brilliant
thanks
PS i just mod this to that for own purposes
if(A_IsUnicode!=1 || A_PtrSize!=4)
Brilliant
thanks
PS i just mod this to that for own purposes
if(A_IsUnicode!=1 || A_PtrSize!=4)
- 17 Sep 2019, 11:09
- Forum: Ask for Help (v1)
- Topic: force run script as unicode 32 Topic is solved
- Replies: 3
- Views: 1285
force run script as unicode 32 Topic is solved
Hello.
Is it possible to force some script to run always as U32? By default I use U64 but I also use once of my older script that is U32 compatile only because of some DLL functions and I want to force somehow this script to run always as U32 independently of my current settings. Any tips?
Is it possible to force some script to run always as U32? By default I use U64 but I also use once of my older script that is U32 compatile only because of some DLL functions and I want to force somehow this script to run always as U32 independently of my current settings. Any tips?
- 01 Mar 2019, 00:25
- Forum: Ask for Help (v1)
- Topic: unable to use GetProcAddress on x64 mklml.dll Topic is solved
- Replies: 4
- Views: 1401
Re: unable to use GetProcAddress on x64 mklml.dll Topic is solved
@teadrinker thanks probably now it will work fine dll_getAdr(dllFile,func){ if(!InStr(FileExist(dllFile),"A")){ msgbox,% "Not found dll: " dllFile "`n" func } handle := DllCall("LoadLibrary","Str",dllFile,"ptr") ; <---------------- missing return type DllError("LoadLibrary",handle,A_LastError,ErrorL...
- 28 Feb 2019, 22:12
- Forum: Ask for Help (v1)
- Topic: unable to use GetProcAddress on x64 mklml.dll Topic is solved
- Replies: 4
- Views: 1401
- 28 Feb 2019, 16:00
- Forum: Ask for Help (v1)
- Topic: unable to use GetProcAddress on x64 mklml.dll Topic is solved
- Replies: 4
- Views: 1401
unable to use GetProcAddress on x64 mklml.dll Topic is solved
Hello. I try to use mklml.dll with my script but somehow I'm unable to load any functions from it I already use this method for libopenblas.dll and everything work fine. I also watch mklml.dll witch DllExplorer so I'm 100% sure certain function even exist. my pc spec: W7Ux64 AHK 1.1.30.01 U64 any su...
- 20 Feb 2019, 09:39
- Forum: AHK Studio
- Topic: AHK Studio
- Replies: 1179
- Views: 617606
Re: AHK Studio
there is another error.
while I run script with multiple included files and it found error then it jump to described line in currently displayed file instead of file where the error come from.
while I run script with multiple included files and it found error then it jump to described line in currently displayed file instead of file where the error come from.
- 11 Feb 2019, 12:14
- Forum: AHK Studio
- Topic: AHK Studio
- Replies: 1179
- Views: 617606
Re: AHK Studio
It make my life easier immediately.
thanks
thanks
- 10 Feb 2019, 22:27
- Forum: AHK Studio
- Topic: AHK Studio
- Replies: 1179
- Views: 617606
Re: AHK Studio
then it would be great to add simple option to not display it if I do not want it and also make it possible to assign own shortcut, for exmaple ctrl+space as I know it form other editors (currently it is even not possible to use ctrl+space as shortcut)
- 10 Feb 2019, 02:17
- Forum: AHK Studio
- Topic: AHK Studio
- Replies: 1179
- Views: 617606
Re: AHK Studio
I already do it 63594765293476593645273649582736495872369523^100-1 times and I do not want it anymore
- 09 Feb 2019, 16:33
- Forum: AHK Studio
- Topic: AHK Studio
- Replies: 1179
- Views: 617606
Re: AHK Studio
is it possible to disable commands prompt? It make me so crazy because I'm unable to click on line that it hide
PS. I already send PR on github to fix encoding filename while use diacritic signs.- 27 Jan 2019, 05:25
- Forum: Ask for Help (v1)
- Topic: LV_GetNext() - how to find highlighdet rows?
- Replies: 2
- Views: 1333
LV_GetNext() - how to find highlighdet rows?
As I use LV_GetNext(0) to find highlighted elements then it work fine until there is focused row but not highlighted, in this sace it still return row number for them. So can I somehow to find ONLY highlighted elements independent on focus?
- 25 Aug 2018, 13:43
- Forum: Ask for Help (v1)
- Topic: can i reffer g-label to my classes function? Topic is solved
- Replies: 2
- Views: 706
- 25 Aug 2018, 13:04
- Forum: Ask for Help (v1)
- Topic: can i reffer g-label to my classes function? Topic is solved
- Replies: 2
- Views: 706
can i reffer g-label to my classes function? Topic is solved
Is it possible to redirect g-label to specyfied class function?
Code: Select all
class test
{
create(){
gui, add, edit, gClassCtrlEvent ; how to make it work?
}
ClassCtrlEvent(CtrlHwnd, GuiEvent, EventInfo, ErrLevel:=""){
}
}