EldoS | Feel safer!

Software components for data protection, secure storage and transfer

ElMessage.ParseMessage

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
#3191
Posted: 06/21/2007 07:40:11
by BENICHOU Jean-Philippe (Standard support level)
Joined: 06/21/2007
Posts: 4

Hi

I can't resolve a problem using TELMessage.ParseMessage Method.
I use SecureBlackBox Net ver.5.1.0.112

Here is my source: (Using WinDev 11 => www.pcsoft.fr/us/)

clMyStream is a TAnsiStringStream
clMyStream:LoadFromFile("D:\MyProject\test.eml")
clMyMessage is a TElMessage(False, "")
nResult is an int = clMyMessage:ParseMessage(clMyStream, "", "", 7, False, False, False)

Here, I've got an error, which is that the "PARSEMESSAGE" method doesn't exist on the TELMessage class. This error is sent by .NET Framework.

I haven't this error when I try this with VB.NET:
Dim MyMessage As SBMIME.TElMessage = New SBMIME.TElMessage(False, "")
Dim MyStream As SBMIMEStream.TAnsiStringStream

MyStream = New SBMIMEStream.TAnsiStringStream
MyStream.LoadFromFile("D:\MyProject\test.eml")

Dim myResult As Integer = MyMessage.ParseMessage(MyStream, "", "", 7, False, False, False)

Here, MyResult = 0

Here a dump:

Error at line 4 :Clic on BTN_Bouton3.
The framework .NET has returned an error:
System.MissingMethodException: Method 'SBMIME.TElMessage.ParseMessage' is missing.
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at CDotNetType.bInvoke(CDotNetType* , Object gcrObj, SByte* pszNomMethode, CSLevel* pclPile, Int32 nNbParamPile, Int32 bValeurRetour, STOperationDotNet* pstOperation)
at CDotNetInstance.bAppelleMethodeNom(CDotNetInstance* , SByte* pszNomMethode, CSLevel* pclPile, Int32 nNbParamPile, Int32 bValeurRetour, STOperationDotNet* pstOperation)

Technical informations:

Project : Test_NET

Dump of error <WD110NET2.DLL> <11.00Am>.

- Appel WL :
<FEN_Fenêtre1.BTN_Bouton3>, line <4>, thread <0>

- Level : fatal error (EL_FATAL)

- Error code: 200007

- Error code WD55 : 0

- No debug information[B][COLOR=blue][COLOR=blue]


[ Download ]
#3192
Posted: 06/21/2007 11:52:24
by Ken Ivanov (EldoS Corp.)

Answered to the Helpdesk.

Reply

Statistics

Topic viewed 1871 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!