Outlook Lib Problems

sx64

Member
Licensed User
Longtime User
Hallo,
after a long time I have rediscovered B4ppc for me.
Now I want to write a code to receive and send SMS.
I use "of course" the Outlook.Lib.
Sending work easily. But receive the text message does not work.

Here my Little Code for sending:

Sub Globals
'Declare the global variables here.
End Sub

Sub App_Start
Form1.Show
sms.New2
intercept.New1
End Sub

Sub Answer
Text="Message has been received"
Sms.New1("myPhonnumber",Text)
End Sub

Sub Button1_Click
Answer
End Sub

But how do I use the Interceptor correctly?
Maybe someone can post a small code?
Thanks in advance!!
SX64

I use B4ppc6.9 / Net.fram 2.0/3.5
my Devices are HTC Touchpro2 Winmob.6.5 / HTC Blue Angel Winmob.6.5
 

sx64

Member
Licensed User
Longtime User
Outlook Lib

Thank you Erel for for the quick reply.

That is what I tried.
It was my mistake to test it only on my HTC TouchPro2.
There runs HtcSense. I think that prevent the intercept Event.
Now I test it on my Blue Angel and it runs finaly.

"Always those stupid little things"
 

sx64

Member
Licensed User
Longtime User
Hello to all,
Now I have written a small program that operates with the support of Outlock.dll. Well, I get the following message when compiling to Device EXE:

No match was found to type: smsmessage. A desktop reference is missing.

What does that mean?

In that folder I have my program the outlook.dll and the FmodDevice.dll which will also be integrated.

can someone help?
thanks in advance SX64:sign0085:
 

mjcoon

Well-Known Member
Licensed User
Hello to all,
Now I have written a small program that operates with the support of Outlock.dll. Well, I get the following message when compiling to Device EXE:

No match was found to type: smsmessage. A desktop reference is missing.

What does that mean?

In that folder I have my program the outlook.dll and the FmodDevice.dll which will also be integrated.

can someone help?
thanks in advance SX64:sign0085:

Just to check: you do have the OutlookDesktop.dll listed on the desktop side of Tools>Components and the real Outlook.dll on the device side?

Mike.
 

sx64

Member
Licensed User
Longtime User
Yes, that was probably my fault. I had the outlook.dll and not OutlookDesktop.dll on the desktop side. Now I revise it and it works on my Blue Angel. I hoped that it runs after compiling (because faster) also on the HTCTochpro2. But it does not not. The HTC_SMS-Tool is obviously faster?
Maybe I'll check the receipt of SMS using the SMS.Lib and a timer.

Thanks for the quick response!
 
Top