Fax Routing Extension - programming problem
From: Alan Wilcox (awilcoxNOSPAM_at_chilitech.net)
Date: 01/27/05
- Next message: Andreas Marschall [MVP TAPI]: "Re: Cannot open serial port."
- Previous message: Grant Schenck: "Re: Cannot open serial port."
- Next in thread: Andreas Marschall [MVP TAPI]: "Re: Fax Routing Extension - programming problem"
- Reply: Andreas Marschall [MVP TAPI]: "Re: Fax Routing Extension - programming problem"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Andreas Marschall [MVP TAPI]: "Re: Cannot open serial port."
- Previous message: Grant Schenck: "Re: Cannot open serial port."
- Next in thread: Andreas Marschall [MVP TAPI]: "Re: Fax Routing Extension - programming problem"
- Reply: Andreas Marschall [MVP TAPI]: "Re: Fax Routing Extension - programming problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|