Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 03 JAN 2004 11:21:51AM S Botes wrote:

This is a duplicate post as the last was just before Christmas and I didn't get any help. Anyone have any ideas?

I have some code that has been working for some time. It also has been some time since I tested it. Recently it has stopped working. The sendmail works fine but as soon as a following msg function is executed OI crashes. A debugger routine says that the error is in a dll named uxtheme.

AppName: oinsight.exe AppVer: 0.0.0.0 ModName: uxtheme.dll

ModVer: 6.0.2800.1106 Offset: 0000a79c

Anybody have any thoughts….

The following code is where the problem occurs

Result=Dialog_Box('MSG_BOX',@Window,'Enter your message')

If Result=CANCEL' or Result=' Then

Return 0

End

Txt=Txt : Result : CRLF$

Txt := "" : CRLF$

Flags=MAPI_LOGON_UI$

Message='

Message=A message from ":NameCap(STORE_NAME@)

Message=email_address

Message=Txt

Message=Flags

*Message=IPM.Microsoft Mail.Note"

Message=IPM"

Parent=CUSTOMERS"

Session_ID=0

debug

x=Set_Status(0)

check=MAPILogon(session_id, parent, , , flags)

if Get_Status(ErrCode) then

Call FsMsg()

end

if check then

FLAGS='

Flags=MAPI_LOGON_UI$ + MAPI_DIALOG$

* Status=MAPISendMail(session_id, 0, Flags, Message)

if MAPISendMail(session_id, 0, Flags, Message) then

x=Msg(@window, "Message sent successfully!")

end else

x=Get_Status(ErrMsg)

x=Msg(@window, ErrMsg)

end

* if status then

* Msg("Message sent successfully!","","","")

* end else

* x=Get_Status(ErrMsg)

* Msg(ErrMsg,"","","")

* end


At 03 JAN 2004 12:22PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Could you reset your desktop to Windows Classic and see if you still have the problem?

The Sprezzatura Group

World Leaders in all things RevSoft


At 03 JAN 2004 11:00PM S Botes wrote:

That worked but how the #$#%#$@ did you figure that out!?

Better yet how do we fix it?

Thanks.


At 04 JAN 2004 12:11AM Donald Bakke wrote:

That worked but how the #$#%#$@ did you figure that out!?

I'm sure this gave them the clue:

AppName: oinsight.exe AppVer: 0.0.0.0 ModName: uxtheme.dll

uxtheme.dll is used by Windows to support themes. Windows classic doesn't use this DLL so Sprezz thought this would be an easy way to confirm their suspicion.

[email protected]

SRP Computer Solutions, Inc.


At 04 JAN 2004 03:28AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Shucks there goes our omniscient status ;-). Just annoyed we never suggested it before the holidays as that was the suspicion we had then. It would seem likely to be a bug in the MS side as the OI calls don't change based upon theme so trawling the KB on support.microsoft.com might be the way forward.

The Sprezzatura Group

World Leaders in all things RevSoft


At 04 JAN 2004 12:05PM S Botes wrote:

Naw, you guys still have status… Don too. I remember 25 years ago when I had that…. but it was on main frames and 370 assembler… Look what you have to look forward to as you get older

Thanks a lot to all of you that participate on this forum.

Happy New Year


At 04 JAN 2004 04:32PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Thanks for that - on the bright side I turn "the answer to life the universe and everything" this year ;-)

AMcA

The Sprezzatura Group

World Leaders in all things RevSoft


At 04 JAN 2004 11:27PM S Botes wrote:

"Forty-two!" yelled Loonquawl. "Is that all you've got to show for seven and a half million years' work?"

"I checked it very thoroughly," said the computer, "and that quite definitely is the answer. I think the problem, to be quite honest with you, is that you've never actually known what the question is."

Congratulations….


At 02 FEB 2004 10:16AM S Botes wrote:

Don, I have installed your mapi solution and it works great. It was easy to implement and having the html option is a plus.


At 02 FEB 2004 10:57AM S Botes wrote:

Everyone…..

If you want to try another option for sending email through OI I highly recommend looking into SRP's Mail DLL. You can download an evaluation copy from their Developer's Resources/Downloads page."

get it at www.srpcs.com

Find the developer section and then downloads. There is also a free form fixer for converting your 4.1.3 forms to OI 7.0

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/a104fe6f8ab580a085256e100059e443.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1