How to pgm with Fax Routing Extension

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


Date: Wed, 26 Jan 2005 10:57:16 -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. From there I
should have a handle on how to deal with fax DLL's. That was the idea at least.

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

  • Fax Routing Extension - programming problem
    ... I need to write a fax-routing extension DLL, so my game plan was to build up ... The SampleRoute project just won't work. ... add lots of extra debug msgs. ... This DLL isn't doing anything. ...
    (microsoft.public.win32.programmer.tapi)
  • 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: Using python23 to develop an extension for an application that has python22 embedded
    ... > May be it comes down to the approach taken to debug an extension. ... > extension that are not dependent on Python) before attempting to test ... But are you are developing both some Python code and an extension DLL ...
    (comp.lang.python)
  • Re: How to connect to children process
    ... Main problem is amount of manual operations required per debug cycle. ... connection to DLL with debugger takes sensible amount of time and manual ... Is the main problem that the debugger keeps symbols file loaded ... AFAIK that's how VS2003 debugger works, but WinDbg should usually ...
    (microsoft.public.vsnet.debugging)
  • Re: running a service/driver/application upon startup
    ... Would it be possible for you to drop a debug services.exe and debug nk.exe ... > I ran dumpbin/exports on the finger dll and saw the required function ... >> theories as to why it's not getting loaded but just doing 'services load ...
    (microsoft.public.windowsce.embedded)