How to pgm with Fax Routing Extension
From: Alan Wilcox (awilcoxNOSPAM_at_chilitech.net)
Date: 01/26/05
- Next message: Dave Neary: "Re: What is UML?"
- Previous message: Michael Wojcik: "Re: Programming: Motivations?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Dave Neary: "Re: What is UML?"
- Previous message: Michael Wojcik: "Re: Programming: Motivations?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|