I couple of ideas, pointers etc.
1) First of all make sure that the DLL is being unloaded
Use list dlls http://sysinternals.com/ntw2k/freeware/listdlls.shtml
2) CFMX, I think,uses JNI to call dlls , look in this area. (Sean could
confirm this?)
3) Write a wrapper in Java, using JNI, that using the dll
4) Rewrite your whole tag in Java, use static for the VAR you
5) Write a COM that loads the dll etc and use it from cfobject
WG
-----Original Message-----
From: Mike Townend [mailto:[EMAIL PROTECTED]
Sent: 25 February 2003 13:14
To: CF-Talk
Subject: CFX tags not staying in memory on MX
Hi (sorry for the cross post),
Has anyone had any luck with CFX tags persisting in memory on MX?
We have a tag which ups a counter on every call, and when unloaded resets to
0.
On CF5 with the "Check this box to retain the library in RAM" checked the
tag perfoms as requested... Use mulitple times in a page the counter goes
up... Use once and refresh the page, counter goes up.
Under MX the counter never goes up... So its being called then unloaded...
Even tho this option is checked.
The tag is a C++ tag, running on Win2k with MX and Updater 2 applied...
Anyone got any thoughts or know a work around for this?
TIA
Mikey
=========================================
http://www.phonebin.com
"From Phone to Web in minutes"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4