Search 
   Avm Home  |   Products  |   Services  |   Support  |   Contact us  |   Download  |   Company  |   Site Map  
 
Presentation
Characteristics
Products > Spools > API  > Product Information

COM/DCOM API - GlobalComServer platform programming interface

Add communication functions to your applications ! Send your purchase orders, invoices, shipment vouchers, proposals, analysis results - by FAX, E-mail, SMS, TELEX - as easily as printing them..

COM/DCOM API is a programming interface developed to allow interfacing your applications directly to GlobalComServer communication server. The application can control all GlobalComServer functions.

COM/DCOM architecture enables client/server architecture, with perfect integration in Microsoft operating systems.

All functions

  • FAX, E-mail, SMS, TELEX document sending
  • Follow-up
  • Administration
  • Client's documents conversion
  • SMTP

are usable through this programming interface.

More than 130 functions, documented and demonstrated through Visual Basic, Visual C++, ASP IIS examples, bring to your programmers a feature-rich tool box for developing custom interfaces.

An interface debugger is provided, making it easy to view function calls and the contents of variables.

Tools and GlobalComServer client interfaces

GlobalComServer clients are powerful interfaces allowing a real time tracking of your message transmissions and receptions. Administration tools (Windows, MMC) are also provided.


Programming examples :

Connection to a server

'Connection to a server
Dim Session As New AVMCOMLib.FaxSessionCall Session.Logon("GLOBALCOMSERVER", "UserName", "Password", UseParams)





...

'Disconnection from a server
Call Session.Logoff
Set Session = Nothing

Create a message

'Connection to a server
...
Dim Fax As AVMCOMLib.Fax
Set Fax = Session.CreateFax(0, "")

'Add FAX, SMS or TELEX addressees

Fax.Property("Subject") = "FAX sending from GlobalComServer API"
Fax.Property("Body") = "This is a test, ignore this document"
Fax.Property("Logo") = "Logo1"

'Message transmission
Fax.Submit()

'Message purge
Fax.Clear()
Set Fax = Nothing

...
'Disconnection from the server

FAX, SMS, TELEX, message sending

'Connection to a server
...
 'Creation of a message
...

'Add FAX, SMS or TELEX adressees
Dim FaxRecipient As AVMCOMLib.FaxUser
Set FaxRecipient = Fax.CreateRecipient(0)
FaxRecipient.Property("Name") = "Barbier Jérôme"
FaxRecipient.Property("Fax") = "0472670025"
FaxRecipient.Property("Company") = "AVM Informatique"
FaxRecipient.Type = GCS_Fax_Recipient
Fax.AddRecipient(FaxRecipient,0)
Set FaxRecipient = Nothing

Dim SmsRecipient As AVMCOMLib.FaxUser
Set SmsRecipient = Fax.CreateRecipient(0)
SmsRecipient.Property("Name") = "Barbier Jérôme"
SmsRecipient.Property("Sms") = "0681409089"
SmsRecipient.Property("Company") = "AVM Informatique"
SmsRecipient.Type = GCS_SMS_Recipient
Fax.AddRecipient(SmsRecipient,0)
Set SmsRecipient = Nothing


Dim TelexRecipient As AVMCOMLib.FaxUser
Set TelexRecipient = Fax.CreateRecipient(0)
TelexRecipient.Property("Name") = "Barbier Jérôme"
TelexRecipient.Property("Telex") = "200910"
TelexRecipient.Property("Company") = "AVM Informatique"
TelexRecipient.Type = GCS_Telex_Recipient
Fax.AddRecipient(TelexRecipient,0)
Set TelexRecipient = Nothing

...
'Message sending
...
'Message purge
...
'Disconnection from the server

Attachments sending

'Connection to a server
...
 'Create a message
...

Call Fax.AttachFile(0, "E:\Document.doc", 0)

...
'Add FAX, SMS or TELEX addressees
...
'Message sending
...
'Message purge
...
'Disconnection from the server