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

Search:

Type: Posts; User: Igor Vartanov

Page 1 of 80 1 2 3 4

Search: Search took 0.38 seconds.

  1. Replies
    8
    Views
    222

    Re: How to break for loop

    To re-design anything you have to clearly understand the root cause of your present issue. You say you understand you need to handle WM_CHAR message. The problem with the message, or any other...
  2. Replies
    14
    Views
    544

    Re: Passing a struct to and from a DLL

    Mike, I don't think that just splitting a code base to several binary modules could help to organize the code better. I think that introducing an additional interface, or several ones, without a real...
  3. Re: Binary representation of the character value

    The very first step, always and unconditionally, is clear and consistent explanation of the requirements.

    The very first step to clear and consistent explanation is identifying points that may...
  4. Replies
    4
    Views
    285

    Re: Learning MySQL by C++

    First thing you have to understand is that MySQL is a product, but not a language. The language is SQL, or better say MySQL's dialect of standard SQL.

    There are tools supplied as a part of MySQL,...
  5. Replies
    14
    Views
    544

    Re: Passing a struct to and from a DLL

    Well, in case you mean Windows hooks, doesn't it fit with "different EXE modules are to access the same piece of code"? :)
  6. Replies
    14
    Views
    544

    Re: Passing a struct to and from a DLL

    The limitation is: crafting DLL requires quite a discipline and clear understanding of why you do what you do.

    Why would you need your code be a DLL, but not a part of EXE? There may be the only...
  7. Replies
    8
    Views
    463

    Re: Using Slider Control in client area

    Any control is just a window. Any window can be made be a child of another window under condition you do it right. For example, a dialog can be embedded into another dialog or overlapped window. So...
  8. Re: InitiateShutdown fails for a remote computer with RPC_S_SERVER_UNAVAILABLE error

    My FAR Manager plugin shows shutdown.exe imports used from ntdll.dll:


    DbgPrint
    NtInitiatePowerAction
    NtPowerInformation
    RtlAdjustPrivilege
    RtlNtStatusToDosError
  9. Re: InitiateShutdown fails for a remote computer with RPC_S_SERVER_UNAVAILABLE error

    A little input:


    // 110.cpp

    #include <windows.h>
    #include <stdio.h>

    #pragma comment(lib, "advapi32")
  10. Re: InitiateShutdown fails for a remote computer with RPC_S_SERVER_UNAVAILABLE error

    How RPC Works
    I believe most of the times what you need to know about RPC authentication is that it exists and works properly. Distributed COM builds on top of RPC, and I never had an issue of...
  11. Re: InitiateShutdown fails for a remote computer with RPC_S_SERVER_UNAVAILABLE error

    Well, natural thing to ask about is if the remote server version is high enough to support the InitiateShutdown API. Did you try that with different server platforms? My guess is W2008 Server is...
  12. Re: InitiateShutdown fails for a remote computer with RPC_S_SERVER_UNAVAILABLE error

    First thing I would try was dropping install updates flag. Second would be specifying some specific reason code instead of the zero.
  13. Re: How to link a static library struct to a user app ?

    Mike, structure is just a data type declaration. Header thing. It just cannot have anything to do with static library, as library is able to contain definitions (function bodies or global variables)...
  14. Replies
    26
    Views
    1,077

    Re: LoadImage bitmap runtime

    Then LoadImage is not your problem. As I said before. :)
  15. Replies
    26
    Views
    1,077

    Re: LoadImage bitmap runtime

    Look, your explanation explains really not a thing. It doesn't matter for issue resolution what you want in general, or where you get the path from. The question was what exactly does not work. And...
  16. Replies
    26
    Views
    1,077

    Re: LoadImage bitmap runtime

    Well, you never say what exactly does not work in your code. Did you test hbit for being not NULL after the call? In case it is not, the LoadImage() call works fine, and your problem is somewhere...
  17. Re: How to close the main application by clicking on the console?

    The said dtors get called only when app window is closed. Closing console seems merely killing the process.
  18. Re: How to close the main application by clicking on the console?

    I've built your TestConsole2 project with minor changes (removed unnecessary d3d.h inclusions and assigned valid string to m_pszWindowTitle) and found it working in my Win7 64-bit just fine....
  19. Re: How to close the main application by clicking on the console?

    I wonder if it's so hard to spend a couple of dozen minutes to write a simplistic app to confirm or disprove your thoughts?

    The sample goes. The app successfully gets closed either by console...
  20. Replies
    11
    Views
    1,206

    Re: Sending a string to a window

    Sending/posting strings across thread boundaries always looked to me like a bad idea, unless you are to deal with standard/common windows controls. There always is (well, most of the times is) some...
  21. Re: Linker Error While migrating from VS 6 to VS 13

    It looks like you're trying to link with the dll built by some older version of VC and STL. The issue is the exported prototypes requiring the same version of STL the dll was built with.

    The...
  22. Replies
    22
    Views
    25,326

    Re: CString class in non-MFC static library

    You may use CString inside your library, but you must not let it in or out of the one. Use LPCTSTR in function prototypes and take care of underlaying CString lifecycle.
  23. Re: how to dynamically set the CRecordset Fieldtype ?

    #include <windows.h>
    #include <atltime.h>


    int main()
    {
    CTime a = CTime::GetCurrentTime();
    printf("%s\n", a.Format("%#c"));
    printf("%s\n", a.Format("%a %d, %b %Y %H:%M:%S"));
    }
  24. Re: how to dynamically set the CRecordset Fieldtype ?

    Database stores timestamp format in its internal binary (not a string) representation never depending on location/culture format. Therefore, you need to obtain it in the same culture-independent...
  25. Re: program entry point? no int main () or int winmain () ?

    In case program makes use of some framework, the main function may be in implemented by the framework code. Depending on the form of distribution, the framework code may be not provided to end user.
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a Codeguru.com survey!


HTML5 Development Center