Go Back   FlashFXP Forums > >

Programming Need help with C/C++/Delphi? Ask here and make us all laugh.

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 09-16-2003, 02:18 AM   #1
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default Cookie modules

Yep.. I'm now/finally implementing those


typedef struct _VARIABLE_MODULE
{
LPSTR szName;
HMODULE hModule;

LPVOID (* lpGetProc)(LPSTR);
BOOL (* lpInstallMessageVariable)(LPSTR, LPVOID, LPVOID, DWORD, DWORD);

_VARIABLE_MODULE *lpNext;

} VARIABLE_MODULE, *LPVARIABLE_MODULE;



EXPORT BOOL MessageVariableInit(LPVARIABLE_MODULE lpModule)
{
BOOL bResult;

lpModule->szName = "MyVariableTestModule";
// Install variable: 010000L = DT_ANY (any datatype), 4 = Integer, 3 = C-String
bResult = lpModule->lpInstallMessageVariable("test", MessageVariable_TestProc, NULL, 010000L, 3);

return bResult;
}

EXPORT VOID MessageVariableDeInit(LPVARIABLE_MODULE lpModule)
{
}



variable type = %[$cookie]
object type = %[object(arg1)...(argN)]

.. I will post information about object type cookies later today/tomorrow.
darkone is offline  
Closed Thread

Tags
bool, bresult;, lpmodule, lpvoid, type

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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


All times are GMT -5. The time now is 09:43 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)