Thanks for your reply.
Here's another possible approach--can I do this?
set loSMTP.nMailMode to 2 and then send mail synchronously using SendMail()?
Thanks, Chaim
From: | ChaimCaron |
To: | Rick Strahl |
Thanks, Chaim
Not sure... The error means there's a missing kernal API in the OS libraries. Nothing that we use directly uses DecodePointer, so it's gotta be a core runtime issue.
Here's some more info:
http://superuser.com/questions/164671/the-procedure-entry-point-decodepointer-could-not-be-located-in-the-dynamic-link
To be honest I'm not sure what has this requirement - whether it's the .NET runtimes or wwIPStuff's dependent C runtime libs (I think the latter - specifically the APIs used to host the .NET runtime).
Sorry I don't have a workaround for you - looks like this won't work with Windows 2000.
+++ Rick ---
When I try to send an email synchronously, I get the message "The procedure entry point DecodePointer could not be located in the dynamic link library KERNEL32.dll".
This occurs in function SetClrVersion, in the statement:
SetClrVersion(lcVersion)
The value of lcVersion is "V2.0.50727"
Can you tell me what is going wrong and how to correct this problem?
Two dlls are in the VFP path: wwDotNetBridge.dll and wwipstuff.dll .
I get the same error when I try to send a message asynchronously on the Win/2K machine. I get this message when I call loSmtp.SendMailASync().
On the Win/XP machine, I can send the message asynchronously.
Thanks, Chaim
PS I looked through some other messages and found this:
I think I see what's happening and it sucks!
Try this:
Go find those two DLLS and then right click each one and click on the Unblock option.
I thought this might be relevant to my situation.
I am trying to unblock the two dlls but I cannot find any Unblock option. This is what I am doing:
.open Windows Explorer
.locate the dll
.right click
.select properties
.the Properties dialog comes up but there is no Unblock option anywhere as far as I can see. This is true both in Win2K and WinXP.
Is this procedure relevant to my problem? If so, how can I unblock the dlls?
Thanks!