Desperate User Andree Zaja said:
> Hi,
>
> I wrote an Exchange EventSink in VC++ and installed it on my system.
So You have got a new car;)
> The sink implements the OnSyncSave() method and also an own dummy method
> Test().
Oh, it has automatic drive transmission so it can be driven by You;) (You have
got a real luck;) )
> ... but my EventSink
> also needs information about the parent folder of the item that fires the
> event. So I create a connection and a record to read the folder attributes.
> After that the DLL did not unload after one minute. Why?
1.Becouse You haven't heard about inline debugging (using fprintf and so on...)?
2.Becouse You haven't heard about catching exceptions from interfaces anywhere?
> I do a Close() on the created record and connection object.
>
[quoted text clipped - 3 lines]
> What's wrong?
> Andrew
1.The serious problem has probably materna.de by employing not properly prepared
"programmer" for self-solving simple task. ( maybe outsourcing???;) )
2.Maybe sending the offer to "IT-Service-Management" team solve someone's
finanacial problems...?;)
Conclusion: Try to self-debug the way of thinking about solving problems.
Regards,
Tester.
Andree Zaja - 29 Mar 2005 16:47 GMT
> > ... but my EventSink
> > also needs information about the parent folder of the item that fires the
> > event. So I create a connection and a record to read the folder attributes.
> > After that the DLL did not unload after one minute. Why?
> 1.Becouse You haven't heard about inline debugging (using fprintf and so on...)?
> 2.Becouse You haven't heard about catching exceptions from interfaces anywhere?
There occures no exception. I know it, because I catch all kinds and use
inline debugging (fprintf and so on...).
> > I do a Close() on the created record and connection object.
> >
[quoted text clipped - 13 lines]
> Regards,
> Tester.
Typical useless information.
Looking for a job?
Sorry, I don't have one for guys who don't have the courage to sign
their postings with their name.
tester - 30 Mar 2005 00:04 GMT
User Andree Zaja said:
>>Conclusion: Try to self-debug the way of thinking about solving
>>problems.
>
> Typical useless information.
The best answer for the useless information You have provided which "describes
Your problem" - in Your opinion. You **request** help from the worldwide for
**free** not providing any useful information to interest anyone.
Your request is something like: "My car is out of order. How to fix it?. I have
a couple of tools in the **black box** in the garage, HELP!!!"
1. Can't You confirm that you return from EventSink procedure and You are not in
endless loop ? (becouse of re-firing event in Your EventSink Procedure code??? -
do a simple counter to confirm if You can't do in other way)
2. Can't You confirm that you destroy all objects after their job to release the
App from memo ?
3. Can't You just snap-in Your "super-classified-code" instead of writing any
baby-tales about unloadable events?
You have the bug for sure or You can't check the code You've written...
The best help You can get is from Yourself , becouse only You know what You've
written in Your code.
Bye.