Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 9th November 2003, 19:53   #1
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,896
Cool 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
code:

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:ivide $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....
Attached Files
File Type: zip floatop.zip (3.2 KB, 60 views)


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux w/ xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Debian unstable w/ xfce4.
Joel is offline   Reply With Quote
Old 3rd January 2004, 16:18   #2
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,896
Talking 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
GetDLLVersion -> plugin version
Suma -> Add numbers
Resta -> Substract numbers
Multiplica -> Multiplie numbers
Divide -> Divide numbers

See examples....
Attached Files
File Type: zip floatop.zip (47.2 KB, 61 views)


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux w/ xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Debian unstable w/ xfce4.
Joel is offline   Reply With Quote
Old 3rd January 2004, 19:35   #3
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
Congratulations!

Works fine here.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 4th January 2004, 15:00   #4
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,896
Thanks
Also need Win95 users opinion... just to be sure.


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux w/ xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Debian unstable w/ xfce4.
Joel is offline   Reply With Quote
Old 4th January 2004, 21:30   #5
n0On3
Senior Member
 
n0On3's Avatar
 
Join Date: Jan 2001
Location: Barcelona
Posts: 314
Send a message via ICQ to n0On3
I am win98se if you want
n0On3 is offline   Reply With Quote
Old 4th January 2004, 23:37   #6
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,896
Please n0On3!


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux w/ xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Debian unstable w/ xfce4.
Joel is offline   Reply With Quote
Old 5th January 2004, 00:45   #7
n0On3
Senior Member
 
n0On3's Avatar
 
Join Date: Jan 2001
Location: Barcelona
Posts: 314
Send a message via ICQ to n0On3
I give the win98se seal to the plugin
n0On3 is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump