CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 2 FirstFirst 12
Results 16 to 22 of 22
  1. #16
    Join Date
    Apr 1999
    Posts
    27,449

    Re: Help request: QuickTime ActiveX Control Heap Corruption the second time I open a

    Quote Originally Posted by emarusso View Post
    Nothing changes, the error's still there.
    You are specifying a constant, and now it doesn't work? Before you said it did work when you specify a constant.

    Regards,

    Paul McKenzie

  2. #17
    Join Date
    Apr 1999
    Posts
    27,449

    Re: Help request: QuickTime ActiveX Control Heap Corruption the second time I open a

    Quote Originally Posted by emarusso View Post
    No, the prototype is

    void put_FileName(LPCTSTR newValue).

    As written in QTControl.h, that I attached.
    You didn't attach code. You had a link to a site that my browser policies refuses to go to.

    Actually attach the code, don't link to another site.

    Regards,

    Paul McKenzie

  3. #18
    2kaud's Avatar
    2kaud is offline Super Moderator Power Poster
    Join Date
    Dec 2012
    Location
    England
    Posts
    7,822

    Re: Help request: QuickTime ActiveX Control Heap Corruption the second time I open a

    The zip file contains the code from the link.

    qt.zip
    All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!

    C++23 Compiler: Microsoft VS2022 (17.6.5)

  4. #19
    Join Date
    May 2013
    Posts
    11

    Re: Help request: QuickTime ActiveX Control Heap Corruption the second time I open a

    Quote Originally Posted by 2kaud View Post
    Where do you hard code the URL? I suggested a test of a hardcoded URL in my post #10 but you replied that this still causes the problem.
    When I wrote hardcoded I meant that I wrote it in the visual studio resource editor, in the property window.

    Name:  Immagine.png
Views: 747
Size:  25.0 KB

    What you said was to hardcode the string in the function call.

  5. #20
    Join Date
    May 2013
    Posts
    11

    Re: Help request: QuickTime ActiveX Control Heap Corruption the second time I open a

    thanks for re-attaching it, I didn't know how to attach it to the thread.

  6. #21
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Help request: QuickTime ActiveX Control Heap Corruption the second time I open a

    Quote Originally Posted by emarusso View Post
    thanks for re-attaching it, I didn't know how to attach it to the thread.
    Then read the Announcement: Before you post....
    BTW, is your MFC project a UNICODE or ANSI one? And the same question - about QuickTime ActiveX Control.
    Victor Nijegorodov

  7. #22
    Join Date
    May 2013
    Posts
    11

    Re: Help request: QuickTime ActiveX Control Heap Corruption the second time I open a

    My sample is UNICODE, I tried to compile it multi-byte but the problem's still there.
    I don't know wether the ActiveX is UNICODE, and I don't know how to check it.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured