Fax Routing Extension - programming problem

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Alan Wilcox (awilcoxNOSPAM_at_chilitech.net)
Date: 01/27/05


Date: Thu, 27 Jan 2005 10:39:12 -0500

Hello,

I need to write a fax-routing extension DLL, so my game plan was to build up
the "SampleRoute" code from the Platform SDK using Visual Studio 7 on Windows
2003 Server. From there I should have a handle on how to deal with fax DLL's.
That was the idea at least.

The SampleRoute project just won't work. Here's what's happened so far ...

Only changes I made in the FaxSiren.cpp file was 1. turn on DBG to see the debug
messages, 2. change the entry-point function to "BOOL APIENTRY DllMain(etc)",
and 3. add lots of extra debug msgs.

1. Compiles, links OK to create c:\windows\system32\SampleRoute.dll
2. Shut down fxssvc.exe fax service
3. Run DbMon (which just sits there waiting for the debug messages).
4. In sys dir: run regsvr32 SampleRoute.dll and see dbg msgs from DllMain() and
from DllRegisterServer().
5. RegEdit: the routing extensions installed correctly per DllRegisterServer().
6. Run DumpBin SampleRoute.dll /EXPORTS and see all FaxSiren.def exports OK.
7. Restart fxssvc.exe

At this point, I would expect DbMon to see msgs from FaxRouteInitialize():
NOTHING. It apparently didn't get called by fax service.

When I run the GUI fax admin tools, I don't see anything related to the new
routing extension.

If I send a fax in, nothing happens. This DLL isn't doing anything.

At this point, all I can figure is that the fax server _should_ be calling my
DLL to initialize it and run.

Anybody see what I'm missing here?

Many thanks!
Alan



Relevant Pages

  • How to pgm with Fax Routing Extension
    ... I need to write a fax-routing extension DLL, so my game plan was to build up ... add lots of extra debug msgs. ... This DLL isn't doing anything. ...
    (comp.programming)
  • How to pgm with Fax Routing Extension
    ... I need to write a fax-routing extension DLL, so my game plan was to build up ... add lots of extra debug msgs. ... This DLL isn't doing anything. ...
    (microsoft.public.win2000.fax)
  • Re: Error while running HTTP handler project
    ... I had already registered the extension *.imgw. ... I agree with what you are saying about presense of DLL fine in BIN ... the IIS web site must be configured to hand off ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: multimodule assemblies and IJW/C++ Interop
    ... use .netmodule only for VB and C# project and link all you C++ ... > DLL loading problem" in the ... > When I try to load this extension, ... >> assemblies where some of the modules use IJW and have native exports? ...
    (microsoft.public.dotnet.languages.vc)