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

Re: .NET mail mode issue

$
0
0
Re: .NET mail mode issue
VFP and .NET Interop
Re: .NET mail mode issue
Jan. 11, 2013
04:34 pm
3OU0ZJ270Show this entire thread in new window
Gratar Image based on email address
From:Stein Goering
To:Rick Strahl
At what point in the process is the oDotnetBridge object instantiated. I've tried inserting DEBUGOUT calls to GetDotnetVersion but I keep getting Unknown member ODOTNETBRIDGE.

If I set nMailMode to 0 and call the sendmail method - shouldn't that assure that everything's in place?

You'll want to make sure the DLL and the wwDotnetBridge version are synched. There were some minor changes and I think around 5.60 there was a bug that could creep up. The issue though was wwIPStuff.dll - the loader.

Couple of things to check:

See if wwSmtp.oDotNetBridge is set and if it is what version it returns:

loSmtp.oDotnetBridge.GetDotNetVersion()

This might tell you if there's a version or file issue.

+++ Rick ---



A customer is reporting the following error every time they try to invoke our sendmail routine:

OLE error code 0x80131014: Unknown COM status code

The specific line is:

this.oSmtp = this.oBridge.CreateInstance("Westwind.wwSmtp")

My initial thought was that this was a .NET version or configuration issue, or possibly an outdated version of wwDotNetBridge, but everything seems current. And in fact there are other calls to .NET routines via DotNetBridge elsewhere in the program that are working fine. It's just the call to wwSmtp that's having the problem.

This showed up after they upgraded to the latest version of our app, which was compiled under WC 5.65 Not sure what they were running before that - my guess is it was about a year old, maybe running under WC 5.60. I don't think any of the mailing routine code in my app would have changed in that time. Is it possible that some recent change in wwSMTP could have affect things?

--stein





Viewing all articles
Browse latest Browse all 10393

Trending Articles