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

Search:

Type: Posts; User: lightshield

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Re: How can I capture images from the full screen Direct3D application?

    Thanks for your reply, but this is not for my demand.
  2. Re: How can I capture images from the full screen Direct3D application?

    I''d searched on Google and I found some snippet, but I couldn't understand precise sequence.
  3. How can I capture images from the full screen Direct3D application?

    I want to capture images from full screen Direct3D applications(e.g Games) by my program.
    How to do this ?
  4. How can I retrieve the monitor's commercial name on the multi-monitor environment ?

    I can retrieve multi-monitor informations by API, but MONITORINFOEX::szDevice is not the commercial name of the monitor that directed by MONITORINFOEX.

    How can I retrieve the above informations ?
  5. Re: VS2010&OLE32.dll access violation problem with COM

    I've fixed this problem !
    Seems this error had not came from CComQIPtr and COM。 MFC's some points might be causes... fmmmm
  6. Re: CPaneDialog derived class and MDI tabbed document

    I'd resolved by using OnWindowPosChanged event handler on CChildFrame.
  7. CPaneDialog derived class and MDI tabbed document

    I using CPaneDialog-derived class(called CMyPane) and MDI-tabbed document style on MFC.
    CMyPane will be docked to CChildFrame using DockPane method of CChildFrame.

    CMyPane will be docked...
  8. Re: VS2010&OLE32.dll access violation problem with COM

    I've saw no difference by this method.
  9. Re: VS2010&OLE32.dll access violation problem with COM

    I have to unregister my COM component for the special reason that related to the running state of my application( running or shutting down. e.g. DirectShow filters). So I handling the registration of...
  10. Re: VS2010&OLE32.dll access violation problem with COM

    No, it's a special case. I'll use COM smart pointers mainly. it's just a test case.
    I found the problem in implementations in basic MDI-frameworks( CMainframe, CChildFrame, CMyApp, CMyDoc, CMyView)....
  11. Re: VS2010&OLE32.dll access violation problem with COM

    There are users who think like that some software are not uninstalled after uninstallation if some COM components don't unregistered. So I do these things in my program.

    And sorry for my poor...
  12. Re: VS2010&OLE32.dll access violation problem with COM

    I mean the nullification as the uninstallation of software modules.
    I've known about the nullification of pointers of COM interfaces in terms of 'SafeRelease'.

    By the way, therefor I've deleted...
  13. Re: VS2010&OLE32.dll access violation problem with COM

    Yes, the problem is in my code exactly, but access violation exception message pumped up in the ntdll.dll.
  14. Re: VS2010&OLE32.dll access violation problem with COM

    Thanks Arjay
    But if I didn't run this code at least once this issue will occurs.



    CoInitialize(NULL);
    {
    ISkype *pSkype(NULL);

    // do something
  15. Re: VS2010&OLE32.dll access violation problem with COM

    I've created COM smart pointers only in the main thread explicitly and above worker thread just using the skype's COM interface.


    void operator()(void)
    {...
  16. Re: VS2010&OLE32.dll access violation problem with COM

    skype4COM is a COM library.
    I didn't use LoadLibrary so I didn't use delayed load.

    I've using '#import' pragma to import Skype's class information like below in the cpp file that implementing...
  17. Re: VS2010&OLE32.dll access violation problem with COM

    My worker thread routine is as below.



    class Worker{
    Worker(){}
    void operator()(void)
    {
    CoInitialize(NULL);
  18. Re: VS2010&OLE32.dll access violation problem with COM

    The above code is just the initializing part. CoUninitialize is used in my program.
  19. Re: VS2010&OLE32.dll access violation problem with COM

    I've known the delay load of DLL but have not known the delay load around COM and CComPtr(or CComQIPtr). What is that ?
    I haven't using delay loaded DLL(s).

    Additionally, I've using Skype4COM.dll...
  20. Re: VS2010&OLE32.dll access violation problem with COM

    Thanks.
    I'm using many CComQIPtr(s) and released all of them before CoUninitialize and checked timing of release, therefor I couldn't resolve this issue. Why?
  21. Re: VS2010&OLE32.dll access violation problem with COM

    Do you mean the 'smart pointer' as COM's smart pointers ?
    How is the boost::shared_ptr ?
  22. Re: VS2010&OLE32.dll access violation problem with COM

    But, I hadn't saw this problem on VS2008.
  23. Access Violation in the _delayLoadHelper2 function in the mfc100ud.dll

    I've screwed up with an access violation in the _delayLoadHelper2 function when I closing the application.

    My application using COM and CoUninitialize function seems a cause of this problem.
    What...
  24. VS2010&OLE32.dll access violation problem with COM

    My program using COM and some DLLs and this program invokes access violation exception when I close the application. I've grabbing information below


    - dli {cb=36 pidd=0x5caf5a1c ppfn=0x5cb175e4...
  25. Re: [MFC MDI] How to activate a view programmatically and safely ?

    I've solved this problem by enumerating documents from document templates and proceed desired behavior.
    It's a safe way to synchronize between each view.



    GCDEF, thank you for this log...
Results 1 to 25 of 38
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured