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
C

CodeBeetle

@CodeBeetle
About
Posts
21
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • how to send WM_ to other Apps
    C CodeBeetle

    u can use SendInput() function. But to send characters to a specific edit window its probably best to use WM_CHAR with PostMessage().


    CodeBeetle.Com


    C / C++ / MFC tutorial question

  • loop speed
    C CodeBeetle

    maybe use the Sleep(1); function. That will make the thread sleep for 1ms so that other threads can execute.


    CodeBeetle.Com


    C / C++ / MFC question performance tutorial

  • Get user from process (windows NT/XP)
    C CodeBeetle

    Try This...http://codebeetle.com/page.php?al=process_username[^]


    CodeBeetle.Com


    C / C++ / MFC c++ help tutorial question

  • packet sniffer
    C CodeBeetle

    You could use GetTcpTableEx()/GetUdpTableEx() to get a list of the TCP/UDP connections and their processes. Assuming your app is to run on minimum OS of XP, of course. Alternativly ud need to develop a low level driver to do that.


    CodeBeetle.Com


    C / C++ / MFC c++ help workspace

  • Capture Audio
    C CodeBeetle

    waveInOpen waveOutOpen etc... GOOGLE/MSDN :D


    CodeBeetle.Com


    C / C++ / MFC question

  • Communication
    C CodeBeetle

    I HAVE A LITTLE WORM. HIS NAME IS ALBERT, HE LIVES IN MY GARDEN, I CAN SEND U SOME PICS IF U WANT :D


    CodeBeetle.Com


    C / C++ / MFC help

  • Find out if user logged in?
    C CodeBeetle

    if u use OpenInputDesktop() and it returns NULL then the interactive desktop is not available. ie: no-one is currently logged on or "using" the computer.


    CodeBeetle.Com


    C / C++ / MFC question

  • Sharing Events created within a Service
    C CodeBeetle

    Create a named event. then any process can open that event and signal or detect it.


    CodeBeetle.Com


    C / C++ / MFC security question

  • Using WinPCap
    C CodeBeetle

    why dont u use windows raw sockets for packet capturing. Tutorial Here


    CodeBeetle.Com


    C / C++ / MFC c++ tutorial help

  • Run exe file problem !!!
    C CodeBeetle

    use createprocess() waitforsingleobject() and terminateprocess() example class: http://codebeetle.com/page.php?id=31[^]


    CodeBeetle.Com


    C / C++ / MFC help question

  • redirection of command.com
    C CodeBeetle

    i created a class to do just that: http://codebeetle.com/page.php?id=33[^]


    CodeBeetle.Com


    C / C++ / MFC question com help

  • convert int to char??
    C CodeBeetle

    char szNum[30]; int i = 1234; itoa(i,szNum,10); // szNum now = "1234"


    CodeBeetle.Com


    C / C++ / MFC question

  • help regarding dll
    C CodeBeetle

    Here's an example. This is in your header file. You will need to change the obvious defines etc to suit your own app. #ifdef MYCLASS_EXPORTS #define MYCLASSDDLL __declspec(dllexport) #else #define MYCLASSDDLL __declspec(dllimport) #ifdef _DEBUG //linkage #pragma comment (lib, "myclass_db.lib") #else #pragma comment (lib, "myclass.lib") #endif #endif // // class definition // class MYCLASSDLL CMyClass { }


    CodeBeetle.Com


    C / C++ / MFC help question

  • can u terminate the dos window?
    C CodeBeetle

    when u use createprocess to run command.exe are u using the process handle in the return PROCESS_INFORMATION structure to TerminateProcess() ? also sort.exe is another app which is spawned by command.exe, so TerminateProcess() doesnt hav the process handle of sort.exe it only has command.exe. maybe try using createprocess to run sort.exe instead?


    CodeBeetle.Com


    C / C++ / MFC question com

  • sending broadcast packets
    C CodeBeetle

    to listen for a udp broadcast packet, just create a udp socket on the client machine, binding it to a certain port. eg: 22222. Then broadcasting socket should broadcast on that port.


    CodeBeetle.Com


    C / C++ / MFC sysadmin tutorial question

  • Registry Notifier into a deskband?
    C CodeBeetle

    yes thats exactly wot i mean. but don't create it in DllMain. create it in the function in your dll that is called. goto msdn.com and familiarise urself with creating thread, cos thats one of the things c++ does best, and is always useful.


    CodeBeetle.Com


    C / C++ / MFC help windows-admin tutorial question

  • UDP socket problem
    C CodeBeetle

    if you're testing client and server apps on the same machine then you will get problems, cos u cant create 2 udp sockets on the same port.


    CodeBeetle.Com


    C / C++ / MFC help sysadmin question workspace

  • Registry Notifier into a deskband?
    C CodeBeetle

    try putting that bit of code in a seperate thread, using the CreateThread function. Call create thread from the entry point.


    CodeBeetle.Com


    C / C++ / MFC help windows-admin tutorial question

  • EXE to Service
    C CodeBeetle

    I wrote a program called GenSvc which will do that... http://codebeetle.com/page.php?id=2[^] The source code is also available.


    CodeBeetle.Com


    C / C++ / MFC c++ design question

  • Global Scope in C
    C CodeBeetle

    Try this:- int b; int afunction() { extern int b = 0; ... }


    CodeBeetle.Com


    C / C++ / MFC question
  • Login

  • Don't have an account? Register

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