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

Search:

Type: Posts; User: computerfreaker

Search: Search took 0.03 seconds.

  1. Re: CreateRemoteThread + LoadLibrary fails

    Not as far as I can see. To the best of my knowledge, my DLL only depends on system DLLs.

    EDIT: this was it! My project's linker was set to share libgcc; as soon as I changed -shared-libgcc to...
  2. Re: CreateRemoteThread + LoadLibrary fails

    It turns out I didn't need OllyDbg to walk through that thread - I just needed it to walk through the LoadLibraryW API at the right time. That was a bit inconvenient, since it trapped all...
  3. Re: CreateRemoteThread + LoadLibrary fails

    After some more time on MSDN and a lot more time searching the web, I found a couple of issues (specifically, I was allocating too much memory in VirtualAllocEx, and my VirtualFreeEx call was...
  4. CreateRemoteThread + LoadLibrary fails

    I'm trying to subclass Windows Explorer's system tray, using CreateRemoteThread, LoadLibrary, and a DLL. Unfortunately, my DLL is never loaded by Explorer, and its DLLMain function is never even...
  5. Replies
    3
    Views
    1,143

    Re: Safely pausing explorer.exe

    Under the operating conditions which I need to work with, my shell has to run on top of Explorer. I know it's not at all ideal, but it's what I have to work with.

    I've found some measure of...
  6. Replies
    3
    Views
    1,143

    Safely pausing explorer.exe

    I'm working on an alternate shell which has to run on top of Windows Explorer, without admin rights. This shell includes a tray, but the tray module won't work when Explorer is running because...
  7. Does font size affect control size?

    I'm working on a project using C++ and the raw Windows API. So far, it's gone pretty well, but I've run into a fairly major problem. When I create controls (for example, a statictext), they're bigger...
  8. Replies
    2
    Views
    3,398

    Re: Refreshing a folder

    Try the keybd_event API - I used to use it all the time in VB6. You'll also need the numerical constant for the F5 key - it's &H74 (116 in decimal; not sure how C++ defines hex digits, so I tossed...
  9. Replies
    5
    Views
    3,532

    Re: Combining two cpp files...

    Thanks for the tip...
    As a matter of fact, I don't need to combine the files anymore. That was supposed to make life simpler so I could track down my elusive bug - but the project works just fine...
  10. Re: Taking a screenshot - trouble with windows.h

    Could have sworn I was using a Windows compiler... and I was very baffled, until...


    Thank you. :)


    +500!!!! :thumb: :thumb: :thumb: :thumb: :thumb:
    johanneshau, that solved my problem -...
  11. Re: Taking a screenshot - trouble with windows.h

    New problem - I don't seem to have gdi32.lib (and yes, I used the Windows search tool)! :eek: :sick:
    Where/how should I get it?
  12. Re: Taking a screenshot - trouble with windows.h

    Thanks!
    I found how to add gdi32.lib to the linker section of the project... there's an option in the Build Settings area... :)
  13. Re: Taking a screenshot - trouble with windows.h

    Bleep. My Java background scores again... >:(
    yes, I #included <windows.h>... I'm just used to #importing things from Java so I forget about half the time. My bad... :S


    How do I do that? Just
    ...
  14. Replies
    5
    Views
    3,532

    Combining two cpp files...

    I'm undoubtedly about to make a fool of myself, but I can't seem to figure this out by myself, so here goes...

    I'm trying to make a screenshot utility; since I'm a C++ newbie I'm using the code...
  15. Taking a screenshot - trouble with windows.h

    Hi!

    I'm trying to create a screen capture utility; since I'm a newbie to C++, I'm starting with the screenshot code here:
    http://www.daniweb.com/forums/thread119804.html
    (Look at the bottom of...
Results 1 to 15 of 15





Click Here to Expand Forum to Full Width

Featured