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

Search:

Type: Posts; User: Hadi Rezaie

Page 1 of 39 1 2 3 4

Search: Search took 0.30 seconds.

  1. Replies
    0
    Views
    714

    VS 2008 and ATL Webservice / Server

    Hi,

    I've installed VS 2008 and i want to create a new ATL Webservice project.
    I just downloaded the last update of ATL Server project from Codeplex.com and copied the *.h files into related...
  2. Replies
    5
    Views
    1,188

    Re: how to compare two const_iterator ?

    Thanks Paul,

    that was cool !!
    Now, I got same result with Release version ..

    Regards,
  3. Replies
    5
    Views
    1,188

    Re: how to compare two const_iterator ?

    Thanks for replies,

    I've solved the problem by adding additional index variable to my code .

    But another issue ...
    Is list class slower than CList class ?!!

    Cause i've tested my code with...
  4. Replies
    5
    Views
    1,188

    how to compare two const_iterator ?

    Hi,

    I've declared and used two (list class) const_iterator variable in my program.

    when i want to compare them :


    if ( cIter1 <= cIter2 )
    return false;
  5. Replies
    5
    Views
    1,082

    Re: How parent window notify ?!

    Hi Vladimir,

    sorry for my bad english, i think i ask the question bad ...
    you know, actually i dont create any child windows myself :)
    let say that "an application starts to create some child...
  6. Replies
    5
    Views
    1,082

    Re: How parent window notify ?!

    Hi Kirant, and thanks for reply :)

    About Hooking, unfortunatly in the platform i'm writing the program there is some limitation to use Hooking functions ... so simply i can't use them .

    This...
  7. Replies
    5
    Views
    1,082

    How parent window notify ?!

    Hi there,

    How a parent window notify that a child window has been created ?!
    for example i create a text box in a dialog dynamically ( run-time ), how the dialog notifies ?! is there any message...
  8. Re: Initialing member variable from another object ( class ) ...

    Yessss, Thank u so much ... :) :thumb:
  9. Re: Initialing member variable from another object ( class ) ...

    Hi Juan,

    I think u got the question wrong ...
    It's not about Array , right ?!
    m_pN just initialed to have 5 ...

    Simply, i'm looking for a way to point m_pNumber to m_pN !
    When m_pN initials...
  10. Re: Initialing member variable from another object ( class ) ...

    juanpast, Thanks for reply ...
    But it doesnt work either ... anyway i want to use pointers instead of references ...

    Regards,
    Hadi
  11. Initialing member variable from another object ( class ) ...

    Hi,

    I want to initial a member variable of my dialog from an object of other class ...
    Maybe below sample could show what i want to say :


    class CSample
    {
    public:
    int * m_pN;
  12. Passing Pointer-To-Function to a function in a class !

    Hi,

    In a part of my code , i need to pass a pointer-to-function to a member function of class ... it's ok when i pass the static value for ex: &A::member .

    but i need to when i inherit the...
  13. Replies
    0
    Views
    621

    Native/CLR Message Handling ...

    Hi there,

    I've wrote a MFC DLL Extension , one of classes inside the dll should fire messages to the application ( main window or where ever user wants ).

    I want to use the dll in a c++ .net...
  14. Replies
    0
    Views
    764

    Native/CLR Message Handling ...

    Hi there,

    I've wrote a MFC DLL Extension , one of classes inside the dll should fire messages to the application ( main window or where ever user wants ).

    I want to use the dll in a c++ .net...
  15. Replies
    1
    Views
    1,750

    Re: Runtime error: CString ...

    solved, sorry
  16. Replies
    1
    Views
    1,750

    Runtime error: CString ...

    Hi,

    I've imported an MFC extenstion dll to an vc++ .net app.
    The dll has a simple class and a method that return a CString ..

    when i want the code , i got a runtime error .. "_CrtIsValidHeap...
  17. Replies
    3
    Views
    874

    Re: CMap - problem in releasing elements

    p1 and p2 points to different objects ... that's right ... that's exactly what i need. but i want when i release Cont[1], p1 releases !

    What should i do ?
  18. Replies
    3
    Views
    874

    CMap - problem in releasing elements

    Hi there,

    after deleting objects in elements, p1 and p2 dont change to NULL ;



    CMap<int, int, ST *, ST *> Cont;
    Cont[1] = new ST(5);
    Cont[55] = new ST(500);
  19. Using of MFC Extension DLL in VC++ .NET project ...

    Hi there,

    I've wrote an MFC Extension DLL and wanna use that in a .NET project ...
    I added the .lib to .net project , also include the header file ... and copied the output DLL in the right path...
  20. Replies
    2
    Views
    761

    Re: Greatest Projects Built Using C++???

    Agree with ovidiucucu,

    Anyway, get FreeBSD source. Not sure it's done with C++ , but it has alot of to learn.

    Regards,
    Hadi
  21. Replies
    2
    Views
    955

    Q: Copying HDC ...

    Hi there,

    In a part of my application i copied an HDC to another like this :


    HDC hSrcDC;

    if ( bState )
    hSrcDC = g_DC1 ;
    else
  22. Replies
    5
    Views
    1,806

    Re: DestroyWindow doesnt work !

    Sorry Victor,
    it's becuase of my low info about SIP architect :)

    I think i should read more ,

    Thanks for reply
  23. Replies
    5
    Views
    1,806

    Re: DestroyWindow doesnt work !

    It's more complicated for me about talk about the Parent Window,
    In fact i'm writing soft input panel for pocket pc devices, that's based on COM tech.

    What i know is when the SIP :: Select(HWND...
  24. Replies
    5
    Views
    1,806

    DestroyWindow doesnt work !

    Hi,

    I've just create a window ( a child window, in a parent window ).
    When i call DestroyWindow to destroy the window , it just doesnt work and WM_DESTROY or WM_CLOSE doesnt fire !

    What's...
  25. Replies
    0
    Views
    768

    ODD: SetClipboardData problem !

    Hi,

    There is an strange problem with my code:

    Here is my original code :


    if ( OpenClipboard( NULL ) )
    {
    HGLOBAL hData = GlobalAlloc( GMEM_MOVEABLE, (strClipboardData.GetLength() + 1)...
Results 1 to 25 of 956
Page 1 of 39 1 2 3 4





Click Here to Expand Forum to Full Width

Featured