Click here to Skip to main content
15,885,895 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
QuestionFile System Filter Driver Pin
mkrelli6-Feb-09 1:33
mkrelli6-Feb-09 1:33 
QuestionChange BIOS language Pin
Blue_Boy5-Feb-09 6:04
Blue_Boy5-Feb-09 6:04 
AnswerRe: Change BIOS language Pin
Dan Neely5-Feb-09 7:10
Dan Neely5-Feb-09 7:10 
QuestionPrinters and Vista, program hangs or chrashs. Pin
st143-Feb-09 11:29
st143-Feb-09 11:29 
AnswerRe: Printers and Vista, program hangs or chrashs. Pin
dadashri4-Feb-09 2:56
dadashri4-Feb-09 2:56 
GeneralRe: Printers and Vista, program hangs or chrashs. Pin
st144-Feb-09 9:58
st144-Feb-09 9:58 
AnswerRe: Printers and Vista, program hangs or chrashs. Pin
#realJSOP9-Feb-09 6:10
mve#realJSOP9-Feb-09 6:10 
GeneralRe: Printers and Vista, program hangs or chrashs. Pin
st149-Feb-09 10:19
st149-Feb-09 10:19 
Thanks John. Thats a good idea. One user has installed pdfcreator and now can print to pdf and then on to their printer but still can't print directly from my app. I have a smaller app that use an RTF control that supports printing so I'll send them a copy for testing.

The error messages I get when my program crashes point to memory corruption by the driver. Here is one example:

Exception details:
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Drawing.SafeNativeMethods.PrintDlg(PRINTDLGX86 lppd)
at System.Drawing.Printing.PrinterSettings.GetOutputPort()
at System.Drawing.Printing.PrinterSettings.FastDeviceCapabilities(Int16 capability, IntPtr pointerToBuffer, Int32 defaultValue, String printerName)
at System.Drawing.Printing.PrinterSettings.Get_PaperSizes()
at System.Drawing.Printing.PageSettings.PaperSizeFromMode(DEVMODE mode)
at System.Drawing.Printing.PageSettings.GetPaperSize(IntPtr modeHandle)
at System.Drawing.Printing.PageSettings.GetBounds(IntPtr modeHandle)
at System.Drawing.Printing.PrintController.CreatePrintPageEvent(PageSettings pageSettings)
at System.Drawing.Printing.PrintController.PrintLoop(PrintDocument document)
at System.Drawing.Printing.PrintController.Print(PrintDocument document)
at System.Drawing.Printing.PrintDocument.Print()
at System.Windows.Forms.PrintPreviewControl.ComputePreview()

Here is what happened when I tried to cath the error in a Try Catch block. In the Catch I am trying to display the exception contents in a MessageBox )

Exception details:
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.RuntimeTypeHandle.ConstructName(Boolean nameSpace, Boolean fullInst, Boolean assembly)
at System.RuntimeType.RuntimeTypeCache.ConstructName(String& name, Boolean nameSpace, Boolean fullinst, Boolean assembly)
at System.RuntimeType.get_Name()
at System.Diagnostics.StackTrace.ToString(TraceFormat traceFormat)
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Exception.get_StackTrace()
at System.Exception.ToString()
at DrawTools.Startup.Main(String[] args)

Thanks

Stuart
GeneralRe: Printers and Vista, program hangs or chrashs. Pin
#realJSOP9-Feb-09 11:23
mve#realJSOP9-Feb-09 11:23 
GeneralRe: Printers and Vista, program hangs or chrashs. Pin
st141-May-09 16:06
st141-May-09 16:06 
GeneralHardware Configuartion to run SAP on Windows PC Pin
Arijit Manna29-Jan-09 20:11
Arijit Manna29-Jan-09 20:11 
QuestionSending 5-bit Baudot Over Serial Pin
ricecake29-Jan-09 12:29
ricecake29-Jan-09 12:29 
AnswerRe: Sending 5-bit Baudot Over Serial Pin
Jonathan Davies30-Jan-09 0:04
Jonathan Davies30-Jan-09 0:04 
GeneralRe: Sending 5-bit Baudot Over Serial Pin
ricecake30-Jan-09 3:57
ricecake30-Jan-09 3:57 
GeneralRe: Sending 5-bit Baudot Over Serial Pin
ricecake4-Feb-09 7:30
ricecake4-Feb-09 7:30 
QuestionExternal H.D. Problem Pin
scorp_scorp28-Jan-09 0:22
scorp_scorp28-Jan-09 0:22 
QuestionRe: External H.D. Problem Pin
Jörgen Andersson28-Jan-09 1:15
professionalJörgen Andersson28-Jan-09 1:15 
AnswerRe: External H.D. Problem Pin
scorp_scorp28-Jan-09 1:29
scorp_scorp28-Jan-09 1:29 
GeneralRe: External H.D. Problem Pin
Jörgen Andersson28-Jan-09 1:34
professionalJörgen Andersson28-Jan-09 1:34 
QuestionRe: External H.D. Problem Pin
scorp_scorp28-Jan-09 1:42
scorp_scorp28-Jan-09 1:42 
AnswerRe: External H.D. Problem Pin
Jörgen Andersson28-Jan-09 1:58
professionalJörgen Andersson28-Jan-09 1:58 
AnswerRe: External H.D. Problem Pin
scorp_scorp28-Jan-09 2:06
scorp_scorp28-Jan-09 2:06 
QuestionRe: External H.D. Problem Pin
Nanda_MR28-Jan-09 23:13
Nanda_MR28-Jan-09 23:13 
AnswerRe: External H.D. Problem Pin
Michael Martin16-Feb-09 22:01
professionalMichael Martin16-Feb-09 22:01 
AnswerRe: External H.D. Problem Pin
tech60316-Mar-09 16:41
tech60316-Mar-09 16:41 

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.