none
XPS Filter DLL Loads Then Unloads RRS feed

  • Question

  • Hello:

    I am writing a XPS printer driver.  During the process of loading the pipeline filter DLL into the printfilterpipeline EXE the "SplPipeline::ConfigLoader::LoadFilterCreateSequence" routine is called.  It loads the filter DLL, but then quickly unloads it and throws an exception.  I set breakpoints in DllGetClassObject and DllCanUnloadNow but nothing gets executed (I also have trace messages in those functions)

    According to the following MSDN page those functions should be called: http://msdn.microsoft.com/en-us/library/windows/hardware/ff564297(v=vs.85).aspx

    The exception occurs regardless of wheter the port is a file or not.

    Is there something missing (for example a security token?) in the DLL?  I am starting out with just one filter to remove complexity.

    Thanks!


    Dale Ziebarth HID Global / Fargo

    Monday, December 15, 2014 9:07 PM

Answers

  • The filter DLL has a dependancy on another DLL which was not found.

    Dale Ziebarth HID Global / Fargo

    • Marked as answer by dziebarth Friday, December 19, 2014 2:38 PM
    Friday, December 19, 2014 2:38 PM