Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

ShaluMalu

@ShaluMalu
About
Posts
18
Topics
16
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to find if a remote system is logged in?
    S ShaluMalu

    Dear friends, i am currently working on a module which lists the IP address of all the active systems in a LAN. The process continuously runs and updates the IP addresses(in case logged in or log out). I have used timer to update it. Now i need to check if a remote system is logged in or not. So if you know please do tell me what should be done to check if a remote system is logged in. Thank you(in anticipation) Shalumalu

    C / C++ / MFC tutorial question announcement

  • any lib to be added to make it work or any changes to be done?
    S ShaluMalu

    thanks a lot for ur earliest reply.. i will try out with ur information sir.... thanks again...

    C / C++ / MFC sysadmin help question

  • any lib to be added to make it work or any changes to be done?
    S ShaluMalu

    hi! i compiled the following code... some error is being shown in _endthreadex and _beginthread mpr.lib and wsock32.lib is included but still not working... pls tell me if any other changes has to be made... // HEADER FILE #include #include #include #include #include #include char buffer[]="ANY DATA"; // Static Global Data /*-------------------------------------------------------------------*/ void MyFunction( void* Arg ) { SOCKET Client=(*(int *)Arg); while(1) { send(Client,buffer,100,0); } _endthreadex(0); } /*--------------------------------------------------------------------*/ void main(void) { int a,b,c,d; // For Server Address or Address of P1. int port; // For Port No of Server or Port of P1. struct sockaddr_in serv_addr,cli_addr; SOCKET Server; SOCKET Client; int clilen=sizeof(cli_addr); /***************************************************/ /* SOCKET INITIALISATION */ /***************************************************/ WSADATA WsaDat; if (WSAStartup(MAKEWORD(1,1),&WsaDat) != 0) { printf("\n\n WSA Initialization failed! STOP!!!"); exit(1); } /***************************************************/ /* SOCKET CREATION */ /***************************************************/ Server = socket(AF_INET, SOCK_STREAM, 0); if (Server == INVALID_SOCKET) { printf("\n\n Socket creation failed!STOP!!!"); exit(1); } else printf("\n\n SOCKET IS CREATED SUCCESSFULLY..."); /***************************************************/ /* SERVER ADDRESS */ /***************************************************/ serv_addr.sin_family=AF_INET; printf("\n\n ENTER THE SERVER IP "); scanf("%d%d%d%d",&a,&b,&c,&d); serv_addr.sin_addr.S_un.S_un_b.s_b1 =a ; serv_addr.sin_addr.S_un.S_un_b.s_b2 =b ; serv_addr.sin_addr.S_un.S_un_b.s_b3 =c ; serv_addr.sin_addr.S_un.S_un_b.s_b4 =d ; printf("\n\n ENTER THE PORT NO "); scanf("%d",&port); serv_addr.sin_port = htons(port); /***************************************************/ /* BIND THE SOCKET*/ /***************************************************/ if (bind(Server,(struct sockaddr *)(&serv_addr),sizeof(ser

    C / C++ / MFC sysadmin help question

  • Doubt in SystemTimeToFileTime
    S ShaluMalu

    What is the use of the function SystemTimeToFileTime? Why should we convert a SystemTime to Filetime? What for it is used?

    C / C++ / MFC

  • which of the following to look at?
    S ShaluMalu

    Hi everybody! I want to transfer the files saved in a particular time interval.... for that should i find the last accessed time or last modified time of the file? Which of these has to be found if it is a folder? Thanks!

    C / C++ / MFC

  • Few Basic Questions!
    S ShaluMalu

    Refer Charles Petzold Books on Windows Programming. It has a lot of basic information!

    C / C++ / MFC question learning

  • Any way to run an exe at logoff!
    S ShaluMalu

    Hello everybody! Is there any specific way to run an exe when a system wants to logoff! Or will the system forcefully closes all active applications before logoff?

    C / C++ / MFC question

  • Any error in my code! [modified]
    S ShaluMalu

    Hi everybody! I wrote a code to display a messagebox when WM_QUERYENDSESSION message is posted.This is the code i wrote! bool CMainWnd::OnQueryEndSession() { MessageBox(NULL,"QueryEndSession message is posted",MB_OK); } Is this correct! I expected to get a messagebox when i wanted to logoff the system. But it didnt work!Is anything wrong with my code!If so,I humbly request you to respond me! Thanks in advance! Regards Shalini -- modified at 6:55 Friday 2nd March, 2007

    C / C++ / MFC help

  • how to end a process remotely from server?
    S ShaluMalu

    pls do help me in ending a process from the server without shutting down the remote host.. while using InitiateSytemShutdown() it forcefully closes and then shutdowns the system. but i need to end the process wihtout shutting down the system. pls do reply as early as possible..

    C / C++ / MFC sysadmin help tutorial question

  • How to block a user shutdown or logoff?
    S ShaluMalu

    Hello everybody! I would like to know if there is any way to block a user from shutting down or logging off the system. Or atleast postpone the shutdown process for a particluar time interval. Is it possible to do that? I humbly request to respond me! Thanks in advance! regards, Shalini

    C / C++ / MFC tutorial question

  • Retrieving data from dual table...
    S ShaluMalu

    Hi, We are Beginners in Sql and oracle. We are working with Java as front end and Oracle8i as the back end. We have to retrieve the results of those queries executed with dual table in oracle and display them in our front end. We have connected Java with oracle using JDBC. Our connection is working properly. So our problem is only regarding retrieving. Pls help us with code.

    Database help java database oracle

  • how to retrieve the result in Oracle?
    S ShaluMalu

    hi everybody! I am a beginner in PL/SQL.I am currently doing a project based on PL/SQL with java as front end. Basically I am developing an editor for PL/SQL. I want to know how could we retrieve the resulting statements of PL/SQL program that is executed in Oracle. for eg: how to retrieve the result of a query say, 'Query completed successfully' which is displayed in Oracle editor to the front end form. Does anybody know how to proceed with this? Kindly bear with me as am new to Code Project. If anybody of you know the answer, can you be so kind and respond me! Regards, Shalini

    Database database java oracle tutorial question

  • Any way to start an application at bootup?
    S ShaluMalu

    Hello everybody! Is there any way to start an application at bootup! for eg: a program to display the date of the day when the user has logged in! If you happen to know the concept,I humbly request you to kindly respond me! Thanks in advance! Shalini

    C / C++ / MFC question

  • what message is posted?
    S ShaluMalu

    does anyone of you know what message will be posted when a system is logged in? if so, can you please be so kind and respond me. thanks in advance! thanks to one and all who respond to the questions posted here! Shalini nair

    C / C++ / MFC question

  • Any function to find the last modified time of a file?
    S ShaluMalu

    Hi everybody! Does anyone of you know any specific function to find the last modified time of a file.If anyone of you know this, i humbly request you to respond me. Thanks in advance! Shalumalu

    C / C++ / MFC question

  • can we find the status of a system?
    S ShaluMalu

    I am a beginner in MFC. I wanna know if we can know if a remote system has logged in.Could we get the time of login. I humbly request the one who has some idea about it to kindly respond me! Thanks in advance!

    C / C++ / MFC c++ question learning

  • how to track a URL(website address)
    S ShaluMalu

    how can we track a webpage title and website address(Link)? If anyone of you know, i humbly request you to reply me! thanks in advance!

    C / C++ / MFC tutorial question

  • Help me please
    S ShaluMalu

    how to find the IP address of systems connected to a LAN

    C / C++ / MFC help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups