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

Search:

Type: Posts; User: Alexandrov Alex

Page 1 of 6 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    2,783

    Re: DirectX8: Why won't DXTrace work?

    From MSDN:

    DXTrace Requirements
    Windows NT/2000: Requires Windows® 2000.
    Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
    Version: Requires...
  2. Replies
    1
    Views
    575

    Re: ATL generated code causing errors

    This error occurs because one of standard Windows include files also have InlineIsEqualGUID function. Just resolve this ambiguty like this

    if (::InlineIsEqualGUID(*arr,riid))
    return...
  3. Replies
    2
    Views
    429

    Re: PostMessage

    You cannot use PostMessage with WM_COPYDATA message. Use SendMessage instead.


    Best regards. Alex.
  4. Replies
    2
    Views
    441

    Re: notifying thread

    BTW, you can have a message loop in your working thread and send messages to it with PostThreadMessage()


    Best regards. Alex.
  5. Replies
    7
    Views
    853

    Re: adding code in exe

    I guess it can be virus but maybe it is not. It more like some debugging tool. Haven't you ever think that most of debugging tools are like viruses?


    Best regards. Alex.
  6. Replies
    4
    Views
    496

    Re: Terminating a Thread

    Are you sure that your threads are independent each of other? Maybe myFuction cannot perform its task if first thread is in sleeping state? In other words are you sure that there are no any...
  7. Replies
    7
    Views
    853

    Re: adding code in exe

    OK, I think there is no some problems for you to add a dialog template into some EXE, isn't it? That is easy. The main problem is how to make your code executed in the beginning of the program. I...
  8. Replies
    3
    Views
    386

    Re: Resource Editor

    See
    http://msdn.microsoft.com/library/en-us/winui/hh/winui/resource_86yb.asp

    http://msdn.microsoft.com/library/en-us/winui/hh/winui/resource_1ph0.asp


    Best regards. Alex.
  9. Replies
    4
    Views
    496

    Re: Terminating a Thread

    Remember that a thread handle enters a signal state only after the thread exits its function. So are you sure that control flow goes out of myFunction???


    Best regards. Alex.
  10. Re: Creating a tile based map in C++ using DX7

    Make sure that color formats of source and destination surfaces are equal. Blt function doesn't perform any color conversion. Second, install debug version of DirectX SDK and full-enable debug...
  11. Replies
    7
    Views
    837

    Re: Help with Linker error

    Make sure that you link your program with multithread CRT libary: Settings/C++/Category Code Generation/Use run-time library: Debug Multithreaded or Debug Multithreaded DLL


    Best regards. Alex.
  12. Replies
    3
    Views
    747

    Re: Problem with SetTimer

    In addition to what Igor said, the same but a little more safe

    // TestConsole.cpp : Defines the entry point for the console application.
    //

    #include <stdio.h>
    #include <windows.h>
    #include...
  13. Replies
    40
    Views
    2,349

    Simple is not stupid, OK?

    Just a few words in addition to all this....

    First, guys, thanks for your feedback. A lot of answers, advices, opinions - that's great!!! Different opinions, different people - and it means that...
  14. Replies
    40
    Views
    2,349

    Re: What's wrong with CodeGuru???

    THANKS!!! That is what I meant!!!


    Best regards. Alex.
  15. Replies
    40
    Views
    2,349

    Re: What's wrong with CodeGuru???

    Hi Igor! You understood me in a wrong way... I know that people are laze - this is the way I am myself. But people(and programmers) MUST respect each other. Everyone before posting his question to...
  16. Replies
    40
    Views
    2,349

    What's wrong with CodeGuru???

    Hi, everybody!
    I do not want to hurt or blame someone but let me repeat my question: WHAT'S WRONG WITH CODEGURU???
    I've been always thinking that all the questions that people send to forums should...
  17. Replies
    3
    Views
    422

    Re: GUI image captured

    Are you working in Visual Studio?


    Best regards. Alex.
  18. Re: Peeping into another process' space !!

    IMHO, the only way to EXECUTE something in other process' space is to be in that process's address space. But you can read or write other process' memory without having to be there....
  19. Re: Suspending a thread in another process?

    You can suspend any thread in system. From MSDN:
    The SuspendThread function suspends the specified thread.
    DWORD SuspendThread(
    HANDLE hThread <> // handle to thread
    );

    But there are some...
  20. Replies
    3
    Views
    422

    Re: GUI image captured

    Hi! It is so pretty nice to see a girl here!!! You will get a lot of answers I think. About your question: try to make simple SDI or MDI MFC application with Wizard and then try to understand how it...
  21. Replies
    0
    Views
    328

    Windows messages question

    Hi, All!
    Does anybody know, is there a way to find out which thread sent(or posted) current message to my application? Something like GetSenderThreadID???


    Best regards. Alex.
  22. Replies
    5
    Views
    703

    Re: Questions about HOOK

    NIM_ADD is not a window message. It is just a parameter which is passed in context of NOTIFYICONDATA structure. You cannot hook adding of tray icons in that way.


    Best regards. Alex.
  23. Replies
    2
    Views
    501

    Re: Template functions specialization

    That is well-known, rather - famous, bug of VC++.
    Look http://wdj.com/articles/2001/0103/0103e/0103e.htm?topic=articles



    Best regards. Alex.
  24. Replies
    5
    Views
    703

    Re: Questions about HOOK

    If you want to hook messages then use WH_GETMESSAGE. Your hook procedure might look like this


    LRESULT CALLBACK GetMsgProc(int code, WPARAM wParam, LPARAM lParam)
    {
    if (HC_ACTION == code) {...
  25. Replies
    4
    Views
    570

    Re: Hiding Caret on CRichEdit

    Usually a caret is created when window receives WM_SETFOCUS and destroyed on WM_KILLFOCUS. So maybe you have to subclass richedit and intercept those messages. And it would be extremely useful if you...
Results 1 to 25 of 150
Page 1 of 6 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)