Click here to Skip to main content
15,903,388 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CD ROM burning libraries Pin
Scozturk9-Sep-03 8:06
professionalScozturk9-Sep-03 8:06 
QuestionHow to debug DB2-C Stored procedures sitting on Z/Os from VC++ Editor Pin
Sivasankar A9-Sep-03 0:00
Sivasankar A9-Sep-03 0:00 
AnswerRe: How to debug DB2-C Stored procedures sitting on Z/Os from VC++ Editor Pin
Mike Dimmick9-Sep-03 2:03
Mike Dimmick9-Sep-03 2:03 
GeneralRun-Time Check Failure #2 - Stack around the variable name 'pbuff' was corrupted. Pin
si_698-Sep-03 23:56
si_698-Sep-03 23:56 
GeneralRe: Run-Time Check Failure #2 - Stack around the variable name 'pbuff' was corrupted. Pin
jhwurmbach9-Sep-03 0:24
jhwurmbach9-Sep-03 0:24 
GeneralRe: Run-Time Check Failure #2 - Stack around the variable name 'pbuff' was corrupted. Pin
Ted Ferenc9-Sep-03 0:43
Ted Ferenc9-Sep-03 0:43 
GeneralRe: Run-Time Check Failure #2 - Stack around the variable name 'pbuff' was corrupted. Pin
Steve Thresher9-Sep-03 6:10
Steve Thresher9-Sep-03 6:10 
Generalstrange IDM_PRINT Pin
Member 4509908-Sep-03 22:31
Member 4509908-Sep-03 22:31 
hi,
i am facing strange problem with IDM_PRINT.
i am using the brochure machine sample of microsoft and my own custom print template.it is working fine with the IDM_PRINTPREVIEW and i am able to see the desired result.when i try to use IDM_PRINT to print it directly,it justs does nothing.neither it invokes the print dialog nor prints .if i pass the printtemplate path as null the print dilaog comes up and prints.this seems to be very strange .would you please suggest me how you dealt with this problem.
thanks a lot
GVS
==============================================================================
CComPtr<iolecontainer> spContainer;
CComPtr<iserviceprovider> spSP;
CComPtr<iwebbrowser2> spWB;
CComPtr<idispatch> spDisp;
CComPtr<ihtmldocument2> spDoc;
CComPtr<iolecommandtarget> spCT;
CComVariant vPTPath = "res://BrochureMachine.dll/PT.htm";

m_spClientSite->GetContainer(&spContainer);
spContainer->QueryInterface(IID_IServiceProvider, (void**)&spSP);
spSP->QueryService(SID_SWebBrowserApp, IID_IWebBrowser, (void**)spWB);
spWB->get_Document(&spDisp);
spDisp->QueryInterface(IID_IHTMLDocument2, (void**)&spDoc);
spDoc->QueryInterface(IID_IOleCommandTarget, (void**)&spCT);
spCT->Exec(&CGID_MSHTML, IDM_PRINT, NULL, &vPTPath, NULL);

gvs
GeneralRe: strange IDM_PRINT Pin
xltread30-Aug-10 13:05
xltread30-Aug-10 13:05 
GeneralMemory Management Pin
Dangleberry8-Sep-03 22:18
sussDangleberry8-Sep-03 22:18 
GeneralRe: Memory Management Pin
Andrew Walker9-Sep-03 0:04
Andrew Walker9-Sep-03 0:04 
GeneralRe: Memory Management Pin
Johnny ²9-Sep-03 1:07
Johnny ²9-Sep-03 1:07 
GeneralRe: Memory Management Pin
Dangleberry9-Sep-03 2:13
sussDangleberry9-Sep-03 2:13 
QuestionHow to round a double value Pin
King_of_Queens8-Sep-03 22:13
King_of_Queens8-Sep-03 22:13 
AnswerRe: How to round a double value Pin
Dangleberry8-Sep-03 22:34
sussDangleberry8-Sep-03 22:34 
GeneralRe: How to round a double value Pin
King_of_Queens8-Sep-03 22:55
King_of_Queens8-Sep-03 22:55 
GeneralRe: How to round a double value Pin
Dangleberry8-Sep-03 23:14
sussDangleberry8-Sep-03 23:14 
GeneralRe: How to round a double value Pin
vcplusplus9-Sep-03 1:58
vcplusplus9-Sep-03 1:58 
GeneralRe: How to round a double value Pin
Dangleberry9-Sep-03 2:50
sussDangleberry9-Sep-03 2:50 
GeneralRe: How to round a double value Pin
vcplusplus9-Sep-03 3:20
vcplusplus9-Sep-03 3:20 
GeneralRe: How to round a double value Pin
QuiJohn9-Sep-03 3:20
QuiJohn9-Sep-03 3:20 
AnswerRe: How to round a double value Pin
David Crow9-Sep-03 2:47
David Crow9-Sep-03 2:47 
GeneralRe: How to round a double value Pin
Dangleberry9-Sep-03 3:14
sussDangleberry9-Sep-03 3:14 
AnswerRe: How to round a double value Pin
ohadp9-Sep-03 3:28
ohadp9-Sep-03 3:28 
QuestionDCOM -SOAP transparent proxy exists ? Pin
vgrigor8-Sep-03 22:03
vgrigor8-Sep-03 22:03 

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.