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

Search:

Type: Posts; User: caezar

Search: Search took 0.03 seconds.

  1. Re: What does an interface not allowed to have any implementation?

    Thanks a lot. I already had 2019 installed and I thought the core was just meant to be for linux, other OSs, I was not sure if the core projects should be used for Windows platforms and why. So they...
  2. Re: What does an interface not allowed to have any implementation?

    I am new to C# and don't really understand what you mean by learning the .Net Core and not the .NET framework. Are they really different in terms of routine things? Also I learned that with new .NET...
  3. What does an interface not allowed to have any implementation?

    Sometimes it makes sense for interface type class to be super class instead for example the Subject class in observer pattern where it has register, unregister and notify methods. Yet in C#, this...
  4. Re: SendInput() function 'INPUT' : undeclared identifier

    This is a non-issue with new compilers like VS2015 where SendInput() readily compiles but for VC6, the #include didn't work. I had to add the flag /D _WIN32_WINNT=0x401 to project settings at C/C++...
  5. Replies
    0
    Views
    1,487

    Keeping track of a temporary window

    I bring up a window which stays up for 3 seconds, after which it automatically closes. The mechanism for this is that I have a worker thread which sends WM_CLOSE message to this window after 3...
  6. Replies
    15
    Views
    11,521

    Re: Problem Reading/Writing Registry in Windows 7?

    Thanks, that did the trick!
  7. Replies
    15
    Views
    11,521

    Re: Problem Reading/Writing Registry in Windows 7?

    I have also similar situation 32 bit app on 32 bit Windows 7. When I open registery using CRegKey::Open() function, I get error code 2 (=file not found). I can't make sense why I get this error. I...
  8. Re: Changing mode MM_ISOTROPIC causes control to resize

    But I haven't changed the control size. Why should its size change?
  9. Changing mode MM_ISOTROPIC causes control to resize

    Now if I try to draw a simple rectangle which occupies the whole control, I get that as expected.


    BOOL CZoomDemoDlg::OnInitDialog()
    {
    CDialogEx::OnInitDialog();

    // .... typical default...
  10. Replies
    6
    Views
    3,016

    Re: How to share CCriticalSection between modules

    I thought about that too but doesn't a class initialize itself in a constructor? When I tried to initialize it, it was to be what the constructor requires.

    Also I don't know what really is the use...
  11. Replies
    6
    Views
    3,016

    Re: How to share CCriticalSection between modules

    It was a typo, it should have been %d and that does read the correct value.
  12. Replies
    6
    Views
    3,016

    How to share CCriticalSection between modules

    I am in a situation where I need to synchronize two threads in two different dll modules synchronize around the same CCriticalSection object. I can define the CCriticalSection in one module but how...
Results 1 to 12 of 12


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)