Gazzo
Active member
Hi all,
this is a bit of a shot in the dark but heres my problem.
I am trying to log on to a simple Mapi session. If I put this process on a separate thread it works fine if I am debugging it from the IDE but if I am running it from the exe it will not log on the first time round yet every other attempt after that works okay.
If I dont put this in a new thread it works fine. It seems that the new thread is the problem but I cant understand why it would work fine running from the IDE but then not when compiled.
If anyone has had any similar problems can you give me some advice please?
Cheers,
Gazzo
this is a bit of a shot in the dark but heres my problem.
I am trying to log on to a simple Mapi session. If I put this process on a separate thread it works fine if I am debugging it from the IDE but if I am running it from the exe it will not log on the first time round yet every other attempt after that works okay.
If I dont put this in a new thread it works fine. It seems that the new thread is the problem but I cant understand why it would work fine running from the IDE but then not when compiled.
If anyone has had any similar problems can you give me some advice please?
Cheers,
Gazzo