CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: packetvb

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    3,012

    Re: WMI Script to Deploy Application

    Kinda late,
    But for running executables on remote machines, i.e. Installing patches remotely, check out http://www.vbforums.com/showthread.php?t=311633
  2. Replies
    2
    Views
    1,089

    Re: Subclass problem

    try this

    CDialogMain* self = (CDialogMain*)GetWindowLong(hwnd, GWL_USERDATA);

    if (!self) return FALSE;

    // I do it in this way so that my dialog proc can access class...
  3. Replies
    3
    Views
    2,023

    Re: I have a problem

    looks like homework.
  4. Replies
    8
    Views
    1,182

    Re: Beginner DLL template question

    Didnt think that NET could create DLL's?
  5. Thread: DLL Injection

    by packetvb
    Replies
    6
    Views
    2,100

    Re: DLL Injection

    GordonFreeman,

    I believe you are doing it wrong.
    The handle you are getting from GetCurrentProcess is not the "real" handle. Look at the api on microsoft.
    You should be using DuplicateHandle...
  6. Replies
    2
    Views
    595

    Re: Controlling remote PCs

    Wmi
  7. Re: Driver programming question -PsGetProcessImageFileName

    AmMoh,
    The function you mentioned is not documented and supported in XP and higher only.
    In kernel mode you could get the information from the EPROCESS structure. But this field is suppose to be...
  8. Replies
    1
    Views
    3,146

    Re: Process Blocking

    A little while back I was messing with the same thing.
    Ive sucessfully have hooked it in win2k but was unable to do it in XP. Ive heard the same about hooking ZwCreateProcess being bad. Something...
  9. Replies
    22
    Views
    3,516

    Poll: Re: Which compiler do u use most?

    For a Compiler I usually use either MSVC6 or MingW. Just started playing with ToolKit2003.
    For GUI Libs I use my own. If you would like to use them, its avialable at www.martinm.net, part of...
  10. Replies
    6
    Views
    7,745

    Re: MASM32 : how to return a string?

    Saching22,

    You missing something in your code.
    Where do you copy the buffer to the string?
    Should be something like;

    GetNewTempFile proc strPrefix :LPCSTR, strNewFileName:LPSTR
    local...
  11. Replies
    76
    Views
    23,832

    Re: Microsoft leaving VB?

    I find it hard to believe that, as currently .Net calls the API's. Could you show me an example that shows this situation?

    packetvb
  12. Re: How to connect and recieve responce from user mode

    mvr_it,
    You would notify your user mode process using events. Youll want to look at
    IoCreateNotificationEvent.
    You first set up the event with the function above.
    In your callback that you pass...
  13. Re: How do I suspend threads and processes at the kernel level?

    I believe you can do this from user mode provided you have admin right.
    Regardless of whether you can or not you will still need to create a driver to handle of possible ways of execution launching.
  14. Re: static members create unresolved external symbols

    First off,
    I thought static vars must be initialized to some value when declared.
    Also I dont think they are suppose to be in the header portion of your class.
    So they should be before char*...
  15. Replies
    53
    Views
    5,097

    Re: What are you currently working on ?

    Well heck,
    Since its been brought back from the dead, might as well keep it going.

    Im working on a kinda vb clone. basic style code similiar to vb converted to c++ with its own IDE. SpeedBasic...
  16. Replies
    15
    Views
    1,430

    Re: Multithreading Project :: Can someone help?

    MrDoomMaster,

    You should be creating the windows and doing the message pump in
    UINT WINAPI Thread_Utils::EntryPoint(LPVOID pThis)
    {
    if((hWin = ::CreateWindow(ClassName.c_str(),....
    ...
  17. Replies
    2
    Views
    560

    Re: Need a script to read message

    nasirulh,

    Yea let me do that for you.

    packetvb
  18. Replies
    4
    Views
    1,034

    Re: hook tutorials?

    prasanthsylvester,

    Sounds like the thread starter is talking about hooking API's or as its otherwise known,Import Address Table patching.

    lepricaun,

    Do a search for APIHIJACK that was...
  19. Re: How to read the Process Parameters of a running process

    Sorry I meant PEB, hehe
    Not sure about GetModuleInformation. One i didnt know it gave the PEBBase. Ive used func from psapi.dll before and had trouble especially when main thread is suspended.
    Why...
  20. Re: How to read the Process Parameters of a running process

    Havent messed with 64bit.
    But couldnt you pull that information from the TEB?
    Assuming the Parameter Block hasnt changed in size.
  21. Replies
    0
    Views
    402

    network capture

    activex dll that wraps WinPcap Packet Driver API (packet.dll) capture functions with Visual Basic.

    http://sourceforge.net/projects/packetvb/
Results 1 to 21 of 21





Click Here to Expand Forum to Full Width

Featured