Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: DLL Error When Sending Synchronous or Asynchronous Email in Win/2K

$
0
0
Re: DLL Error When Sending Synchronous or Asynchronous Email in Win/2K
West Wind Internet Protocols
Re: DLL Error When Sending Synchronous or Asynchronous Email in Win/2K
Apr. 21, 2013
05:24 pm
3RM11BGIQShow this entire thread in new window
Gratar Image based on email address
From:Rick Strahl
To:ChaimCaron

Not sure. I think the problem is the wwIPStuff.dll runtime files that are linked in. When the DLL loads I believe those dependencies get triggered. It's possible that it's delay loaded and most likely the issue is the .NET CLR loading stuff that has the dependency, but you'd have to try it. As you can imagine I don't have a test environment for this :-)

+++ Rick ---



Hi Rick,
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


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 ---


Hi Rick,
I installed .Net 2.0 on my Win2K machine using the link you provided--thanks!

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!






Rick Strahl
West Wind Technologies


from Maui, Hawaii

Making waves on the Web


Viewing all articles
Browse latest Browse all 10393

Trending Articles