Click to Call

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
rmtarget
Posts: 67
Joined: Sat Jul 04, 2009 7:28 pm

Click to Call

Post by rmtarget »

Hi Friends, I want to make a phone call using a field in one of my databases that contains phone numbers, is this posible? somebody has some example of this? thanks in advance and best regards
De antemano muchas gracias y saludos !!
Atte.
Rene Mtz. (méxico city)
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Click to Call

Post by danielmaximiliano »

http://www.hmgforum.com/viewtopic.php?t=3936
Mira aquí, veo si hay algún otro
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: Click to Call

Post by AUGE_OHR »

hi,

Did you use VoIP Telefon :?:
have fun
Jimmy
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Click to Call

Post by danielmaximiliano »

Hola : creo es necesario usar las funciones TAPI, como no tengo modem dentro de la Notebook (HP ProBook 4530s) me es imposible ejecutar correctamente este codigo

Code: Select all

#include <hmg.ch>

Function Main
Public cNumber , cCallTO , oTapi, cProgram
        
		oTapi:= CreateObject("TAPI32.DLL")
cNumber  := "01169026142"
cCallTO  := "DanielMaximiliano"
cProgram := "C:\Windows\System32\dialer.exe"
oTapi:tapiRequestMakeCall(cNumber, cProgram, cCallTO, " ")
Return
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Post Reply