Download MMS Toolkit    |     Visit the MMS Toolkit website

Index - Log in! - Sign up! - Visit website
SMPP Problem
 
ActiveXperts Software Forum Index -> SMS and MMS Toolkit -> SMS Communication Protocols
 
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
delphilord



Joined: 20 Feb 2008
Posts: 6

PostPosted: Wed Feb 20, 2008 5:25 pm    Post subject: SMPP Problem

I have a problem
Runnig demo project for delphi -SMPP- It always return 0 for getresult (no error) But do not connect to server . (isconnected property is always 0)
Last error is always 0 even If I try www.www.www as url!No error and no Real connection.
Back to top
delphilord



Joined: 20 Feb 2008
Posts: 6

PostPosted: Thu Feb 21, 2008 7:07 am    Post subject:

Also I must Add this:
Running demo when I press connect I got Access violotion Error.I traced code and And I saw this code generetaes error:
objSmpp.GetErrorDescription( Result )
I changed the get result routine from:

function TFormSmpp.GetResult () : Integer;
begin
Result := objSmpp.LastError;

EditResult.Text := IntToStr ( Result ) + ' : ' + objSmpp.GetErrorDescription( Result );
end;

To :

function TFormSmpp.GetResult () : Integer;
begin
Result := objSmpp.LastError;

EditResult.Text := IntToStr ( Result );
end;

To avoid this problem

But as isaid before,No connection.getresult is always 0 and isconnected is always false (0 instead of -1)
Thanks
Back to top
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum