Search found 2 matches

by rsimpson
23 Dec 2008, 07:48
Forum: CAD .NET
Topic: NULL reference exception loading PLT
Replies: 3
Views: 14959

Re: NULL reference exception loading PLT

Same result. Furthermore, I'm not using a picturebox at all. Just the CADImage() object.
by rsimpson
19 Dec 2008, 19:46
Forum: CAD .NET
Topic: NULL reference exception loading PLT
Replies: 3
Views: 14959

NULL reference exception loading PLT

The code is fairly straightforward: CADImage img = new HPGL2.HPGLImage(); img.LoadFromFile(mypltfilename); Error is: Object reference not set to an instance of an object. CADImport.dll!..(System.Drawing.Color = "{Name=ff000000, ARGB=(255, 0, 0, 0)}", CADImport.CADLineType = null) + 0x6c bytes CADImp...