B
Brett
How to I call a method within a DLL every 1 minute? The DLL (written in
VB.NET) will download messages from a mail server and enter them into a
database. This application is a mixture of CFMX and VB.NET. Here are two
methods:
1. Allow the CFMX task scheduler to call a CF template, which then calls the
DLL as an object and references some method (s) within it.
2. Create a VB.NET EXE that references the DLL and use Windows Task
Scheduler.
3. ?
Which of the above is better and why?
Also, how do I initially load this DLL into memory so the any of the above
methods do not have to initiate the DLL every time they run? In other
words, if VB.NET is used, how does it retain a pointer to the object without
having to create one each time the scheduler runs and also avoid intiating
the object each time.
Thanks,
Brett
VB.NET) will download messages from a mail server and enter them into a
database. This application is a mixture of CFMX and VB.NET. Here are two
methods:
1. Allow the CFMX task scheduler to call a CF template, which then calls the
DLL as an object and references some method (s) within it.
2. Create a VB.NET EXE that references the DLL and use Windows Task
Scheduler.
3. ?
Which of the above is better and why?
Also, how do I initially load this DLL into memory so the any of the above
methods do not have to initiate the DLL every time they run? In other
words, if VB.NET is used, how does it retain a pointer to the object without
having to create one each time the scheduler runs and also avoid intiating
the object each time.
Thanks,
Brett