• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk DWF Viewer

    Reply
    Active Member
    pratap.thorat
    Posts: 7
    Registered: ‎09-02-2010

    DWFToolkit-7.6:PublishMetadata example problem.

    1834 Views, 1 Replies
    09-02-2010 05:53 AM

    Hello,

     

            I am using DWFToolkit-7.6 to study , how to create DWF files.

            I am using "PublishMetadata" example in vc++ , given in DWFToolkit-7.6.

            I am able to build it successfully, but when I run the code, it give me error at following lines of code.

           

          pModel->publish( rPublisher ) in

         DWFModel* createModel( DWFPublisher& rPublisher, DWFContent* pContent, bool

     

          bCompressAll ) function as "Unhandled exception at 0x0040bf70 in PublishMetadata.exe: 0xC0000005: Access violation reading location 0x00000000."

     

          Error image is attached with the post.

     

          Can anyone provide me the solution to solve this error or can suggest the good example to study

          the DWF creation from examples given with DWFToolKit 7.6

     

    Thanks,

    Pratap.

    Please use plain text.
    Employee
    Posts: 136
    Registered: ‎06-07-2009

    Re: DWFToolkit-7.6:PublishMetadata example problem.

    09-08-2010 01:35 AM in reply to: pratap.thorat

    Thank you for your questions.

     

    The sample code runs all right on my machine, so could you please send more information for me to research.

    1. Does only the “PublishMetadata” have error when running? Have you test other DWFToolkit samples?
    2. What the VS version and OS version you test?
    3. Could you please send the call stack (end at the error code: pModel->publish(rPublisher))? 

    Silvia

    ADR/DWF Customer Support



    Silvia Cao
    SW Engineer
    PSEB-GE- ACRD PSEB
    Autodesk, Inc.
    Please use plain text.