Click here to Skip to main content
15,920,217 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: GDI+ Pin
earl10-Jul-06 4:56
earl10-Jul-06 4:56 
GeneralRe: GDI+ Pin
bob1697210-Jul-06 6:48
bob1697210-Jul-06 6:48 
GeneralRe: GDI+ Pin
earl10-Jul-06 6:58
earl10-Jul-06 6:58 
GeneralRe: GDI+ Pin
bob1697210-Jul-06 10:52
bob1697210-Jul-06 10:52 
Questionerror in m_DateStart.SetFormat("MM/dd/yyy"); Pin
Tara149-Jul-06 4:18
Tara149-Jul-06 4:18 
AnswerRe: error in m_DateStart.SetFormat("MM/dd/yyy"); Pin
ThatsAlok9-Jul-06 20:33
ThatsAlok9-Jul-06 20:33 
GeneralRe: error in m_DateStart.SetFormat("MM/dd/yyy"); [modified] Pin
Tara149-Jul-06 21:16
Tara149-Jul-06 21:16 
QuestionFAX management programatically Pin
Rilhas9-Jul-06 3:11
Rilhas9-Jul-06 3:11 
Hi,

I'm working with Microsoft WinFax in C++ (Win32) under Visual Studio 2005 in XP Pro, which is very easy to use. I already successfully connected to the FAX server with "FaxConnectFaxServer", sent a PDF document with "FaxSendDocument", and even editted and added a cover page. I checked all with the FAX console, which allowed me to see the FAX pages as well as all FAX'es pending. This all took me about 30 minutes, so I was very happy with it.

Then I began trying to evaluate how I could extract information about queued outbound and also inbound FAX information. The function to use, of course, is "FaxEnumJobs", which works fine. However, the amount of detail it returns seems to not be adequate for my purposes.

At this point I want to get access to the FAX pages while they are queued or after being received. This is where my problem begins.

The "FaxGetPageData" should return information only about the first page, excluding cover, which is not sufficient for me. I state "should" because, in fact, it returns an empty buffer for all the FAX'es I have queued (BufferSize is zero, but Buffer points to "LMEM").

So I tried relating the "JobID" I get from "FaxEnumJobs" to the names of the files on disk, to access them directly. I looked into "C:\Documents and Settings\All Users\Application Data\Microsoft\Windows NT\MSFax\Queue", and all my queued FAX files are there. Their names, however, have no obvious relation to the "JobID", so I don't have an easy way to access the files directly. Anyway, due to their ugliness, I would always consider these solutions extreme.

Does anyone have any idea on how to get queued complete FAX page data? I don't really need to interpret TIF files, I will just send them over through the WEB server for the client users to open in their browsers. The cleaner solutions are prefered! Smile | :)

Rilhas
QuestionADO.NET in MFC 6 Pin
Shai`tan9-Jul-06 2:42
Shai`tan9-Jul-06 2:42 
AnswerRe: ADO.NET in MFC 6 Pin
Nemanja Trifunovic9-Jul-06 3:12
Nemanja Trifunovic9-Jul-06 3:12 
QuestionCTabCtrl with centre justified tabs. Pin
Yokeldj9-Jul-06 1:41
Yokeldj9-Jul-06 1:41 
QuestionsharingViolation error Pin
paperke679-Jul-06 1:22
paperke679-Jul-06 1:22 
AnswerRe: sharingViolation error [modified] Pin
bob169729-Jul-06 9:15
bob169729-Jul-06 9:15 
GeneralRe: sharingViolation error Pin
earl10-Jul-06 5:02
earl10-Jul-06 5:02 
GeneralRe: sharingViolation error Pin
bob1697210-Jul-06 10:52
bob1697210-Jul-06 10:52 
GeneralRe: sharingViolation error Pin
earl10-Jul-06 11:13
earl10-Jul-06 11:13 
QuestionCRichEdit right click Pin
YaronNir8-Jul-06 22:48
YaronNir8-Jul-06 22:48 
QuestionCreating a custom control? Pin
Lord Kixdemp8-Jul-06 16:45
Lord Kixdemp8-Jul-06 16:45 
AnswerRe: Creating a custom control? Pin
Sarath C9-Jul-06 0:50
Sarath C9-Jul-06 0:50 
GeneralRe: Creating a custom control? [modified] Pin
Lord Kixdemp9-Jul-06 14:12
Lord Kixdemp9-Jul-06 14:12 
QuestionHelp calling and using a functions in visual c++ 6 Pin
method0078-Jul-06 12:35
method0078-Jul-06 12:35 
QuestionProblem with 2DGraph of Nikolai Teofilov Pin
ensger8-Jul-06 8:15
ensger8-Jul-06 8:15 
AnswerRe: Problem with 2DGraph of Nikolai Teofilov Pin
Jun Du8-Jul-06 9:46
Jun Du8-Jul-06 9:46 
Questionhow to detect internet connection availability ? Pin
tns_ranjith8-Jul-06 4:20
tns_ranjith8-Jul-06 4:20 
AnswerRe: how to detect internet connection availability ? Pin
includeh108-Jul-06 6:16
includeh108-Jul-06 6:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.