Fax con Fivewin
Moderator: Enrico Maria Giordano
- Pier Luigi
- Posts: 58
- Joined: Fri Oct 07, 2005 6:30 am
- Location: Rome - Italy
Fax con Fivewin
Dovrei realizzare una applicazione per inviare Fax.
Non ho mai affrontato l'argomento.
Avete qualche consiglio da darmi?
Pier Luigi
Non ho mai affrontato l'argomento.
Avete qualche consiglio da darmi?
Pier Luigi
- Enrico Maria Giordano
- Posts: 8775
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 7 times
- Contact:
- Pier Luigi
- Posts: 58
- Joined: Fri Oct 07, 2005 6:30 am
- Location: Rome - Italy
- Enrico Maria Giordano
- Posts: 8775
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 7 times
- Contact:
Re: Fax con Fivewin
Code: Select all | Expand
FUNCTION SENDFAX( cFax, cDes, cOgg, cMsg )
LOCAL lOk := .F.
LOCAL oFax
BEGIN SEQUENCE
oFax = CREATEOBJECT( "WinFax.SDKSend" )
oFax:LeaveRunning()
IF oFax:SetTo( cDes ) = 1; BREAK; ENDIF
IF oFax:SetSubject( cOgg ) = 1; BREAK; ENDIF
IF oFax:SetCoverText( cMsg ) = 1; BREAK; ENDIF
IF oFax:SetNumber( cFax ) = 1; BREAK; ENDIF
IF oFax:AddRecipient() = 1; BREAK; ENDIF
IF oFax:Send( 0 ) = 1; BREAK; ENDIF
oFax:Done()
lOk = .T.
END SEQUENCE
RETURN lOk
EMG
- Pier Luigi
- Posts: 58
- Joined: Fri Oct 07, 2005 6:30 am
- Location: Rome - Italy
Re: Fax con Fivewin
Il programma mi segnala
Error: Unresolved external '_HB_FUN_CREATEOBJECT' ...
Io uso Harbour e FW 2.5.
Pier Luigi
Error: Unresolved external '_HB_FUN_CREATEOBJECT' ...
Io uso Harbour e FW 2.5.
Pier Luigi
- Enrico Maria Giordano
- Posts: 8775
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 7 times
- Contact:
Re: Fax con Fivewin
Allora sostituiscilo con
e linka la libreria hbole.lib.
EMG
Code: Select all | Expand
oFax = TOleAuto():New( "WinFax.SDKSend" )
e linka la libreria hbole.lib.
EMG
- Pier Luigi
- Posts: 58
- Joined: Fri Oct 07, 2005 6:30 am
- Location: Rome - Italy
Re: Fax con Fivewin
Funziona alla grande!
Grazie EMG.
PS
Per curiosità: quale DLL di Winfax viene richiamata?
Grazie EMG.
PS
Per curiosità: quale DLL di Winfax viene richiamata?
- Enrico Maria Giordano
- Posts: 8775
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 7 times
- Contact: