----- Original Message ----
On 11/19/2006 Pawel Kot
address@hidden wrote:
>What manipulations?
I make 3 changes, 1 & 2 for compiling, 3 for stdin error
1. adding these files to project solution
"gnokii-calendar.c
gnokii-dial.c
gnokii-file.c
gnokii-logo.c
gnokii-monitor.c
gnokii-other.c
gnokii-phonebook.c
gnokii-profile.c
gnokii-ringtone.c
gnokii-security.c
gnokii-settings.c
gnokii-sms.c
gnokii-todo.c
gnokii-utils.c
gnokii-wap.c"
2. removing "#include <unistd.h>" from above files
3. in gnokii-utils.c , readtext function:
scanf("%s",&message_buffer);
chars_read = strlen(message_buffer);
instead of :
chars_read = fread(message_buffer, 1, sizeof(message_buffer), stdin);
>> ------------------------sending picture message : (make
>> error)
>> D:\gnokii0614\win32\MSVS2005\Debug>gnokii --sendlogo
>> picture 00989181310333 d:\1.bmp
>> GNOKII Version 0.6.14
>> Sending Multipart Message: Picture Message.
>> Please enter SMS text. End your input with <cr><control-D>:test
>
>And where's the error?
while sending picture message un handled error occur and program will ended
'gn_sms_send' function in gsm-sms.c make error near these lines:
if (data->raw_sms->user_data_length > MAX_SMS_PART) {
dprintf("SMS is too long? %d\n", data->raw_sms->user_data_length);
error = sms_send_long(data, state);
goto cleanup;
}
Thanks for your consideration