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.19 seconds.

  1. Re: CDHtmlDialog: Changing HTML File Dynamically

    void CHtmlDlgTestDlg::Test()
    {
    AfxMessageBox(TEXT("Test"));

    CComPtr<IHTMLDocument2> pDoc2;
    HRESULT hr = GetDHtmlDocument(&pDoc2);
    if (SUCCEEDED(hr))
    {
    // change...
  2. Re: Adding Splitter Windows Makes Mainframe Unable to Get Current Document

    CDocument* CFrameWnd::GetActiveDocument()
    {
    ASSERT_VALID(this);
    CView* pView = GetActiveView();
    if (pView != NULL)
    return pView->GetDocument();
    return NULL;
    }

    Your...
  3. Re: Need help on replacement of NtQuerySystemInformation on Win x64

    And what is the problem with NtQuerySystemInformation?
  4. Replies
    4
    Views
    254

    Re: [RESOLVED] _environ

    for (char** the_environ = _environ; *the_environ; the_environ++) {
    string estring = *the_environ;
    // Do some other stuff
    }
  5. Replies
    8
    Views
    227

    Re: Array of CString size checking

    Size of a pointer is a constant value in particular OS. Besides, pointer and array are different data types.
  6. Replies
    5
    Views
    194

    Re: CRegKey Create() not working

    In case you run 32-bit application in 64-bit Windows, the 32-bit registry hive, which is WoW6432Node, appears to be in use.
  7. Replies
    8
    Views
    227

    Re: Array of CString size checking

    #define COUNTOF(x) (sizeof(x)/sizeof(x[0]))

    size_t iSiz = COUNTOF(m_cstrArray);
  8. Replies
    6
    Views
    197

    Re: Reading COM struct from IDispatch

    I've built another sample, now with winforms app. Everything seems working fine, and IOleObject is retrievable alright, at least from button object.
  9. Replies
    6
    Views
    197

    Re: Reading COM struct from IDispatch

    Yeah, I should be more specific about interfaces. But once some interface is registered in the system (along with its coclass) you do know "what is inside" as the type library exposes the details....
  10. Replies
    6
    Views
    197

    Re: Reading COM struct from IDispatch

    I'm not sure how I could help, as I know nothing about what you do and how you do what you do. I tried to assemble some sample that demonstrates how true COM object and native Object in C# differ...
  11. Replies
    6
    Views
    197

    Re: Reading COM struct from IDispatch

    First thing you have to learn about COM is: COM is not C++. COM world knows nothing about C++ structures. COM knows nothing about any language specific constructs. COM knows only about COM.

    The...
  12. Re: Are there any third-party plugin manager for Visual Studio Express 2010?

    There is no support for add-ins there in VS Express. And this is the exact reason why any third-party software cannot integrate with VS Express. Including third-party add-in managers I guess. :D
    ...
  13. Re: New to C++ and I need some help. (Not new to languages)

    Sorry for intervention, but this your suggestion is nothing more than urging to develop a particular habit. It's no better than other habit of never putting semicolon right after condition part. Or...
  14. Re: This application requested the runtime to terminate it in an unusual way

    MS has previously admitted a few similar issues with msvcrt. Try this and this article.
  15. Re: This application requested the runtime to terminate it in an unusual way

    This may happen when you have some issue, e.g. an exception fired, during initialization of global objects. In this case, as you may understand, the dialog appears when you start your app. Is this...
  16. Replies
    7
    Views
    282

    Re: javascript effect in vc++

    Well, seems you give up too easy. There's nothing hard in doing this using C++. Start with a single thumbnail and understand the principle. Later you can expand your solution.
  17. Re: accessing long pointer safearray structure in dll

    You may be, but you're not going to have any certain answer until you provide us with a sufficient information I asked you about. Why is it so important to provide a concise and compilable project? ...
  18. Replies
    30
    Views
    924

    Re: [RESOLVED] Displaying a jpeg image

    You definitely have to understand the difference between programming language C++ and product Visual C++. As well, you have to learn to tell product VC from technologies like Win32 API, COM, ODBC,...
  19. Re: accessing long pointer safearray structure in dll

    First of all, you have to explain your solution architecture clearly and unambiguously. I have to admit that I totally lost in your frontends, backends, showing errors and executing in backgrounds. ...
  20. Replies
    30
    Views
    924

    Re: [RESOLVED] Displaying a jpeg image

    You may be interested in whatever you want, but you cannot ignore programming basics. If you want to create Windows programs, you need to learn basics of programming Windows prior to getting any...
  21. Replies
    30
    Views
    924

    Re: Displaying a jpeg image

    Load() is a function. Now you tell me how to find the return value of a function. If you don't know that, it is time for you to get back to school bench and learn C++ basics.
  22. Replies
    30
    Views
    924

    Re: Displaying a jpeg image

    Are you sure the file exists and really is JPEG?



    SetScrollSizes is a member of CScrollView, so your view class must inherit to the class. You must not blindly copy-paste just a few lines...
  23. Replies
    30
    Views
    924

    Re: Displaying a jpeg image

    The oldi-goldi way is OleLoadPicture, but it is only aware of BMP and JPEG formats.
    Sample: 32469

    ATL::CImage class Victor mentioned is much more universal, but not available in VC Express...
  24. Replies
    5
    Views
    346

    Re: File Dialog Issues

    My test doesn't show any issue.
    32461
  25. Replies
    7
    Views
    401

    Re: 2 programs, 1 dll sharing variable.

    sample: 32449

    32447
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center