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

Search:

Type: Posts; User: pengch

Page 1 of 8 1 2 3 4

Search: Search took 0.14 seconds.

  1. Replies
    7
    Views
    5,336

    Re: Code injection with CreateRemoteThread

    At first, you need define your InjectFunc like as:

    DWORD WINAPI InjectFunc(void* param)
    {
    return 0;
    }

    And you need sure these code have not include jmp, jne, call which will cause change...
  2. Replies
    9
    Views
    8,018

    Re: MapViewOfFile fails

    Access denied
  3. Replies
    9
    Views
    8,018

    Re: MapViewOfFile fails

    The source is no problem, please use getlasterror to show what is the error code.
  4. Replies
    9
    Views
    8,018

    Re: MapViewOfFile fails

    pvFile is empty?
    please check your infile, if the file is OK, please useabsolute path try again.
    I think there maybe has a file sa same as like infile in your current path.
  5. Replies
    7
    Views
    5,336

    Re: Code injection with CreateRemoteThread

    InjectFunc is only in yourself process, that is not in remote application.

    So a lot of Inject process is use LoadLibrary API to run on remote application because all process has LoadLibrary API...
  6. Replies
    9
    Views
    8,018

    Re: MapViewOfFile fails

    try :

    FILE *f = fopen("test.txt","wb");
  7. Replies
    5
    Views
    6,913

    Re: WaitForSingleObject, How to stop a thread?

    Your code is correct. even the thread completed before you wait, it will still returns immediately.
  8. Replies
    4
    Views
    1,381

    Re: Remote debugging

    You need set the remote debug env on your debug machine.
  9. Replies
    3
    Views
    1,288

    Re:

    You need use a dll to inject the target process.
  10. Replies
    2
    Views
    1,065

    Re: Items of Listview of external application

    LVITEM is only used on current process. If you want use LVM_GETITEM message to get item information from another process, you must alloc memory from the target process.

    You can use virtualallocex...
  11. Re: ASCII versions of injected WIN32 API call hooks are not called

    Maybe it's using LoadLibrary and GetProcAddress?
  12. Replies
    0
    Views
    1,557

    PAGE_EXECUTE is not effective?

    Hi, all

    I want to set a memory to execute only but can not to be read and write. I found the PAGE_EXECUTE is the flag of VirtualProtect can do it. But i set the flag to my process memory, it is...
  13. Replies
    1
    Views
    710

    Re: create password with VolumeSerialNumber

    To protect your software, please using RSA!
  14. Replies
    4
    Views
    1,146

    Re: problem of "SHBrowseForFolder"

    BROWSEINFO bi = {0};
    TCHAR szFile[MAX_PATH];
    bi.pszDisplayName = szFile;
    bi.pidlRoot = (LPCITEMIDLIST )CSIDL_DRIVES;
    bi.ulFlags = 0;
    SHBrowseForFolder(&bi);
  15. Replies
    8
    Views
    1,882

    Re: Windows application crashes without a trace.

    It is like memory overflow. it will cause a crash wihout unhandled exception. In this case, you maybe canot using try catch to catch the exception.
  16. Replies
    4
    Views
    1,146

    Re: problem of "SHBrowseForFolder"

    Bif_dontgobelowdomain
  17. Evalute Api Monitor Tool for x64 beta version

    Hi, every one, I'm the Auto Debug tool's author. Auto Debug is the best Api monitor tool which can automatic monitor all apis input and output parameters.
    Auto Debug for x64 beta verion is...
  18. Replies
    3
    Views
    802

    Re: Manifest file in VS2005

    Select [Project] - [Properties...] - [Configuration Properties] - [Linker] - [Manifest File], set [Generate Manifest] to No.
  19. Replies
    1
    Views
    1,010

    Re: dll compile error

    Please import setupapi.lib
  20. Replies
    4
    Views
    1,136

    Re: How to update string table without using IDE?

    And must update resource.h file using notepad. :)
  21. Replies
    0
    Views
    643

    How to add tooltips to my control?

    Hi all,

    I created a control like as List Control has a lots of items, I want to let the items has tooltip when the mouse on the item to display the item text. I hope it works like as TreeView...
  22. Replies
    4
    Views
    4,718

    Re: GetActiveWindow always fails

    I think using PowerPoint COM interface is the right way.
  23. Replies
    5
    Views
    769

    Re: Prevent change DLL name

    Using GetModuleFileName at DllMain entry point.
  24. Replies
    11
    Views
    11,002

    Re: DLL dependency analyzer

    Why didnot using dynamic tool?
  25. Re: NT Service wont stop / kill gives access denied

    I didn't understand why Igor Vartanov so said. I maked a tool name killprocess which used debug privilege can kill service. you can download it form our website.
    ...
Results 1 to 25 of 181
Page 1 of 8 1 2 3 4





Click Here to Expand Forum to Full Width

Featured