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

Search:

Type: Posts; User: Nikitozz

Page 1 of 6 1 2 3 4

Search: Search took 0.02 seconds; generated 1 minute(s) ago.

  1. Replies
    2
    Views
    3,798

    Re: empty path name is not legal Error

    You should check your ShowDialog(); calls return values in order to find out which button was actually pressed.

    Something like that


    ......................................
    // Show dlg as a...
  2. Replies
    2
    Views
    1,107

    Re: Own Windows shell replacement - help in OOP

    I would stick to idea of creating buttons as windows. And they will be able to paint themself.
    As for me, having a separate class only for buttons painting is not the best solution. Painting is more...
  3. Re: How to load dll which is win32 into x64 environment

    I've done this once. :) But I didn't have any other choice that time. Anyway it's ugly and awful.



    It’s impossible to load 34-bit DLL into the 64-bit application. If you really need this...
  4. Replies
    16
    Views
    3,199

    Re: UAC on WIndows7

    Try to read this
    http://stackoverflow.com/questions/252226/signing-a-windows-exe-file

    and this
    http://msdn.microsoft.com/en-us/library/8s9b9yaz(v=vs.80).aspx
  5. Replies
    1
    Views
    1,373

    Re: List available wifi networks

    You can use Native WiFi components: http://msdn.microsoft.com/en-us/library/windows/desktop/ms706556(v=vs.85).aspx

    It seems that WlanGetAvailableNetworkList can do the thing you need....
  6. Replies
    15
    Views
    3,844

    Re: Need urgent help about array.

    What do you mean?
  7. Replies
    15
    Views
    3,844

    Re: Need urgent help about array.

    http://forums.devx.com/archive/index.php/t-99138.html
  8. Thread: dispose issue

    by Nikitozz
    Replies
    7
    Views
    976

    Re: dispose issue

    Google can:
    http://msdn.microsoft.com/en-us/library/66x5fx1b.aspx
    http://www.csharphelp.com/2007/05/avoid-c-memory-leaks-with-destructor-and-dispose/
  9. Replies
    13
    Views
    2,231

    Re: Memory Leak within worker thread

    What is TimeStampDT()? Can you show this function definition?
  10. Re: How to add .h and .cpp files to MFC project?

    Why do you actually want to add your own WinMain into the MFC application?
  11. Replies
    2
    Views
    603

    Re: VS2005: explicit specialization error

    Check this: http://msdn.microsoft.com/en-us/library/aa986916(VS.80).aspx
    I'm not sure if this feature is avalaible in VS2005.
  12. Replies
    2
    Views
    1,074

    Re: C#, ASP.net, AJAX Programming Issue

    This thread might be helpful: http://forums.asp.net/t/1093228.aspx
  13. Replies
    2
    Views
    894

    Re: overload

    One of the possible soulitions is to define your Instance() function like this


    Logger& Logger::Instance()
    {
    return m_pInstance ? *m_pInstance : *(m_pInstance = new Logger);
    }
  14. Replies
    9
    Views
    8,481

    Re: [VC++] Creating objects on the fly

    They mean "managed C++": http://en.wikipedia.org/wiki/Managed_Extensions_for_C%2B%2B
  15. Re: my CHttpFile::SendRequest() timeout when sending request to google translator

    You are trying to translate the text "Hello", but I don't see where you actually pass it to the server.
    You just declare the szText variable, but never use it.
  16. Replies
    2
    Views
    601

    Re: virtual function question

    No. It won't. The Sahpe class doesn't know anything about the length member.
  17. Replies
    15
    Views
    3,287

    Re: Array of CString in VC++ 8?

    The reason of the memory leak is simple. You call a constructor for your string


    ::new((void*)pTmp)CString; // call constructor

    ,but you never call a destructor (which, by the way, frees...
  18. Replies
    2
    Views
    1,067

    Re: How to read Assembly Information?

    Try this http://bytes.com/topic/c-sharp/answers/459904-programatically-getting-my-assemblyversion
  19. Replies
    2
    Views
    693

    Re: Endianness problem

    Just change the loop


    for (int x = elements - 1; x >= 0; --x)
  20. Replies
    9
    Views
    1,286

    Re: linker error caused by class - help needed

    First of all, it would be helpful to see the exact error message.
    Second, you implemented both of your constructors, didn't you?
  21. Re: Visual c# - same code four times, one time is enough?

    Wild guess #3. ))

    If your button handlers "execute different things", the fact you have variables with the same types and names in each of them is not a sufficient reason to make these variables...
  22. Replies
    2
    Views
    695

    Re: Retrieving Java Windows

    Have you tried to look for this window using some tool, for example spy++?
  23. Re: Does C++ Microsoft Visual Studio 2008 have step into

    F11 key will solve your problem.
  24. Replies
    4
    Views
    916

    Re: Visual Studio 2005 Compiler Issue

    I encountered this problem before when I compiled my VC 6.0 project in VS 2005. The problem is, as Paul McKenzie said, starting from vs2005 std::vector<T>::iterator and T * are not the same. So you...
  25. Re: Catching ACCESS_VIOLAION in Vectored Exception Handler

    Hmm. In my program the handler gets called.


    #define _WIN32_WINNT 0x0501

    #include <windows.h>

    LONG CALLBACK myExceptionHandler(PEXCEPTION_POINTERS ExceptionInfo)
    {
    return...
Results 1 to 25 of 144
Page 1 of 6 1 2 3 4





Click Here to Expand Forum to Full Width

Featured