[Done] Error with VectorDrawing and long procedures

All bugs related to new C backend
PeDe
User
User
Posts: 53
Joined: Sun Nov 26, 2017 3:13 pm

[Done] Error with VectorDrawing and long procedures

Post by PeDe »

I have long procedures that create a graphic. With the C backend there are memory access errors. If you comment out a lot of lines the drawing works. It doesn't matter which ones, there just must not be too many.

If you comment out a few more lines in the example code starting at line 627, you get the error. With the FASM it works without error.

PB 6.00a1, Windows 7 x64

Code: Select all

[ERROR] Invalid memory access. (read error at address 256)

Code: Select all

EnableExplicit

#iStandardSize = 16
#iStandardDepth = 32
#StandardUnit = #PB_Unit_Pixel
#StandardBackground = #PB_Image_Transparent

Procedure.i StartVectorImage(iImageNumber.i, iWidth.i, iHeight.i = 0, iDepth.i = #iStandardDepth,
	iBackColor.i = #StandardBackground, iUnit.i = #StandardUnit)
	; -> iImageNumber:	Die Image-Nummer oder #PB_Any für das Erstellen eines neuen Image.
	; -> iWidth:				Die Breite des Image in Pixel.
	; -> iHeight:				Die Höhe des Image in Pixel, Wenn Null übergeben wird, wird die Breite verwendet.
	; -> iDepth:				Die Farbtiefe in Bit, z.B. 24 oder 32.
	; -> iBackColor:		Die Farbe für den Hintergrund.
	; -> iUnit:					Die Einheit für die Größenangaben.
	; Die Parameter sind ähnlich wie für die Funktionen CreateImage() und ImageVectorOutput().
	; Rückgabe:	Die Image-Nummer oder Null bei einem Fehler.
	Protected iReturn.i
	
	If (Not iHeight)
		iHeight = iWidth
	EndIf
	
	iReturn = CreateImage(iImageNumber, iWidth, iHeight, iDepth, iBackColor)
	If iReturn
		If iImageNumber = #PB_Any
			iImageNumber = iReturn
		EndIf
		If (Not StartVectorDrawing(ImageVectorOutput(iImageNumber, iUnit)))
			FreeImage(iImageNumber)
			iReturn = 0
		EndIf
	EndIf
	
	ProcedureReturn iReturn
EndProcedure


Procedure.i RigolDS1000Z(iWidth.i = #iStandardSize, iHeight.i = #iStandardSize, iImageNumber.i = #PB_Any)
	; Erstellt ein Icon bzw. Image.
	; -> iSize:					Die Größe des Icons in der Breite und Höhe in Pixel.
	; -> iImageNumber:	Ein Image-Nummer oder #PB_Any für das Erstellen eines neuen Image.
	; Rückgabe:	Die Image-Nummer oder Null bei einem Fehler.
	Protected iReturn.i, iFontId.i
	Protected rCreatedSizeWidth.d =  128
	Protected rCreatedSizeHeight.d =  96
	Protected rScaleWidth.d = (iWidth / rCreatedSizeWidth)
	Protected rScaleHeight.d = (iHeight / rCreatedSizeHeight)
	
	iReturn = StartVectorImage(iImageNumber, iWidth, iHeight)
	
	If iReturn
		ScaleCoordinates(rScaleWidth, rScaleHeight)
		
		; CorelDraw RectangleShape.Curve.
		MovePathCursor(18.75, 93.96)
		AddPathLine(31.24, 93.96)
		AddPathCurve(31.66, 93.96, 31.99, 93.62, 31.99, 93.21)
		AddPathLine(31.99, 90.96)
		AddPathLine(18, 90.96)
		AddPathLine(18, 93.21)
		AddPathCurve(18, 93.62, 18.33, 93.96, 18.75, 93.96)
		VectorSourceColor($FFCCCCCC)
		FillPath(#PB_Path_Preserve)
		ResetPath()
		
		; CorelDraw RectangleShape.Curve.
		MovePathCursor(95.75, 93.96)
		AddPathLine(108.25, 93.96)
		AddPathCurve(108.66, 93.96, 109, 93.62, 109, 93.21)
		AddPathLine(109, 90.96)
		AddPathLine(95, 90.96)
		AddPathLine(95, 93.21)
		AddPathCurve(95, 93.62, 95.34, 93.96, 95.75, 93.96)
		VectorSourceColor($FFCCCCCC)
		FillPath(#PB_Path_Preserve)
		ResetPath()
		
		; CorelDraw RectangleShape.Curve.
		MovePathCursor(5.95, 31.97)
		AddPathLine(121.01, 31.97)
		AddPathCurve(122.63, 31.97, 123.96, 33.29, 123.96, 34.91)
		AddPathLine(123.96, 88)
		AddPathCurve(123.96, 89.62, 122.63, 90.95, 121.01, 90.95)
		AddPathLine(5.95, 90.95)
		AddPathCurve(4.33, 90.95, 3, 89.62, 3, 88)
		AddPathLine(3, 34.91)
		AddPathCurve(3, 33.29, 4.33, 31.97, 5.95, 31.97)
		VectorSourceColor($FFE5E5E5)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF999999)
		StrokePath(1)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(6.96, 45.47)
		AddPathLine(10.46, 45.47)
		AddPathLine(11.62, 46.82)
		AddPathLine(10.46, 47.96)
		AddPathLine(6.96, 47.96)
		AddPathLine(6.96, 45.47)
		VectorSourceColor($FFFF9966)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF7F7F7F)
		StrokePath(0.29)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(64.98, 76.95)
		AddPathLine(63.98, 80.95)
		VectorSourceColor($FF00FFFF)
		StrokePath(2)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(77.59, 43.3)
		AddPathLine(81.79, 43.3)
		AddPathLine(81.81, 41.92)
		AddPathLine(80.08, 40.81)
		AddPathLine(77.59, 40.81)
		AddPathLine(77.59, 43.3)
		VectorSourceColor($FFFFFF99)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF7F7F7F)
		StrokePath(0.29)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(6.58, 43.3)
		AddPathLine(10.79, 43.3)
		AddPathLine(10.8, 41.92)
		AddPathLine(9.07, 40.81)
		AddPathLine(6.58, 40.81)
		AddPathLine(6.58, 43.3)
		VectorSourceColor($FFFFFF99)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF7F7F7F)
		StrokePath(0.29)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(77.59, 69.81)
		AddPathLine(81.79, 69.81)
		AddPathLine(81.81, 71.19)
		AddPathLine(80.08, 72.3)
		AddPathLine(77.59, 72.3)
		AddPathLine(77.59, 69.81)
		VectorSourceColor($FFFFFF99)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF7F7F7F)
		StrokePath(0.29)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(6.96, 49.47)
		AddPathLine(10.46, 49.47)
		AddPathLine(11.62, 50.82)
		AddPathLine(10.46, 51.96)
		AddPathLine(6.96, 51.97)
		AddPathLine(6.96, 49.47)
		VectorSourceColor($FFFF9966)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF7F7F7F)
		StrokePath(0.29)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(83.91, 39.91)
		AddPathLine(83.91, 73.01)
		AddPathLine(80.01, 75.97)
		AddPathLine(64.94, 75.97)
		AddPathLine(59.02, 80)
		AddPathLine(64.94, 84.98)
		VectorSourceColor($FFB2B2B2)
		StrokePath(1)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(6.97, 53.47)
		AddPathLine(10.46, 53.47)
		AddPathLine(11.62, 54.82)
		AddPathLine(10.46, 55.97)
		AddPathLine(6.97, 55.97)
		AddPathLine(6.97, 53.47)
		VectorSourceColor($FFFF9966)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF7F7F7F)
		StrokePath(0.29)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(88.63, 51.47)
		AddPathLine(85.13, 51.47)
		AddPathLine(84.41, 52.84)
		AddPathLine(85.13, 53.97)
		AddPathLine(88.63, 53.97)
		AddPathLine(89.3, 52.76)
		AddPathLine(88.63, 51.47)
		VectorSourceColor($FFB2B2B2)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF00FFFF)
		StrokePath(1)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(98.63, 42.47)
		AddPathLine(95.13, 42.47)
		AddPathLine(94.41, 43.84)
		AddPathLine(95.13, 44.97)
		AddPathLine(98.63, 44.97)
		AddPathLine(99.3, 43.76)
		AddPathLine(98.63, 42.47)
		VectorSourceColor($FFFFFFFF)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF7F7F7F)
		StrokePath(0.29)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(98.63, 46.47)
		AddPathLine(95.13, 46.47)
		AddPathLine(94.41, 47.84)
		AddPathLine(95.13, 48.97)
		AddPathLine(98.63, 48.97)
		AddPathLine(99.3, 47.76)
		AddPathLine(98.63, 46.47)
		VectorSourceColor($FFFFFFFF)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF7F7F7F)
		StrokePath(0.29)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(104.63, 42.47)
		AddPathLine(101.13, 42.47)
		AddPathLine(100.41, 43.84)
		AddPathLine(101.13, 44.97)
		AddPathLine(104.63, 44.97)
		AddPathLine(105.3, 43.76)
		AddPathLine(104.63, 42.47)
		VectorSourceColor($FFFFFFFF)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF7F7F7F)
		StrokePath(0.29)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(104.63, 46.47)
		AddPathLine(101.13, 46.47)
		AddPathLine(100.41, 47.84)
		AddPathLine(101.13, 48.97)
		AddPathLine(104.63, 48.97)
		AddPathLine(105.3, 47.76)
		AddPathLine(104.63, 46.47)
		VectorSourceColor($FFFFFFFF)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF7F7F7F)
		StrokePath(0.29)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(110.63, 42.47)
		AddPathLine(107.13, 42.47)
		AddPathLine(106.41, 43.84)
		AddPathLine(107.13, 44.97)
		AddPathLine(110.63, 44.97)
		AddPathLine(111.3, 43.76)
		AddPathLine(110.63, 42.47)
		VectorSourceColor($FFFFFFFF)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF7F7F7F)
		StrokePath(0.29)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(118.63, 41.47)
		AddPathLine(117.19, 41.47)
		AddPathLine(116.24, 42.47)
		AddPathLine(115.14, 42.47)
		AddPathLine(114.41, 43.84)
		AddPathLine(115.14, 44.97)
		AddPathLine(118.63, 44.97)
		AddPathLine(119.3, 43.76)
		AddPathLine(118.63, 41.47)
		VectorSourceColor($FF33CC33)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF7F7F7F)
		StrokePath(0.29)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(118.63, 49.97)
		AddPathLine(117.19, 49.97)
		AddPathLine(116.24, 48.97)
		AddPathLine(115.13, 48.97)
		AddPathLine(114.4, 47.6)
		AddPathLine(115.13, 46.48)
		AddPathLine(118.63, 46.47)
		AddPathLine(119.3, 47.68)
		AddPathLine(118.63, 49.97)
		VectorSourceColor($FF33CC33)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF7F7F7F)
		StrokePath(0.29)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(110.63, 46.47)
		AddPathLine(107.13, 46.47)
		AddPathLine(106.41, 47.84)
		AddPathLine(107.13, 48.97)
		AddPathLine(110.63, 48.97)
		AddPathLine(111.3, 47.76)
		AddPathLine(110.63, 46.47)
		VectorSourceColor($FFFFFFFF)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF7F7F7F)
		StrokePath(0.29)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(88.63, 55.47)
		AddPathLine(85.13, 55.47)
		AddPathLine(84.4, 56.84)
		AddPathLine(85.13, 57.97)
		AddPathLine(88.63, 57.97)
		AddPathLine(89.3, 56.76)
		AddPathLine(88.63, 55.47)
		VectorSourceColor($FFB2B2B2)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FFFFCC00)
		StrokePath(1)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(88.63, 59.48)
		AddPathLine(85.13, 59.48)
		AddPathLine(84.4, 60.84)
		AddPathLine(85.13, 61.97)
		AddPathLine(88.63, 61.97)
		AddPathLine(89.3, 60.76)
		AddPathLine(88.63, 59.48)
		VectorSourceColor($FFB2B2B2)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FFFF00FF)
		StrokePath(1)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(94.63, 59.48)
		AddPathLine(91.13, 59.48)
		AddPathLine(90.4, 60.84)
		AddPathLine(91.13, 61.97)
		AddPathLine(94.63, 61.97)
		AddPathLine(95.3, 60.76)
		AddPathLine(94.63, 59.48)
		VectorSourceColor($FFB2B2B2)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF7F7F7F)
		StrokePath(0.29)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(100.63, 59.48)
		AddPathLine(97.13, 59.48)
		AddPathLine(96.4, 60.84)
		AddPathLine(97.13, 61.97)
		AddPathLine(100.63, 61.97)
		AddPathLine(101.3, 60.76)
		AddPathLine(100.63, 59.48)
		VectorSourceColor($FFB2B2B2)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF7F7F7F)
		StrokePath(0.29)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(109.63, 59.48)
		AddPathLine(106.13, 59.48)
		AddPathLine(105.4, 60.84)
		AddPathLine(106.13, 61.97)
		AddPathLine(109.63, 61.97)
		AddPathLine(110.3, 60.77)
		AddPathLine(109.63, 59.48)
		VectorSourceColor($FFB2B2B2)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF7F7F7F)
		StrokePath(0.29)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(118.63, 54.48)
		AddPathLine(115.13, 54.48)
		AddPathLine(114.4, 55.84)
		AddPathLine(115.13, 56.97)
		AddPathLine(118.63, 56.97)
		AddPathLine(119.3, 55.77)
		AddPathLine(118.63, 54.48)
		VectorSourceColor($FFFFFFFF)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF7F7F7F)
		StrokePath(0.29)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(88.62, 63.48)
		AddPathLine(85.13, 63.48)
		AddPathLine(84.4, 64.84)
		AddPathLine(85.13, 65.97)
		AddPathLine(88.62, 65.97)
		AddPathLine(89.3, 64.76)
		AddPathLine(88.62, 63.48)
		VectorSourceColor($FFB2B2B2)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF993300)
		StrokePath(1)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(88.62, 67.48)
		AddPathLine(85.13, 67.48)
		AddPathLine(84.4, 68.84)
		AddPathLine(85.13, 69.97)
		AddPathLine(88.62, 69.97)
		AddPathLine(89.3, 68.77)
		AddPathLine(88.62, 67.48)
		VectorSourceColor($FFB2B2B2)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF7F7F7F)
		StrokePath(0.29)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(88.62, 71.48)
		AddPathLine(85.13, 71.48)
		AddPathLine(84.4, 72.84)
		AddPathLine(85.13, 73.97)
		AddPathLine(88.62, 73.97)
		AddPathLine(89.3, 72.77)
		AddPathLine(88.62, 71.48)
		VectorSourceColor($FFB2B2B2)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF7F7F7F)
		StrokePath(0.29)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(6.97, 57.47)
		AddPathLine(10.46, 57.47)
		AddPathLine(11.62, 58.82)
		AddPathLine(10.46, 59.97)
		AddPathLine(6.97, 59.97)
		AddPathLine(6.97, 57.47)
		VectorSourceColor($FFFF9966)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF7F7F7F)
		StrokePath(0.29)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(116.96, 87.95)
		AddPathLine(116.96, 77.95)
		VectorSourceColor($FFFF9966)
		StrokePath(2)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(6.97, 61.48)
		AddPathLine(10.46, 61.48)
		AddPathLine(11.62, 62.82)
		AddPathLine(10.46, 63.97)
		AddPathLine(6.97, 63.97)
		AddPathLine(6.97, 61.48)
		VectorSourceColor($FFFF9966)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF7F7F7F)
		StrokePath(0.29)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(6.97, 65.48)
		AddPathLine(10.46, 65.48)
		AddPathLine(11.62, 66.82)
		AddPathLine(10.46, 67.97)
		AddPathLine(6.97, 67.97)
		AddPathLine(6.97, 65.48)
		VectorSourceColor($FFFF9966)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF7F7F7F)
		StrokePath(0.29)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(4.93, 38.02)
		AddPathLine(4.93, 75.97)
		AddPathLine(6.95, 77.99)
		AddPathLine(54.04, 77.99)
		AddPathLine(66.96, 88.89)
		AddPathLine(117.95, 88.89)
		AddPathLine(117.95, 77.99)
		AddPathLine(122.93, 73.01)
		AddPathLine(122.93, 40.98)
		AddPathLine(118.9, 38.97)
		AddPathLine(83.91, 38.97)
		AddPathLine(75.03, 33.99)
		AddPathLine(15.97, 33.99)
		AddPathLine(12.06, 36.01)
		AddPathLine(6.95, 36.01)
		AddPathLine(4.93, 38.02)
		VectorSourceColor($FFB2B2B2)
		StrokePath(1)
		ResetPath()
		
		; CorelDraw RectangleShape.
		AddPathBox(15.99, 34.96, 37.99, 2)
		VectorSourceColor($FF00FFFF)
		FillPath(#PB_Path_Preserve)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(13.75, 38.96)
		AddPathLine(73.23, 38.96)
		AddPathCurve(74.19, 38.96, 74.98, 39.75, 74.98, 40.71)
		AddPathLine(74.98, 72.2)
		AddPathCurve(74.98, 73.17, 74.19, 73.95, 73.23, 73.95)
		AddPathLine(64.78, 73.95)
		AddPathLine(60.81, 76.95)
		AddPathLine(13.75, 76.95)
		AddPathCurve(12.78, 76.95, 12, 76.17, 12, 75.2)
		AddPathLine(12, 40.71)
		AddPathCurve(12, 39.75, 12.78, 38.96, 13.75, 38.96)
		VectorSourceColor($FFB2B2B2)
		StrokePath(1)
		ResetPath()
		
		; CorelDraw RectangleShape.
		AddPathBox(14, 40.96, 58.98, 31.99)
		VectorSourceColor($FF333333)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF000000)
		StrokePath(0.29)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(8, 87.95)
		AddPathLine(53.98, 87.95)
		AddPathLine(49.98, 81.95)
		AddPathCurve(49.37, 81.04, 48.08, 79.95, 46.98, 79.95)
		AddPathLine(10, 79.95)
		AddPathCurve(8.9, 79.95, 8, 80.85, 8, 81.95)
		AddPathLine(8, 87.95)
		VectorSourceColor($FFB2B2B2)
		StrokePath(1)
		ResetPath()
		
		; CorelDraw RectangleShape.
		AddPathBox(10, 81.95, 6, 4)
		VectorSourceColor($FFFFFFFF)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FF999999)
		StrokePath(1)
		ResetPath()
		
		; CorelDraw RectangleShape.
		AddPathBox(17.99, 81.95, 2, 5)
		VectorSourceColor($FF666666)
		FillPath(#PB_Path_Preserve)
		ResetPath()
		
		; CorelDraw RectangleShape.
		AddPathBox(25.99, 82.95, 18.99, 3)
		VectorSourceColor($FF666666)
		FillPath(#PB_Path_Preserve)
		VectorSourceColor($FFB2B2B2)
		StrokePath(1)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(12, 46.96)
		AddPathLine(14, 46.96)
		VectorSourceColor($FF999999)
		StrokePath(1)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(73, 46.96)
		AddPathLine(77.98, 46.96)
		VectorSourceColor($FF999999)
		StrokePath(1)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(12, 50.96)
		AddPathLine(14, 50.96)
		VectorSourceColor($FF999999)
		StrokePath(1)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(73, 50.96)
		AddPathLine(77.97, 50.96)
		VectorSourceColor($FF999999)
		StrokePath(1)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(12, 54.96)
		AddPathLine(13.99, 54.96)
		VectorSourceColor($FF999999)
		StrokePath(1)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(73, 54.96)
		AddPathLine(77.97, 54.96)
		VectorSourceColor($FF999999)
		StrokePath(1)
		ResetPath()
		
		; CorelDraw CurveShape.Curve.
		MovePathCursor(12, 58.96)
		AddPathLine(13.99, 58.96)
		VectorSourceColor($FF999999)
		StrokePath(1)
		ResetPath()
		
; 		CorelDraw CurveShape.Curve.
; 		MovePathCursor(73, 58.96)
; 		AddPathLine(77.97, 58.96)
; 		VectorSourceColor($FF999999)
; 		StrokePath(1)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(11.99, 62.96)
; 		AddPathLine(13.99, 62.96)
; 		VectorSourceColor($FF999999)
; 		StrokePath(1)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(73, 62.96)
; 		AddPathLine(77.97, 62.96)
; 		VectorSourceColor($FF999999)
; 		StrokePath(1)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(11.99, 66.96)
; 		AddPathLine(13.99, 66.96)
; 		VectorSourceColor($FF999999)
; 		StrokePath(1)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(73, 66.97)
; 		AddPathLine(77.97, 66.97)
; 		VectorSourceColor($FF999999)
; 		StrokePath(1)
; 		ResetPath()
; 		
; 		; CorelDraw EllipseShape.Ellipse.
; 		AddPathEllipse(70.98, 81.95, 2, 2)
; 		VectorSourceColor($FFCCCCCC)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FF666666)
; 		StrokePath(1)
; 		ResetPath()
; 		
; 		; CorelDraw EllipseShape.Ellipse.
; 		AddPathEllipse(83.98, 81.95, 2, 2)
; 		VectorSourceColor($FFCCCCCC)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FF666666)
; 		StrokePath(1)
; 		ResetPath()
; 		
; 		; CorelDraw EllipseShape.Ellipse.
; 		AddPathEllipse(96.98, 81.95, 2, 2)
; 		VectorSourceColor($FFCCCCCC)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FF666666)
; 		StrokePath(1)
; 		ResetPath()
; 		
; 		; CorelDraw EllipseShape.Ellipse.
; 		AddPathEllipse(109.98, 81.95, 2, 2)
; 		VectorSourceColor($FFCCCCCC)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FF666666)
; 		StrokePath(1)
; 		ResetPath()
; 		
; 		; CorelDraw EllipseShape.Ellipse.
; 		AddPathEllipse(95.3, 69.28, 4, 4)
; 		VectorSourceColor($FFFFFFFF)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FF7F7F7F)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw EllipseShape.Ellipse.
; 		AddPathEllipse(108.3, 69.28, 4, 4)
; 		VectorSourceColor($FFFFFFFF)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FF7F7F7F)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw EllipseShape.Ellipse.
; 		AddPathEllipse(95.3, 69.28, 2, 2)
; 		VectorSourceColor($FFE5E5E5)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FFCCCCCC)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw EllipseShape.Ellipse.
; 		AddPathEllipse(108.3, 69.28, 2, 2)
; 		VectorSourceColor($FFE5E5E5)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FFCCCCCC)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw EllipseShape.Ellipse.
; 		AddPathEllipse(94.97, 54.96, 2.5, 2.5)
; 		VectorSourceColor($FFFFFFFF)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FF7F7F7F)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw EllipseShape.Ellipse.
; 		AddPathEllipse(88.97, 45.96, 2.5, 2.5)
; 		VectorSourceColor($FFFFFFFF)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FF7F7F7F)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw EllipseShape.Ellipse.
; 		AddPathEllipse(107.97, 54.96, 2.5, 2.5)
; 		VectorSourceColor($FFFFFFFF)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FF7F7F7F)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw EllipseShape.Ellipse.
; 		AddPathEllipse(116.97, 61.96, 2.5, 2.5)
; 		VectorSourceColor($FFFFFFFF)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FF7F7F7F)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw EllipseShape.Ellipse.
; 		AddPathEllipse(94.97, 54.96, 1.5, 1.5)
; 		VectorSourceColor($FFE5E5E5)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FFFFFFFF)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw EllipseShape.Ellipse.
; 		AddPathEllipse(88.97, 45.96, 1.5, 1.5)
; 		VectorSourceColor($FFE5E5E5)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FFFFFFFF)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw EllipseShape.Ellipse.
; 		AddPathEllipse(107.97, 54.96, 1.5, 1.5)
; 		VectorSourceColor($FFE5E5E5)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FFFFFFFF)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw EllipseShape.Ellipse.
; 		AddPathEllipse(116.97, 61.96, 1.5, 1.5)
; 		VectorSourceColor($FFE5E5E5)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FFCCCCCC)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(122.97, 76.93)
; 		AddPathLine(119.96, 78.96)
; 		AddPathLine(119.96, 86.94)
; 		AddPathLine(122.97, 86.94)
; 		VectorSourceColor($FF7F7F7F)
; 		StrokePath(1)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(121.98, 79.94)
; 		AddPathLine(121.98, 84.97)
; 		VectorSourceColor($FF7F7F7F)
; 		StrokePath(1)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(8.2, 69.95)
; 		AddPathLine(9.8, 69.95)
; 		AddPathLine(11, 70.95)
; 		AddPathLine(11, 74.95)
; 		AddPathLine(9.8, 75.95)
; 		AddPathLine(8.2, 75.95)
; 		AddPathLine(7, 74.95)
; 		AddPathLine(7, 70.95)
; 		AddPathLine(8.2, 69.95)
; 		VectorSourceColor($FFFFFF99)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FF7F7F7F)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(114.46, 51.95)
; 		AddPathLine(112.46, 51.95)
; 		VectorSourceColor($FF00FF00)
; 		StrokePath(1)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(117.46, 51.95)
; 		AddPathLine(115.46, 51.95)
; 		VectorSourceColor($FFFFFFFF)
; 		StrokePath(1)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(120.46, 51.95)
; 		AddPathLine(118.46, 51.95)
; 		VectorSourceColor($FFFFFFFF)
; 		StrokePath(1)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(81.63, 45.47)
; 		AddPathLine(78.14, 45.47)
; 		AddPathLine(76.97, 46.82)
; 		AddPathLine(78.14, 47.96)
; 		AddPathLine(81.63, 47.96)
; 		AddPathLine(81.63, 45.47)
; 		VectorSourceColor($FFFF9966)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FF7F7F7F)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(112.97, 53.98)
; 		AddPathLine(112.97, 63.93)
; 		AddPathLine(113.99, 64.95)
; 		AddPathLine(113.99, 73.94)
; 		VectorSourceColor($FFB2B2B2)
; 		StrokePath(1)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(81.63, 49.47)
; 		AddPathLine(78.13, 49.47)
; 		AddPathLine(76.97, 50.82)
; 		AddPathLine(78.13, 51.96)
; 		AddPathLine(81.63, 51.96)
; 		AddPathLine(81.63, 49.47)
; 		VectorSourceColor($FFFF9966)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FF7F7F7F)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(81.63, 53.47)
; 		AddPathLine(78.13, 53.47)
; 		AddPathLine(76.97, 54.82)
; 		AddPathLine(78.13, 55.96)
; 		AddPathLine(81.63, 55.97)
; 		AddPathLine(81.63, 53.47)
; 		VectorSourceColor($FFFF9966)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FF7F7F7F)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(81.63, 57.47)
; 		AddPathLine(78.13, 57.47)
; 		AddPathLine(76.97, 58.82)
; 		AddPathLine(78.13, 59.97)
; 		AddPathLine(81.63, 59.97)
; 		AddPathLine(81.63, 57.47)
; 		VectorSourceColor($FFFF9966)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FF7F7F7F)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(81.62, 61.47)
; 		AddPathLine(78.13, 61.47)
; 		AddPathLine(76.97, 62.82)
; 		AddPathLine(78.13, 63.97)
; 		AddPathLine(81.62, 63.97)
; 		AddPathLine(81.62, 61.47)
; 		VectorSourceColor($FFFF9966)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FF7F7F7F)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(81.62, 65.48)
; 		AddPathLine(78.13, 65.48)
; 		AddPathLine(76.97, 66.82)
; 		AddPathLine(78.13, 67.97)
; 		AddPathLine(81.62, 67.97)
; 		AddPathLine(81.62, 65.48)
; 		VectorSourceColor($FFFF9966)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FF7F7F7F)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(109.63, 36.47)
; 		AddPathLine(105.14, 36.47)
; 		AddPathLine(103.97, 37.67)
; 		AddPathLine(103.97, 39.96)
; 		AddPathLine(109.63, 39.96)
; 		AddPathLine(109.63, 36.47)
; 		VectorSourceColor($FFB2B2B2)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FF7F7F7F)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(117.63, 36.47)
; 		AddPathLine(113.14, 36.47)
; 		AddPathLine(111.97, 37.67)
; 		AddPathLine(111.97, 39.96)
; 		AddPathLine(117.63, 39.96)
; 		AddPathLine(117.63, 36.47)
; 		VectorSourceColor($FFB2B2B2)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FF7F7F7F)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(93.63, 36.47)
; 		AddPathLine(89.14, 36.47)
; 		AddPathLine(87.97, 37.67)
; 		AddPathLine(87.97, 38.82)
; 		AddPathLine(89.14, 39.96)
; 		AddPathLine(93.63, 39.96)
; 		AddPathLine(93.63, 36.47)
; 		VectorSourceColor($FFFFFFFF)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FF7F7F7F)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(101.63, 36.47)
; 		AddPathLine(97.14, 36.47)
; 		AddPathLine(95.97, 37.67)
; 		AddPathLine(95.97, 39.96)
; 		AddPathLine(101.63, 39.96)
; 		AddPathLine(101.63, 36.47)
; 		VectorSourceColor($FFFFFFFF)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FF7F7F7F)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(7, 72.95)
; 		AddPathLine(11, 72.95)
; 		VectorSourceColor($FF7F7F7F)
; 		StrokePath(1)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(15, 68.75)
; 		AddPathCurve(18.14, 68.69, 18.14, 44.7, 21.26, 44.61)
; 		AddPathCurve(24.47, 44.7, 24.47, 68.69, 27.67, 68.75)
; 		AddPathCurve(30.8, 68.69, 30.8, 44.7, 33.94, 44.61)
; 		AddPathCurve(37.13, 44.7, 37.13, 68.69, 40.35, 68.75)
; 		AddPathCurve(43.46, 68.69, 43.46, 44.7, 46.62, 44.61)
; 		AddPathCurve(49.79, 44.7, 49.79, 68.69, 52.89, 68.75)
; 		AddPathCurve(56.12, 68.69, 56.12, 44.7, 59.3, 44.61)
; 		AddPathCurve(62.45, 44.7, 62.45, 68.69, 65.56, 68.75)
; 		AddPathCurve(68.78, 68.69, 68.78, 44.7, 71.98, 44.61)
; 		VectorSourceColor($FF66FFFF)
; 		StrokePath(1)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(77.98, 76.95)
; 		AddPathLine(76.98, 80.95)
; 		VectorSourceColor($FFFFCC00)
; 		StrokePath(2)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(90.98, 76.95)
; 		AddPathLine(89.98, 80.95)
; 		VectorSourceColor($FFFF00FF)
; 		StrokePath(2)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(103.98, 76.95)
; 		AddPathLine(102.98, 80.95)
; 		VectorSourceColor($FF993300)
; 		StrokePath(2)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(67.48, 86.95)
; 		AddPathLine(74.48, 86.95)
; 		AddPathCurve(75.3, 86.95, 75.76, 86.25, 75.98, 85.45)
; 		AddPathLine(76.98, 81.74)
; 		AddPathLine(75.98, 78.45)
; 		AddPathCurve(75.74, 77.66, 75.3, 76.95, 74.48, 76.95)
; 		AddPathLine(67.48, 76.95)
; 		AddPathCurve(66.65, 76.95, 66.23, 77.67, 65.98, 78.45)
; 		AddPathLine(64.98, 81.58)
; 		AddPathLine(65.98, 85.45)
; 		AddPathCurve(66.19, 86.25, 66.65, 86.95, 67.48, 86.95)
; 		VectorSourceColor($FFB2B2B2)
; 		StrokePath(1)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(80.48, 86.95)
; 		AddPathLine(87.48, 86.95)
; 		AddPathCurve(88.3, 86.95, 88.76, 86.25, 88.98, 85.45)
; 		AddPathLine(89.98, 81.75)
; 		AddPathLine(88.98, 78.45)
; 		AddPathCurve(88.74, 77.66, 88.3, 76.95, 87.48, 76.95)
; 		AddPathLine(80.48, 76.95)
; 		AddPathCurve(79.65, 76.95, 79.23, 77.67, 78.98, 78.45)
; 		AddPathLine(77.98, 81.58)
; 		AddPathLine(78.98, 85.45)
; 		AddPathCurve(79.19, 86.25, 79.65, 86.95, 80.48, 86.95)
; 		VectorSourceColor($FFB2B2B2)
; 		StrokePath(1)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(93.48, 86.95)
; 		AddPathLine(100.48, 86.95)
; 		AddPathCurve(101.3, 86.95, 101.76, 86.25, 101.98, 85.45)
; 		AddPathLine(102.98, 81.75)
; 		AddPathLine(101.98, 78.45)
; 		AddPathCurve(101.74, 77.66, 101.3, 76.95, 100.48, 76.95)
; 		AddPathLine(93.48, 76.95)
; 		AddPathCurve(92.65, 76.95, 92.23, 77.67, 91.98, 78.45)
; 		AddPathLine(90.98, 81.58)
; 		AddPathLine(91.98, 85.45)
; 		AddPathCurve(92.19, 86.25, 92.65, 86.95, 93.48, 86.95)
; 		VectorSourceColor($FFB2B2B2)
; 		StrokePath(1)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(106.48, 86.95)
; 		AddPathLine(113.48, 86.95)
; 		AddPathCurve(114.3, 86.95, 114.76, 86.25, 114.98, 85.45)
; 		AddPathLine(115.98, 81.75)
; 		AddPathLine(114.98, 78.45)
; 		AddPathCurve(114.74, 77.66, 114.3, 76.95, 113.48, 76.95)
; 		AddPathLine(106.48, 76.95)
; 		AddPathCurve(105.66, 76.95, 105.23, 77.67, 104.98, 78.45)
; 		AddPathLine(103.98, 81.58)
; 		AddPathLine(104.98, 85.45)
; 		AddPathCurve(105.19, 86.25, 105.65, 86.95, 106.48, 86.95)
; 		VectorSourceColor($FFB2B2B2)
; 		StrokePath(1)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(116.6, 78.37)
; 		AddPathLine(121.6, 73.38)
; 		VectorSourceColor($FFFF9966)
; 		StrokePath(1)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(99.99, 50.98)
; 		AddPathLine(99.99, 54.93)
; 		AddPathLine(102.99, 57.93)
; 		AddPathLine(102.99, 63.92)
; 		AddPathLine(100.95, 65.97)
; 		AddPathLine(100.95, 73.94)
; 		VectorSourceColor($FFB2B2B2)
; 		StrokePath(1)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(118.63, 65.48)
; 		AddPathLine(115.13, 65.48)
; 		AddPathLine(114.4, 66.84)
; 		AddPathLine(115.13, 67.97)
; 		AddPathLine(118.63, 67.97)
; 		AddPathLine(119.3, 66.77)
; 		AddPathLine(118.63, 65.48)
; 		VectorSourceColor($FFFFFFFF)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FF7F7F7F)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(118.62, 70.48)
; 		AddPathLine(115.13, 70.48)
; 		AddPathLine(114.4, 71.84)
; 		AddPathLine(115.13, 72.97)
; 		AddPathLine(118.62, 72.97)
; 		AddPathLine(119.3, 71.77)
; 		AddPathLine(118.62, 70.48)
; 		VectorSourceColor($FFFFFFFF)
; 		FillPath(#PB_Path_Preserve)
; 		VectorSourceColor($FF7F7F7F)
; 		StrokePath(0.29)
; 		ResetPath()
; 		
; 		; CorelDraw CurveShape.Curve.
; 		MovePathCursor(110.95, 50.98)
; 		AddPathLine(92.99, 50.98)
; 		AddPathLine(92.99, 41.98)
; 		VectorSourceColor($FFB2B2B2)
; 		StrokePath(1)
; 		ResetPath()
		
		StopVectorDrawing()
	EndIf
	
	ProcedureReturn iReturn
EndProcedure


Define iImageNumber.i
iImageNumber = RigolDS1000Z(256, 192)
ShowLibraryViewer("Image", iImageNumber)
CallDebugger

TassyJim
User
User
Posts: 93
Joined: Sun Jun 16, 2013 6:27 am
Location: Tasmania (Australia)

Re: Error with VectorDrawing and long procedures

Post by TassyJim »

I had the same problem with a long procedure.
The 'fix' is to select 'Optimize generated code.' in compiler options

Jim
PeDe
User
User
Posts: 53
Joined: Sun Nov 26, 2017 3:13 pm

Re: Error with VectorDrawing and long procedures

Post by PeDe »

Thanks, this works for me only for test procedure, for the whole program unfortunately not anymore. There is a Windows error dialog:

Code: Select all

Problemsignatur:
  Problemereignisname:	APPCRASH
  Anwendungsname:	polink.exe
  Anwendungsversion:	5.0.1.0
  Anwendungszeitstempel:	484aef7a
  Fehlermodulname:	polink.exe
  Fehlermodulversion:	5.0.1.0
  Fehlermodulzeitstempel:	484aef7a
  Ausnahmecode:	c0000005
  Ausnahmeoffset:	00011ad5
  Betriebsystemversion:	6.1.7601.2.1.0.768.3
  Gebietsschema-ID:	1031
  Zusatzinformation 1:	4b59
  Zusatzinformation 2:	4b59479edcbfb268abfd6d2ccc583304
  Zusatzinformation 3:	743e
  Zusatzinformation 4:	743ebce71c0260dfb263c22c354bcf4f
After that the IDE works again but also shows an error:

Code: Select all

--------------------------------------------------------------------------------
  Building 'Debug 64'...
--------------------------------------------------------------------------------
Using compiler: PureBasic 6.00 Alpha 1 - C Backend (Windows - x64)
...
...
...
80885 lines compiled.
Creating executable file...
Linker error

--------------------------------------------------------------------------------

  1 targets compiled with errors.
But the program was compiled correctly and works. Also the other error I reported is gone, or it is just a coincidence that it works now:
"different results with long/integer and logical operators"
https://www.purebasic.fr/english/viewto ... 43&t=77306

Peter
Fred
Administrator
Administrator
Posts: 14348
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: [Done] Error with VectorDrawing and long procedures

Post by Fred »

Fixed.
Post Reply