Faxing

How can I create an application to send faxes???

Comments

  • : How can I create an application to send faxes???
    :
    You can use the Microsoft Fax Service Extended COM. More info at: http://windowssdk.msdn.microsoft.com/en-us/library/ms684513.aspx
    You can just import the type-library into Delphi, if necessary.
  • isnt that just for windows? I want it to be sent in delphi...
  • : isnt that just for windows? I want it to be sent in delphi...
    :
    COM objects are for all windows programming languages: Delphi, VC++, VB, etc. In fact several of the standard installed components are implemented as COM Objects, for example the TWebBrowser, docking managers, and database components.
    COM API is basically a framework to import objects into applications, without needing to worry about the implementation of those objects. For more info see Delphi help files under "COM Extensions".
  • Cant u just make it clear, and tell me what to do? instead of using such words??? :) Im not a professional!! I need sort of, a step-by-step guide.
  • : Cant u just make it clear, and tell me what to do? instead of using such words??? :) Im not a professional!! I need sort of, a step-by-step guide.
    :
    Neither am I, but I can give you a quick step-by-setp guide. Based on the MSDN there are 2 ways of sending a fax: using the Win32 API or the COM API.

    Win32 API: http://windowssdk.msdn.microsoft.com/en-us/library/ms690908.aspx explains all with which functions to call.

    COM API: Here are the steps. The help files/MSDN contain information on the various functions and objects:
    1 - call CreateOleObject() to create an IFaxServer object
    2 - call IFaxServer.CreateDocument() to create an IFaxDoc object
    3 - use the properties/methods of the IFaxDoc to write the actual fax
    4 - call IFaxDoc.Send() to actually send the fax
    5 - Free all the created objects
    CreateOleObject() is described in the Delphi Helpfiles.
    IFaxServer: http://windowssdk.msdn.microsoft.com/en-us/library/ms692375.aspx
    IFaxDoc: http://windowssdk.msdn.microsoft.com/en-us/library/ms692281.aspx

    If your Delphi version doesn't recognize the IFaxServer or IFaxDoc, you need to import its type library (Project > Import Type Library).

    This is basically all the help I can give you, because I don't have a fax installed on my computer, and (as an amateur) using COM interfaces like this goes slightly over my head without testing.
  • Can anyone please tell me how to send faxes using delphi.. or how to create a simple application that will send faxes and read from a table a list of fax #'s thanks
    Dr Delphi
  • I actually figured out how to write this even better using C# within the RightFax Software.
    Dr Delphi
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories