« Previous Next »

Answered Thread: Error calling a ATL function from ASP page

Last post 10-23-2008 10:17 PM by Andrew Zhu - MSFT. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 10-17-2008, 2:18 AM

    • maxblog
    • Not Ranked
    • Joined on 10-17-2008, 6:02 AM
    • Posts 2

    Error calling a ATL function from ASP page

    Hi All

    I made an MFC app and then added an atl object to it and expose an interface. I then register the tlb file and call its functions from an ASP page.

    I use Server,CreateObject to create the my C++ object which is fine and it gets created.

    But when I call one of its function I get this error messagbox :

    The instruction at "0x--------" referenced memory at "0x0------", the memory could ... 'Memory Cannot be read'

    Could you please help me and tell me what is wrong?????

    Thanks in advance

  • 10-23-2008, 10:17 PM In reply to

    Answered Re: Error calling a ATL function from ASP page

    Could you call your MFC app by WinForm application or vbs script?

     

    According to your provided error message, this should not be a

    ASP classic page caused problem. Please debug your MFC app and make

    Sure everything runs fine before calling it from an ASP page.

     

    Thanks.

     

    Sincerely
    Microsoft Online Community Support
    Andrew Zhu - MSFT


    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
Page 1 of 1 (2 items)
Microsoft Communities