By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,898 Members | 2,022 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,898 IT Pros & Developers. It's quick & easy.

Send message MSN

mcarmello
P: 3
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
Share this Question
Share on Google+
1 Reply


mcarmello
P: 3
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.