Log in
▼
Keep me signed in
Sign up
HOME
DOWNLOAD
PURCHASE
SUPPORT
PORTAL
FORUM
CONTACT US
News & Information
Suggestions & Feedback
General Discussions
FlashFXP Forums
>
Community Chatter
>
Programming
More on modules
Tickets
Search
Today's Posts
Mark Forums Read
Programming
Need help with C/C++/Delphi? Ask here and make us all laugh.
Thread Tools
Rate Thread
Display Modes
09-17-2003, 05:21 AM
#
1
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
Join Date: Dec 2001
Posts: 2,230
More on modules
I decided to add generic module support for events. Config entries will look something like this:
[Scripts]
MyScript = EXEC ..\scripts\myscript.exe
MyTclScript = TCL ..\scripts\myscript.itcl
MyModule = MYMODULE MyModuleParams
I will try to get most of the important headers cleaned up.. (~30 files)
darkone
View Public Profile
Visit darkone's homepage!
Find More Posts by darkone
09-17-2003, 06:14 AM
#
2
dasOp
Member
Join Date: Jan 2003
Posts: 91
that looks kinda ambiguous to me.
Is Module an event in itself or just a listing to tell io to load said module?
dasOp
View Public Profile
Find More Posts by dasOp
09-17-2003, 07:39 AM
#
3
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
Join Date: Dec 2001
Posts: 2,230
I'm not quite sure what you meant with that. But I'll try to explain briefly how it works:
-- [Modules] -->
EventModule = ..\modules\MyEventModule.dll
-- daemon start-up -->
LoadModule(szModuleFileName);
GetProcAddress("EventInit");
EventInit(lpEventModule);
-- module initialization ->
lpEventModule->szName = "MYMODULE V0.9";
lpEventModule->lpInstallEvent("DoStuff", DoStuffProc);
-- [Scripts] -->
DOSTUFF = DoStuff
DONOTHING = DoStuff DoNothing
This allows you to add new interpreters (Php, java, asp) using modules..
darkone
View Public Profile
Visit darkone's homepage!
Find More Posts by darkone
09-17-2003, 08:35 AM
#
4
dasOp
Member
Join Date: Jan 2003
Posts: 91
Ah, that sure makes sense.
So in essence I could also load my module, have that module spawn a thread upon init and Run a gui in that thread?
dasOp
View Public Profile
Find More Posts by dasOp
09-17-2003, 08:23 PM
#
5
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
Join Date: Dec 2001
Posts: 2,230
Yep.. you can also use io's worker threads & io threads, if needed (hence BindCompletionPort & JobQueue functions) I might even allow use of message handler threads, as I've built nice API for those too
darkone
View Public Profile
Visit darkone's homepage!
Find More Posts by darkone
09-18-2003, 03:04 AM
#
6
dasOp
Member
Join Date: Jan 2003
Posts: 91
Sounds great! This makes shell shared memory kinda redundant though. Good riddance I say!
dasOp
View Public Profile
Find More Posts by dasOp
Tags
mymodule
,
mymoduleparams
,
scriptsmyscript.exe
,
scriptsmyscript.itcl
,
tcl
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Rate This Thread
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Rate This Thread
:
5 : Excellent
4 : Good
3 : Average
2 : Bad
1 : Terrible
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 Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
FlashFXP
News
Frequently Asked Questions (FAQ)
General Discussion
Custom Commands
Language Translations
FlashFXP v5.x Public Beta
Website
ioFTPD
ioFTPD
ioFTPD beta
ioFTPD General
Knowledge Base
International Help
Bug Reports
Suggestions
Scripting
! New Scripts Announces & Updates
! Requests
! Other Scripts Support
ADDiCT's scripts
bounty's scripts
bounty's dZSbot
Caladan's scripts
Eggdrop
Harm's scripts
NeoXed's scripts
SnypeTEST's scripts
StarDog's scripts
St0rm's scripts
tuff's scripts
Web interface
WarC's scripts
Donationware
Software
Community Chatter
A little bit of everything
Programming
Lounge
All times are GMT -5. The time now is
09:03 PM
.
-- FlashFXP Default
---- FlashFXP Dynamic Width
-- Mobile
Archive
-
Privacy Statement
-
Top
Parts of this site powered by
vBulletin Mods & Addons
from DragonByte Technologies Ltd. (
Details
)
Copyright © 1999-2016 OpenSight Software, LLC. All Rights Reserved.
Powered by vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Promote FlashFXP on your website and get paid for it!