PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

GSM support in mobile edition

Smok Wawelski · 23 May 2005, 09:36 UTC
Is there any chance of making a program to send SMS in PPL via GSM module?
A user wrote an application to do this in PPL. I don't remember who exactly. Look through the forums, you should find some questions and answers about this feature.
Smok Wawelski · 24 May 2005, 12:56 UTC
I couldn't find anything about PPL and SMS app.
Do I have to use WindowsAPI to achieve this?

thanx
Sorry I can't help you, this is out of my field of knowledge.
Smok Wawelski · 25 May 2005, 09:34 UTC
Ok, I have found a help file to eVC++ 4. There's some functions to handle SMS. They seems to be built in the system.

Code:

Use the SmsSendMessage function to create and send an SMS message.

HRESULT SmsSendMessage (
const SMS_HANDLE smshHandle,
const SMS_ADDRESS * const psmsaSMSCAddress,
const SMS_ADDRESS * const psmsaDestinationAddress,
const SYSTEMTIME * const pstValidityPeriod,
const BYTE * const pbData,
const DWORD dwDataSize,
const BYTE * const pbProviderSpecificData,
const DWORD dwProviderSpecificDataSize,
const SMS_DATA_ENCODING smsdeDataEncoding,
const DWORD dwOptions,
SMS_MESSAGE_ID * psmsmidMessageID
);



How could I access those functions in PPL? By using #declare?
How to find which .dll is responsible for holding those functions (is there any other method than digging in help file)?