hi,
i have seen many scripts, that use "System::" in them, and i find them very useful. unfortunally i don't understand much about it. i'd like to know what language is it, and where could i get more information about it / learn it
tnx
where could i learn about..
6 posts
The Users Manual includes a tutorial (appendix C).
You can check examples in NSIS Archive
Good luck
Good luck
tnx,
at first i had no idea about handeling dll's. it is still about the same after reading a part of nsis manual that explains usage of external dll. i researched this script, wich returns current date. now i understand some parts of script, but not the whole thing:
--
System::Alloc 128
Pop $0
System::Call "Kernel32::GetSystemTime(i) v (r0)"
;i understood that it calls Kernel32.dll function GetSystemTime, but i don't understand what is it, that is returned as r0(or $0 in script). i should probably know more about getsystemtime function to understand the answer?
System::Call "*$0(&i2 .r1, &i2 .r2, &i2 .r3, &i2 .r4, \
&i2 .r5, &i2 .r6, &i2 .r7, &i2 .r8)"
;i understand that here are some variables used in brackets, but that's all. i have no idea what '&i2' does
System::Free $0
MessageBox MB_OK "current date is: $4.$2.$1"
--
how could i find out all that system:: can do
how could i find out all the functions that dll file includes?
i need to learn all the basics from the very beginning, where should i start?
i know that it seems hopeless, but tnx anyway 😁
at first i had no idea about handeling dll's. it is still about the same after reading a part of nsis manual that explains usage of external dll. i researched this script, wich returns current date. now i understand some parts of script, but not the whole thing:
--
System::Alloc 128
Pop $0
System::Call "Kernel32::GetSystemTime(i) v (r0)"
;i understood that it calls Kernel32.dll function GetSystemTime, but i don't understand what is it, that is returned as r0(or $0 in script). i should probably know more about getsystemtime function to understand the answer?
System::Call "*$0(&i2 .r1, &i2 .r2, &i2 .r3, &i2 .r4, \
&i2 .r5, &i2 .r6, &i2 .r7, &i2 .r8)"
;i understand that here are some variables used in brackets, but that's all. i have no idea what '&i2' does
System::Free $0
MessageBox MB_OK "current date is: $4.$2.$1"
--
how could i find out all that system:: can do
how could i find out all the functions that dll file includes?
i need to learn all the basics from the very beginning, where should i start?
i know that it seems hopeless, but tnx anyway 😁
tnx,
at first i had no idea about handeling dll's. it is still about the same after reading a part of nsis manual that explains usage of external dll. i researched this script, wich returns current date. now i understand some parts of script, but not the whole thing:
--
System::Alloc 128
Pop $0
System::Call "Kernel32::GetSystemTime(i) v (r0)"
;i understood that it calls Kernel32.dll function GetSystemTime, but i don't understand what is it, that is returned as r0(or $0 in script). i should probably know more about getsystemtime function to understand the answer?
System::Call "*$0(&i2 .r1, &i2 .r2, &i2 .r3, &i2 .r4, \
&i2 .r5, &i2 .r6, &i2 .r7, &i2 .r8)"
;i understand that here are some variables used in brackets, but that's all. i have no idea what '&i2' does
System::Free $0
MessageBox MB_OK "current date is: $4.$2.$1"
--
how could i find out all that system:: can do
how could i find out all the functions that dll file includes?
i need to learn all the basics from the very beginning, where should i start?
i know that it seems hopeless, but tnx anyway
at first i had no idea about handeling dll's. it is still about the same after reading a part of nsis manual that explains usage of external dll. i researched this script, wich returns current date. now i understand some parts of script, but not the whole thing:
--
System::Alloc 128
Pop $0
System::Call "Kernel32::GetSystemTime(i) v (r0)"
;i understood that it calls Kernel32.dll function GetSystemTime, but i don't understand what is it, that is returned as r0(or $0 in script). i should probably know more about getsystemtime function to understand the answer?
System::Call "*$0(&i2 .r1, &i2 .r2, &i2 .r3, &i2 .r4, \
&i2 .r5, &i2 .r6, &i2 .r7, &i2 .r8)"
;i understand that here are some variables used in brackets, but that's all. i have no idea what '&i2' does
System::Free $0
MessageBox MB_OK "current date is: $4.$2.$1"
--
how could i find out all that system:: can do
how could i find out all the functions that dll file includes?
i need to learn all the basics from the very beginning, where should i start?
i know that it seems hopeless, but tnx anyway
I'll make a tutorial for using Win32 API on System plugin.
Is not that hard, only know that syntax...
Like above posting, you'll need to check examples and compare with your needs....
That's how I learned 🙂
Is not that hard, only know that syntax...
Like above posting, you'll need to check examples and compare with your needs....
That's how I learned 🙂