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

Search:

Type: Posts; User: lucky6969b

Page 1 of 37 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    393

    What does C4237 mean?

    warning C4273: 'MyTextOutW' : inconsistent dll linkage

    I am developing the hooker in windows xp using Visual Studio 2010,
    I have linked all kernel32.dll, user32.lib, advapi32.lib.... from the...
  2. Re: Instantianting different copies of a class where there is a static function in it

    Hello,
    Sorry for trying too hard
    But in this case, all apis and modules are hooked to the user space, but there are still some kernel space access?
    How do I get around this? Basically, I am just...
  3. Re: Instantianting different copies of a class where there is a static function in it

    Thanks Arjay,
    let me think about it.
  4. Re: Instantianting different copies of a class where there is a static function in it

    Hello Victor,
    I want to hook the whole module of windows like kernel32.dll dynamically.
    Because it's too time consuming to write each function individually,
    I want to do that dynamically.
  5. How to force tasm32 to resolve symbols at link time?

    I got some symbols existing in my program like
    The line won't assemble because the assembler doesn't see the variable.
    But Can I defer the resolution at link time?


    mov eax, [dword_65880]

    ...
  6. Instantianting different copies of a class where there is a static function in it?

    Hello,
    In the code snippet below,
    You can see that the Hook function must be static if I want to assign the function pointer
    to newStruct->pNewFunc, as a consequence, all new'ed copies of...
  7. Replies
    0
    Views
    362

    How to write a runtime hooker?

    When I am checking on the IAT of an exe, if an entry can't be linked dynamically,
    I hook it in order to disable it.
    But I can't cater for every scenario of failure to happen...
    so I want to write...
  8. Replies
    3
    Views
    730

    Re: How to make two pointers the same?

    Hello,
    If I move the unique_ptr around, is it safe to leave a raw copy in the ComponentManager?


    template<typename T>
    std::unique_ptr<T> AddComponent(std::unique_ptr<T> l_component)
    {...
  9. Replies
    3
    Views
    730

    How to make two pointers the same?

    Unfortunately, when the NavigationSystem is added to the Truck object,
    it is turned to another type of pointer (a unique_ptr), which is another copy and type
    of the original pointer,
    When I take...
  10. Replies
    2
    Views
    422

    Re: Parametrized Comparator Problem

    Why the logic is reversed?
    The comparator will favour the node most far away from the position, but the reversed logic will work
    I don't understand why, should I use the less than operator instead,...
  11. Replies
    2
    Views
    422

    Re: Parametrized Comparator Problem

    Okay , i see


    std::sort(m_octrees.begin(), m_octrees.end(), OctreeComparatorByDistance(pos));
    return *m_octrees.begin();


    OR this
  12. Replies
    2
    Views
    422

    Parametrized Comparator Problem

    I received the following error on making the parametrized comparison.
    I am looking for the octree that is closest to the position I'm giving it.
    Thanks
    Jack




    struct...
  13. Replies
    6
    Views
    789

    Re: How to link undocumented windows apis?

    Hello,
    I am also wondering why some apis live in the area around 0x7xxxxxxxxx
    but it is just in the user space area. but in 32bit windows environment, the kernel space actually starts at 0x80000000...
  14. Replies
    6
    Views
    789

    How to link undocumented windows apis?

    For example,
    there is an api in windows called SHCreateDesktop,
    It is located in shell32.dll, but Microsoft keeps this symbol private,
    so using shell32.lib won't link in the api to the executable....
  15. Re: Attaching a custom theme to a standalone explorer.exe

    http://windows7themes.net/en-us/windows-7-theme-group-policy/

    Here's what I've got so far
    https://youtu.be/Dv5V59q2y3o

    I am currently building an xp explorer from scratch, and wishing I could...
  16. Attaching a custom theme to a standalone explorer.exe

    Hi there,
    I've now got a simple virtual desktop app working...But I can't have different themes for each desktop.
    So is it possible to attach one (desk.cpl etc) to a standalone explorer.exe, this...
  17. Replies
    5
    Views
    563

    Re: Testing hotkeys from GetMessage

    Okay, I'll start a new one, thanks
  18. Replies
    5
    Views
    563

    Re: Testing hotkeys from GetMessage

    [del]..............
  19. Replies
    5
    Views
    563

    Testing hotkeys from GetMessage

    When I retrieve the message from


    if(GetMessage(&msg,NULL0,0) != 0)
    {
    if (msg.message == WM_HOTKEY)
    {
    // do something
    }
    }
  20. Replies
    3
    Views
    2,156

    CreateFile returns a 0xffffffff error

    The target file already exists in the same folder as the starting program.
    Any ideas?
    Thanks
    Jack



    if(!pe->bLoadFromBuffer) {
    DMSG("Creating Map View of File");
  21. Changing all vcxprojs recursively for the whole solution

    I have recently moved a project previously created with cmake,
    it annoys me because the paths are absolute, I have to seek every path
    that corresponds to the change.
    Which is time-consuming,...
  22. Replies
    1
    Views
    556

    Cannot run this python program.

    Hello,
    When I ran this python program with python 3.5.2
    I would get

    https://github.com/unr-arl/DubinsAirplane



    File "DubinsAirplaneMain.py", line 46
    print '### Path Type: short...
  23. How to decrease the memory footprint of 3 different representations of data?

    I've got a set of data which would be accessed by either index, hash keys, or a 3D vector.
    Since hash maps and arrays are different, I've to create 2 sets of data for each representation,
    But the...
  24. Re: The hooking stops at memcpy step "2" (see program attached)

    okay, works now


    // TestHook.cpp : Defines the entry point for the application.
    //

    #include "stdafx.h"
    #include "TestHook.h"
    #include "MinHook.h"
    #include "trampoline.h"
  25. Re: The hooking stops at memcpy step "2" (see program attached)

    How that sound?

    https://github.com/TsudaKageyu/minhook
Results 1 to 25 of 911
Page 1 of 37 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)