471,850 Members | 1,032 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,850 software developers and data experts.

Send message MSN

mcarmello
Hi Pals!

I'm developing a program to control resources MSN messenger. My based code is project IMHear, developed in language C.

I try send a message in the moment the user open a chat window or send a message to another user.

Expand|Select|Wrap|Line Numbers
  1.         if ( (pf = fopen(filename, "a") ) != NULL ) {
  2.           fprintf(pf, "%s friendlyname:%s send the following message\n", userhandler,
  3.               friendlyname);
  4.           fprintf(pf, "%s\n", msgbuf);
  5.           fclose(pf);
  6.         }     
  7.  
I'm initiate in code C, i want help! Any tips to me?

I was find in google, documentation and other places but... i not found nothing about this.

Marcos
Oct 3 '06 #1
1 3473
I find answers in this link: http://www.hypothetic.org/docs/msn/ but, not works. I cant implement this codes in C. I'm a noob.


Hi Pals!

I'm developing a program to control resources MSN messenger. My based code is project IMHear, developed in language C.

I try send a message in the moment the user open a chat window or send a message to another user.

Expand|Select|Wrap|Line Numbers
  1.         if ( (pf = fopen(filename, "a") ) != NULL ) {
  2.           fprintf(pf, "%s friendlyname:%s send the following message\n", userhandler,
  3.               friendlyname);
  4.           fprintf(pf, "%s\n", msgbuf);
  5.           fclose(pf);
  6.         }     
  7.  
I'm initiate in code C, i want help! Any tips to me?

I was find in google, documentation and other places but... i not found nothing about this.

Marcos
Oct 3 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

11 posts views Thread by Google Mike | last post: by
9 posts views Thread by Etienne Charland | last post: by
5 posts views Thread by Pete Loveall | last post: by
reply views Thread by David Burson | last post: by
4 posts views Thread by zhimin | last post: by
1 post views Thread by michi | last post: by
3 posts views Thread by ultr | last post: by
NeoPa
reply views Thread by NeoPa | last post: by
aboka
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.