Hi all
i have posted this manytimes here as well as under 'SMS'...
but nobody seems to use this under Nokia PC connectivity SDK 1.0 for Nokia Card Phone? i am using this card phone 2.0 and pc connectivity SDK 1.0 for card phone...

I got a reply from a person who is using 6210 with SDK 2.1 and VB...for him its not a problem...
the VB code is this:

Public Function ReadSMSMessage()
On Error GoTo ErrorHandler

Call puISMSMemory.Read(miMemoryType, miMemoryIndex, objMsg, 1)

msSMSText = objMsg.UserDataText
msSenderAddress = objMsg.OtherEndAddress
Call objMsg.get_SCTimeStamp(mlYear, mlMonth, mlDay, mlHour, mlMinutes, mlSeconds, mlTimeZone)

msMessageDateTime = mlDay & "/" & mlMonth & "/" & mlYear & " " & mlHour & ":" & mlMinutes & ":" & mlSeconds & " " & mlTimeZone

AdapterError = puISMSMemory.GetLastError
msErrDesc = GetErrDesc(AdapterError)
End Function

I am getting VB compiler error "ByRef argument type mismatch" and it points to the mlYear parameter in the above code...which i could not figure out what exactly is....

In manual, the parameters are all of type 'long' ....
in VB if u type the method name u get the parameters and its type automatically...so according to the manual and SDK library, all the parameters are of type long...so i have declared all the parameters as long ...

then where the problem lies??? am i missing something???
buti have chekd all many times...

pls help me out / figure out????

Thanks for your time