Go Back   FlashFXP Forums > Community Chatter > Programming

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

Closed Thread
 
Thread Tools Rate Thread
Old 09-16-2003, 02:18 AM   #1
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,234
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
Create a free account to browse our forums without ads



Thread Tools
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 11:56 AM.