PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → windev 18 vs dll VS
windev 18 vs dll VS
Iniciado por vihupe, 20,may. 2015 19:10 - 2 respuestas
Publicado el 20,mayo 2015 - 19:10
Hola

Necesito trabajar con una dll de Visual Studio (Activex), alguien pude
ayudarme como puedo instanciar la dll y algun ejemplo como invocar metodos?

try to be in shape but fails compilation


sNombre is string = "C:\Program Files\ActiveXperts\SMS
Component\Program\AxSms32.dll"

autMyVisualBasicDLL is Automation object snombre -->> here fails


Surely someone had something similar and can help

thanks
victor
Publicado el 21,mayo 2015 - 13:08
Hi Victor

sNombre is string = "C:\Program Files\ActiveXperts\SMS
Component\Program\AxSms32.dll"

autMyVisualBasicDLL is Automation object snombre -->> here fails


You should check the correct syntax in the help... I do not think that
you can use a variable (snombre) in your automation object declaration

And there are several examples available on how to use activeX

Of course, giving us the exact error message would help

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Already there: WXShowroom.com, WXReplication (open source)
Coming soon: WXEDM (open source)
More information on http://www.fabriceharari.com



Surely someone had something similar and can help

thanks
victor
Publicado el 22,mayo 2015 - 15:44
Thanks for answering

Here I pass code if someone feels the same ... based on a dll:
http://www.activexperts.com/files/sms-component/manual.htm…
(care is not an OCX but a DLL )

Statement methods

autSmsActivex Automation object is "AxSms.Smpp" // This is the SMS SMPP
protocol component
autSmppActivex Automation object is "AxSms.SmppServer" // This is the
protocol SMPP SMS Server component
autSmppSessionActivex Automation object is "AxSms.SmppSession" // This is
the SMPP SMS Server session component
autGsmActivex Automation object is "AxSms.Gsm" // This is the GSM SMS modem
protocol component
autHtmlActivex Automation object is "AxSms.Http" // This is the HTTP
protocol SMS component
autDialupActivex Automation object is "AxSms.Dialup" // This is the SMS
protocol component Dialup
autMessageActivex Automation object is "AxSms.Message" // This is the
component SMS message. SMS Messages that are received and sent are kept in
instances of esta component
autTemplateWapPushActivex Automation object is "AxSms.TemplateWapPush" //
This is the WAPPush SMS message template. Use this to Quickly generate
binary formatted messages WAPPush
autTemplatevCardActivex Automation object is "AxSms.TemplatevCard" // This
is the vCard SMS message template. Use this to Quickly generate vCard
formatted messages
autTlvActivex Automation object is "AxSms.Tlv" // This is the TLV (Tag,
Length, Value) component. It's only Used with the SMPP component and can be
part of an SMS message as well as to call bind
autSnppActivex Automation object is "AxSms.Snpp" // This is the Pager HNS
protocol component
autConstantsActivex Automation object is "AxSms.Constants" // This component
contains all constants That are used with SMS messages and the SMS protocols


I put a button for example to know the version

Info ("Version:" + autSmsActivex >> Version)


I hope someone will serve you.
Regards

Victor



"Victor H Pereyra" escribió en el mensaje de
noticias:20151e1dc795996cb133498a822fbc36060e@news.pcsoft.fr...

Hola

Necesito trabajar con una dll de Visual Studio (Activex), alguien pude
ayudarme como puedo instanciar la dll y algun ejemplo como invocar metodos?

try to be in shape but fails compilation


sNombre is string = "C:\Program Files\ActiveXperts\SMS
Component\Program\AxSms32.dll"

autMyVisualBasicDLL is Automation object snombre -->> here fails


Surely someone had something similar and can help

thanks
victor