Joel
9th November 2003 20:53 UTC
Please: Test my plugin!
This is my first plugin, made with DEv-C++. It's call FloatOp...
and alternative to IntOp instruction of NSIS.
Any comments will be fine...
NOTE: Source code not include it, yet ;)
Name "My Plugin"
OutFile "test.exe"
XPStyle "on"
Function .onInit
FloatOp::Add "1.2" "1.8" .r0 ; $0 returns "3"
FloatOp::Substract $0 "1" .r1 ; $1 returns "2"
FloatOp::Multiplie $1 "6.4" .r2 ; $2 returns "12.8000"
FloatOp::Divide $2 "4" .r3 ; $3 returns "3.2000"
FloatOp::GetDLLVersion .r4
MessageBox MB_OK "Returns: $3 $\r$\nPlugin version: $4"
Quit
FunctionEnd
Section "-boo"
SectionEnd
BTW: Thanks to all the people who help me.... :D
Joel
3rd January 2004 17:18 UTC
Plugin updated
Hello guys!
I updated my plugin. Is in spanish but you'll get the idea.
Please, tested in your OS.
Since is using atof (VC++ runtime function) it will need MSVCRT.DLL (Win95 users: You must have Win95 OS-2 or IE 4.x installed; IE 5.x just to be sure).
Functions:
Autor -> Returns the author :rolleyes:
GetDLLVersion -> plugin version
Suma -> Add numbers
Resta -> Substract numbers
Multiplica -> Multiplie numbers
Divide -> Divide numbers
See examples....
kichik
3rd January 2004 20:35 UTC
Congratulations! :)
Works fine here.
Joel
4th January 2004 16:00 UTC
Thanks :)
Also need Win95 users opinion... just to be sure.
n0On3
4th January 2004 22:30 UTC
I am win98se if you want
Joel
5th January 2004 00:37 UTC
Please n0On3! :)
n0On3
5th January 2004 01:45 UTC
I give the win98se seal to the plugin :)