using a 32bit with a 64bit comiler (beta 1)

Just starting out? Need help? Post your questions and find answers here.
coffee
User
User
Posts: 77
Joined: Fri Oct 06, 2017 10:43 am

using a 32bit with a 64bit comiler (beta 1)

Post by coffee »

hi,

i found rmchart.dll, lib etc..

i am using:

Code: Select all

Enumeration   0 ; Misc
  #RMC_DEFAULT  = 0
  #RMC_NO_ERROR = 0
  #RMC_NO_DATA  = -9999999999
EndEnumeration 
Enumeration   0 ; Error
  #RMC_ERROR_LEGENDSIZE    =  01
  #RMC_ERROR_MAXINST       = -01
  #RMC_ERROR_MAXREGION     = -02
  #RMC_ERROR_MAXSERIES     = -03
  #RMC_ERROR_ALLOC         = -04
  #RMC_ERROR_NODATA        = -05
  #RMC_ERROR_CTRLID        = -06
  #RMC_ERROR_SERIESINDEX   = -07
  #RMC_ERROR_CREATEBITMAP  = -08
  #RMC_ERROR_WRONGREGION   = -09
  #RMC_ERROR_PARENTHANDLE  = -10
  #RMC_ERROR_CREATEWINDOW  = -11
  #RMC_ERROR_INIGDIP       = -12
  #RMC_ERROR_PRINT         = -13
  #RMC_ERROR_NOGDIP        = -14
  #RMC_ERROR_RMCFILE       = -15
  #RMC_ERROR_FILEFOUND     = -16
  #RMC_ERROR_READLINES     = -17
  #RMC_ERROR_XYAXIS        = -18
  #RMC_ERROR_LEGENDTEXT    = -19
  #RMC_ERROR_EMF           = -20
  #RMC_ERROR_NODATA_COUNT  = -21
  #RMC_ERROR_NODATA_ZERO   = -22
  #RMC_ERROR_NOCOLOR       = -23
  #RMC_ERROR_CLIPBOARD     = -24
  #RMC_ERROR_CBINFO        = -25
  #RMC_ERROR_FILECREATE    = -26
  #RMC_ERROR_MAXCUSTOM     = -27
  #RMC_ERROR_DATAINDEX     = -28
  #RMC_ERROR_AXISALIGNMENT = -29
  #RMC_ERROR_ARRAYDIM      = -90
EndEnumeration 
Enumeration   0 ; Colors
  #ColorAliceBlue            = $FFF0F8FF
  #ColorAntiqueWhite         = $FFFAEBD7
  #ColorAquamarine           = $FF7FFFD4
  #ColorArmyGreen            = $FF669966
  #ColorAutumnOrange         = $FFFF6633
  #ColorAvocadoGreen         = $FF669933
  #ColorAzure                = $FFF0FFFF
  #ColorBabyBlue             = $FF6699FF
  #ColorBananaYellow         = $FFCCCC33
  #ColorBeige                = $FFF5F5DC
  #ColorBisque               = $FFFFE4C4
  #ColorBlack                = $FF000000
  #ColorBlanchedAlmond       = $FFFFEBCD
  #ColorBlue                 = $FF0000FF
  #ColorBlueViolet           = $FF8A2BE2
  #ColorBrown                = $FFA52A2A
  #ColorBurlyWood            = $FFDEB887
  #ColorCadetBlue            = $FF5F9EA0
  #ColorChalk                = $FFFFFF99
  #ColorChartreuse           = $FF7FFF00
  #ColorChocolate            = $FFD2691E
  #ColorCoral                = $FFFF7F50
  #ColorCornflowerBlue       = $FF6495ED
  #ColorCornsilk             = $FFFFF8DC
  #ColorCrimson              = $FFDC143C
  #ColorCyan                 = $FF00FFFF
  #ColorDarkBlue             = $FF00008B
  #ColorDarkBrown            = $FF663333
  #ColorDarkCrimson          = $FF993366
  #ColorDarkCyan             = $FF008B8B
  #ColorDarkGold             = $FFCC9933
  #ColorDarkGoldenrod        = $FFB8860B
  #ColorDarkGray             = $FFA9A9A9
  #ColorDarkGreen            = $FF006400
  #ColorDarkKhaki            = $FFBDB76B
  #ColorDarkMagenta          = $FF8B008B
  #ColorDarkOliveGreen       = $FF556B2F
  #ColorDarkOrange           = $FFFF8C00
  #ColorDarkOrchid           = $FF9932CC
  #ColorDarkRed              = $FF8B0000
  #ColorDarkSalmon           = $FFE9967A
  #ColorDarkSeaGreen         = $FF8FBC8B
  #ColorDarkSlateBlue        = $FF483D8B
  #ColorDarkSlateGray        = $FF2F4F4F
  #ColorDarkTurquoise        = $FF00CED1
  #ColorDarkViolet           = $FF9400D3
  #ColorDeepAzure            = $FF6633FF
  #ColorDeepPink             = $FFFF1493
  #ColorDeepPurple           = $FF330066
  #ColorDeepRiver            = $FF6600CC
  #ColorDeepRose             = $FFCC3399
  #ColorDeepSkyBlue          = $FF00BFFF
  #ColorDefault              = $00000000
  #ColorDeepYellow           = $FFFFCC00
  #ColorDesertBlue           = $FF336699
  #ColorDimGray              = $FF696969
  #ColorDodgerBlue           = $FF1E90FF
  #ColorDullGreen            = $FF99CC66
  #ColorEasterPurple         = $FFCC99FF
  #ColorFadeGreen            = $FF99CC99
  #ColorFirebrick            = $FFB22222
  #ColorFloralWhite          = $FFFFFAF0
  #ColorForestGreen          = $FF228B22
  #ColorGainsboro            = $FFDCDCDC
  #ColorGhostGreen           = $FFCCFFCC
  #ColorGhostWhite           = $FFF8F8FF
  #ColorGold                 = $FFFFD700
  #ColorGoldenrod            = $FFDAA520
  #ColorGrape                = $FF663399
  #ColorGrassGreen           = $FF009933
  #ColorGray                 = $FF808080
  #ColorGreen                = $FF008000
  #ColorGreenYellow          = $FFADFF2F
  #ColorHoneydew             = $FFF0FFF0
  #ColorHotPink              = $FFFF69B4
  #ColorIndianRed            = $FFCD5C5C
  #ColorIndigo               = $FF4B0082
  #ColorIvory                = $FFFFFFF0
  #ColorKentuckyGreen        = $FF339966
  #ColorKhaki                = $FFF0E68C
  #ColorLavender             = $FFE6E6FA
  #ColorLavenderBlush        = $FFFFF0F5
  #ColorLawnGreen            = $FF7CFC00
  #ColorLemonChiffon         = $FFFFFACD
  #ColorLightBlue            = $FFADD8E6
  #ColorLightCoral           = $FFF08080
  #ColorLightCyan            = $FFE0FFFF
  #ColorLightGoldenrod       = $FFEEDD82
  #ColorLightGoldenrodYellow = $FFFAFAD2
  #ColorLightGray            = $FFD3D3D3
  #ColorLightGreen           = $FF90EE90
  #ColorLightOrange          = $FFFF9933
  #ColorLightPink            = $FFFFB6C1
  #ColorLightSalmon          = $FFFFA07A
  #ColorLightSeaGreen        = $FF20B2AA
  #ColorLightSkyBlue         = $FF87CEFA
  #ColorLightSlateGray       = $FF778899
  #ColorLightSteelBlue       = $FFB0C4DE
  #ColorLightViolet          = $FFFF99FF
  #ColorLightYellow          = $FFFFFFE0
  #ColorLime                 = $FF00FF00
  #ColorLimeGreen            = $FF32CD32
  #ColorLinen                = $FFFAF0E6
  #ColorMagenta              = $FFFF00FF
  #ColorMaroon               = $FF800000
  #ColorMartianGreen         = $FF99CC33
  #ColorMediumAquamarine     = $FF66CDAA
  #ColorMediumBlue           = $FF0000CD
  #ColorMediumOrchid         = $FFBA55D3
  #ColorMediumPurple         = $FF9370DB
  #ColorMediumSeaGreen       = $FF3CB371
  #ColorMediumSlateBlue      = $FF7B68EE
  #ColorMediumSpringGreen    = $FF00FA9A
  #ColorMediumTurquoise      = $FF48D1CC
  #ColorMediumVioletRed      = $FFC71585
  #ColorMidnightBlue         = $FF191970
  #ColorMintCream            = $FFF5FFFA
  #ColorMistyRose            = $FFFFE4E1
  #ColorMoccasin             = $FFFFE4B5
  #ColorMoonGreen            = $FFCCFF66
  #ColorMossGreen            = $FF336666
  #ColorNavajoWhite          = $FFFFDEAD
  #ColorNavy                 = $FF000080
  #ColorOceanGreen           = $FF669999
  #ColorOldLace              = $FFFDF5E6
  #ColorOlive                = $FF808000
  #ColorOliveDrab            = $FF6B8E23
  #ColorOrange               = $FFFFA500
  #ColorOrangeRed            = $FFFF4500
  #ColorOrchid               = $FFDA70D6
  #ColorPaleGoldenrod        = $FFEEE8AA
  #ColorPaleGreen            = $FF98FB98
  #ColorPaleTurquoise        = $FFAFEEEE
  #ColorPaleVioletRed        = $FFDB7093
  #ColorPaleYellow           = $FFFFFFCC
  #ColorPapayaWhip           = $FFFFEFD5
  #ColorPeachPuff            = $FFFFDAB9
  #ColorPeru                 = $FFCD853F
  #ColorPink                 = $FFFFC0CB
  #ColorPlum                 = $FFDDA0DD
  #ColorPowderBlue           = $FFB0E0E6
  #ColorPurple               = $FF800080
  #ColorRed                  = $FFFF0000
  #ColorRosyBrown            = $FFBC8F8F
  #ColorRoyalBlue            = $FF4169E1
  #ColorSaddleBrown          = $FF8B4513
  #ColorSalmon               = $FFFA8072
  #ColorSand                 = $FFFFCC99
  #ColorSandyBrown           = $FFF4A460
  #ColorSeaGreen             = $FF2E8B57
  #ColorSeaShell             = $FFFFF5EE
  #ColorSienna               = $FFA0522D
  #ColorSilver               = $FFC0C0C0
  #ColorSkyBlue              = $FF87CEEB
  #ColorSlateBlue            = $FF6A5ACD
  #ColorSlateGray            = $FF708090
  #ColorSnow                 = $FFFFFAFA
  #ColorSpringGreen          = $FF00FF7F
  #ColorSteelBlue            = $FF4682B4
  #ColorTan                  = $FFD2B48C
  #ColorTeal                 = $FF008080
  #ColorThistle              = $FFD8BFD8
  #ColorTomato               = $FFFF6347
  #ColorTransparent          = $FFFFFFFE
  #ColorTropicalPink         = $FFFF6666
  #ColorTurquoise            = $FF40E0D0
  #ColorViolet               = $FFEE82EE
  #ColorVioletRed            = $FFD02090
  #ColorWalnut               = $FF663300
  #ColorWheat                = $FFF5DEB3
  #ColorWhite                = $FFFFFFFF
  #ColorWhiteSmoke           = $FFF5F5F5
  #ColorYellow               = $FFFFFF00
  #ColorYellowGreen          = $FF9ACD32
EndEnumeration
Enumeration   0 ; CtrlStyle
  #RMC_CTRLSTYLEFLAT 
  #RMC_CTRLSTYLEFLATSHADOW 
  #RMC_CTRLSTYLE3D 
  #RMC_CTRLSTYLE3DLIGHT 
  #RMC_CTRLSTYLEIMAGE 
  #RMC_CTRLSTYLEIMAGETILED 
EndEnumeration
Enumeration   1 ; SeriesType
  #RMC_BARSERIES 
  #RMC_LINESERIES 
  #RMC_GRIDLESSSERIES 
  #RMC_VOLUMEBARSERIES 
  #RMC_HIGHLOWSERIES 
  #RMC_XYSERIES 
EndEnumeration  
Enumeration   1 ; BarSeriesType
  #RMC_BARSINGLE 
  #RMC_BARGROUP 
  #RMC_BARSTACKED 
  #RMC_BARSTACKED100 
  #RMC_FLOATINGBAR 
  #RMC_FLOATINGBARGROUP 
EndEnumeration
Enumeration  21 ; LineSeriesType
  #RMC_LINE 
  #RMC_AREA 
  #RMC_LINE_INDEXED 
  #RMC_AREA_INDEXED 
  #RMC_AREA_STACKED 
  #RMC_AREA_STACKED100 
EndEnumeration
Enumeration   1 ; BarSeriesStyle
  #RMC_BAR_FLAT 
  #RMC_BAR_FLAT_GRADIENT1 
  #RMC_BAR_FLAT_GRADIENT2 
  #RMC_BAR_HOVER 
  #RMC_COLUMN_FLAT 
  #RMC_BAR_3D 
  #RMC_BAR_3D_GRADIENT 
  #RMC_COLUMN_3D 
  #RMC_COLUMN_3D_GRADIENT 
  #RMC_COLUMN_FLUTED 
EndEnumeration
Enumeration  10 ; CTypes
  #RMC_GRIDBASED = 10
  #RMC_VOLUMEBAR = 31
  #RMC_HIGHLOW   = 41
  #RMC_GRIDLESS  = 51
  #RMC_XYCHART   = 70
EndEnumeration
Enumeration  16 ; LineSeriesStyle
  #RMC_LINE_FLAT_DASHDOTDOT 
  #RMC_LINE_FLAT_DASHDOT 
  #RMC_LINE_FLAT_DASH 
  #RMC_LINE_FLAT_DOT 
  #RMC_LINE_FLAT = 21
  #RMC_LINE_CABLE 
  #RMC_LINE_3D 
  #RMC_LINE_3D_GRADIENT 
  #RMC_AREA_FLAT 
  #RMC_AREA_FLAT_GRADIENT_V 
  #RMC_AREA_FLAT_GRADIENT_H 
  #RMC_AREA_FLAT_GRADIENT_C 
  #RMC_AREA_3D 
  #RMC_AREA_3D_GRADIENT_V 
  #RMC_AREA_3D_GRADIENT_H 
  #RMC_AREA_3D_GRADIENT_C 
  #RMC_LINE_FLAT_SHADOW 
  #RMC_LINE_CABLE_SHADOW 
  #RMC_LINE_SYMBOLONLY 
EndEnumeration
Enumeration   1 ; LineSeriesLineStyle
  #RMC_LSTYLE_LINE 
  #RMC_LSTYLE_SPLINE 
  #RMC_LSTYLE_STAIR 
  #RMC_LSTYLE_LINE_AREA 
  #RMC_LSTYLE_SPLINE_AREA 
  #RMC_LSTYLE_STAIR_AREA 
EndEnumeration
Enumeration   0 ; LineSeriesSymbol
  #RMC_SYMBOL_NONE 
  #RMC_SYMBOL_ROUND 
  #RMC_SYMBOL_DIAMOND 
  #RMC_SYMBOL_SQUARE 
  #RMC_SYMBOL_STAR 
  #RMC_SYMBOL_ARROW_DOWN 
  #RMC_SYMBOL_ARROW_UP 
  #RMC_SYMBOL_POINT 
  #RMC_SYMBOL_CIRCLE 
  #RMC_SYMBOL_RECTANGLE 
  #RMC_SYMBOL_CROSS 
  #RMC_SYMBOL_ROUND_SMALL 
  #RMC_SYMBOL_DIAMOND_SMALL 
  #RMC_SYMBOL_SQUARE_SMALL 
  #RMC_SYMBOL_STAR_SMALL 
  #RMC_SYMBOL_ARROW_DOWN_SMALL 
  #RMC_SYMBOL_ARROW_UP_SMALL 
  #RMC_SYMBOL_POINT_SMALL 
  #RMC_SYMBOL_CIRCLE_SMALL 
  #RMC_SYMBOL_RECTANGLE_SMALL 
  #RMC_SYMBOL_CROSS_SMALL 
  #RMC_SYMBOL_BULLET 
  #RMC_SYMBOL_BULLET_SMALL 
EndEnumeration
Enumeration   1 ; HighLowSeriesStyle
  #RMC_OHLC 
  #RMC_CANDLESTICK 
EndEnumeration
Enumeration  51 ; GridlessSeriesStyle
  #RMC_PIE_FLAT 
  #RMC_PIE_GRADIENT 
  #RMC_PIE_3D 
  #RMC_PIE_3D_GRADIENT 
  #RMC_DONUT_FLAT 
  #RMC_DONUT_GRADIENT 
  #RMC_DONUT_3D 
  #RMC_DONUT_3D_GRADIENT 
  #RMC_PYRAMIDE 
  #RMC_PYRAMIDE3 
EndEnumeration
Enumeration   1 ; PieDonutAlignment
  #RMC_FULL 
  #RMC_HALF_TOP 
  #RMC_HALF_RIGHT 
  #RMC_HALF_BOTTOM 
  #RMC_HALF_LEFT 
EndEnumeration
Enumeration  66 ; XYSeriesStyle
  #RMC_XY_LINE_DASHDOTDOT = 66
  #RMC_XY_LINE_DASHDOT    = 67
  #RMC_XY_LINE_DASH       = 68
  #RMC_XY_LINE_DOT        = 69
  #RMC_XY_LINE            = 70
  #RMC_XY_LINESYMBOL      = #RMC_XY_LINE
  #RMC_XY_SYMBOL          = 71
  #RMC_XY_CABLE           = 73
  #RMC_XY_CABLESYMBOL     = #RMC_XY_CABLE
EndEnumeration
Enumeration   0 ; Hatchmodes
  #RMC_HATCHBRUSH_OFF 
  #RMC_HATCHBRUSH_ON 
  #RMC_HATCHBRUSH_ONPRINTING 
EndEnumeration
Enumeration   1 ; DAxisAlignment
  #RMC_DATAAXISLEFT 
  #RMC_DATAAXISRIGHT 
  #RMC_DATAAXISTOP 
  #RMC_DATAAXISBOTTOM 
EndEnumeration
Enumeration   5 ; LAxisAlignment
  #RMC_LABELAXISLEFT 
  #RMC_LABELAXISRIGHT 
  #RMC_LABELAXISTOP 
  #RMC_LABELAXISBOTTOM 
EndEnumeration
Enumeration  11 ; XAxisAlignment
  #RMC_XAXISTOP 
  #RMC_XAXISBOTTOM 
EndEnumeration
Enumeration   9 ; YAxisAlignment
  #RMC_YAXISLEFT 
  #RMC_YAXISRIGHT 
EndEnumeration
Enumeration   1 ; AxisType
  #RMC_DATAAXIS 
  #RMC_LABELAXIS 
EndEnumeration
Enumeration   0 ; AxisLineStyle
  #RMC_LINESTYLESOLID   = 0
  #RMC_LINESTYLEDASH    = 1
  #RMC_LINESTYLEDOT     = 2
  #RMC_LINESTYLEDASHDOT = 3
  #RMC_LINESTYLENONE    = 6
EndEnumeration
Enumeration   0 ; LabelTextAlignment
  #RMC_TEXTCENTER 
  #RMC_TEXTLEFT 
  #RMC_TEXTRIGHT 
  #RMC_TEXTDOWNWARD 
  #RMC_TEXTUPWARD 
EndEnumeration
Enumeration  -1 ; LegendAlignment
  #RMC_LEGEND_NONE 
  #RMC_LEGEND_TOP = 1
  #RMC_LEGEND_LEFT 
  #RMC_LEGEND_RIGHT 
  #RMC_LEGEND_BOTTOM 
  #RMC_LEGEND_UL 
  #RMC_LEGEND_UR 
  #RMC_LEGEND_LL 
  #RMC_LEGEND_LR 
  #RMC_LEGEND_ONVLABELS 
  #RMC_LEGEND_CUSTOM_TOP = 11
  #RMC_LEGEND_CUSTOM_LEFT 
  #RMC_LEGEND_CUSTOM_RIGHT 
  #RMC_LEGEND_CUSTOM_BOTTOM 
  #RMC_LEGEND_CUSTOM_UL 
  #RMC_LEGEND_CUSTOM_UR 
  #RMC_LEGEND_CUSTOM_LL 
  #RMC_LEGEND_CUSTOM_LR 
  #RMC_LEGEND_CUSTOM_CENTER 
  #RMC_LEGEND_CUSTOM_CR 
  #RMC_LEGEND_CUSTOM_CL 
EndEnumeration
Enumeration   1 ; LegendStyle
  #RMC_LEGENDNORECT 
  #RMC_LEGENDRECT 
  #RMC_LEGENDRECTSHADOW 
  #RMC_LEGENDROUNDRECT 
  #RMC_LEGENDROUNDRECTSHADOW 
EndEnumeration
Enumeration   0 ; ValueLabels
  #RMC_VLABEL_NONE            = 0
  #RMC_VLABEL_DEFAULT         = 1
  #RMC_VLABEL_PERCENT         = 5
  #RMC_VLABEL_ABSOLUTE        = 6
  #RMC_VLABEL_TWIN            = 7
  #RMC_VLABEL_LEGENDONLY      = 8
  #RMC_VLABEL_DEFAULT_NOZERO  = 11
  #RMC_VLABEL_PERCENT_NOZERO  = 15
  #RMC_VLABEL_ABSOLUTE_NOZERO = 16
  #RMC_VLABEL_TWIN_NOZERO     = 17
EndEnumeration
Enumeration   0 ; BicolorModes
  #RMC_BICOLOR_NONE 
  #RMC_BICOLOR_DATAAXIS 
  #RMC_BICOLOR_LABELAXIS 
  #RMC_BICOLOR_BOTH 
EndEnumeration
Enumeration   1 ; FileTypes
  #RMC_EMF 
  #RMC_EMFPLUS 
  #RMC_BMP 
EndEnumeration
Enumeration 512 ; Events
  #RMC_MOUSEMOVE 
  #RMC_LBUTTONDOWN 
  #RMC_LBUTTONUP 
  #RMC_LBUTTONDBLCLK 
  #RMC_RBUTTONDOWN 
  #RMC_RBUTTONUP 
  #RMC_RBUTTONDBLCLK 
  #RMC_MBUTTONDOWN 
  #RMC_MBUTTONUP 
  #RMC_MBUTTONDBLCLK 
  #RMC_SHIFTLBUTTONDOWN 
  #RMC_SHIFTLBUTTONUP 
  #RMC_SHIFTLBUTTONDBLCLK 
  #RMC_SHIFTRBUTTONDOWN 
  #RMC_SHIFTRBUTTONUP 
  #RMC_SHIFTRBUTTONDBLCLK 
  #RMC_SHIFTMBUTTONDOWN 
  #RMC_SHIFTMBUTTONUP 
  #RMC_SHIFTMBUTTONDBLCLK 
  #RMC_CTRLLBUTTONDOWN 
  #RMC_CTRLLBUTTONUP 
  #RMC_CTRLLBUTTONDBLCLK 
  #RMC_CTRLRBUTTONDOWN 
  #RMC_CTRLRBUTTONUP 
  #RMC_CTRLRBUTTONDBLCLK 
  #RMC_CTRLMBUTTONDOWN 
  #RMC_CTRLMBUTTONUP 
  #RMC_CTRLMBUTTONDBLCLK 
EndEnumeration

;- 
;- PUBLIC - STRUCTURES
;- 

Structure RMC_INFO
  nXPos.l
  nYPos.l
  nXMove.l
  nYMove.l
  nRegionIndex.l
  nRLeft.l
  nRTop.l
  nRRight.l
  nRBottom.l
  nSeriesIndex.l
  nDataIndex.l
  nChartType.l
  nSLeft.l
  nSTop.l
  nSRight.l
  nSBottom.l
  nSTop2.l
  nSBottom2.l
  nGLeft.l
  nGTop.l
  nGRight.l
  nGBottom.l
  nGCol.l
  nGRow.l
  nData1.d
  nData2.d
  nData3.d
  nData4.d
  nVirtData1.d
  nVirtData2.d
  nVirtData3.d
  nVirtData4.d
EndStructure
Structure RMC_BARSERIES
  nType.l
  nStyle.l
  nIsLucent.l
  nColor.l
  nIsHorizontal.l
  nWhichDataAxis.l
  nValueLabelOn.l
  nPointsPerColumn.l
  nHatchMode.l
EndStructure
Structure RMC_CAPTION
  nBackColor.l
  nTextColor.l
  nFontSize.l
  nIsBold.l
  sText.s{200} ; sText.c[200]
EndStructure
Structure RMC_CHART
  nTop.l
  nLeft.l
  nWidth.l
  nHeight.l
  nBackColor.l
  nCtrlStyle.l
  nExportOnly.l
  sBgImage.s{100} ; sBgImage.c[100]
  sFontName.s{50} ; sFontName.c[50]
EndStructure
Structure RMC_DATAAXIS
  nAlignment.l
  nMinValue.d
  nMaxValue.d
  nTickCount.l
  nFontSize.l
  nTextColor.l
  nLineColor.l
  nLineStyle.l
  nDecimalDigits.l
  sUnit.s{16}    ; sUnit.c[16]
  sText.s{100}   ; sText.c[100]
  sLabels.s{500} ; sLabels.c[500]
EndStructure
Structure RMC_GRID
  nGridBackColor.l
  nAsGradient.l
  nBicolor.l
  nLeft.l
  nTop.l
  nWidth.l
  nHeight.l
EndStructure
Structure RMC_GRIDLESSSERIES
  nStyle.l
  nPieAlignment.l
  nExplodemode.l
  nIsLucent.l
  nValueLabelOn.l
  nHatchMode.l
  nStartAngle.l
EndStructure
Structure RMC_LABELAXIS
  nCount.l
  nTickCount.l
  nAlignment.l
  nFontSize.l
  nTextColor.l
  nTextAlignment.l
  nLineColor.l
  nLineStyle.l
  sText.s{100} ; sText.c[100]
EndStructure
Structure RMC_LEGEND
  nLegendAlign.l
  nLegendBackColor.l
  nLegendStyle.l
  nLegendTextColor.l
  nLegendFontSize.l
  nLegendIsBold.l
EndStructure
Structure RMC_LINESERIES
  nType.l
  nStyle.l
  nLineStyle.l
  nIsLucent.l
  nColor.l
  nSeriesSymbol.l
  nWhichDataAxis.l
  nValueLabelOn.l
  nHatchMode.l
EndStructure
Structure RMC_REGION
  nTop.l
  nLeft.l
  nWidth.l
  nHeight.l
  sFooter.s{200} ; sFooter.c[200]
  nShowBorder.l
EndStructure
Structure RMC_XYAXIS
  nAlignment.l
  nMinValue.d
  nMaxValue.d
  nTickCount.l
  nFontSize.l
  nTextColor.l
  nLineColor.l
  nLineStyle.l
  nDecimalDigits.l
  sUnit.s{16}    ; sUnit.c[16]
  sText.s{100}   ; sText.c[100]
  sLabels.s{500} ; sLabels.c[500]
EndStructure
Structure RMC_XYSERIES
  nColor.l
  nStyle.l
  nLineStyle.l
  nSeriesSymbol.l
  nWhichXAxis.l
  nWhichYAxis.l
  nValueLabelOn.l
EndStructure


ImportC "RMCHART.lib"

;- 
;- PRIVATE - PROTOTYPES
;- 
  
  
RMC_AddBarSeries.l(nCtrlId.l, nRegion.l, *nFirstDataValue.double, nDataValuesCount.l, nType.l, nStyle.l, nIsLucent.l, nColor.l, nIsHorizontal.l, nWhichDataAxis.l, nValueLabelOn.l, nPointsPerColumn.l, nHatchMode.l) 
RMC_AddBarSeriesI.l(nCtrlId.l, nRegion.l, *nFirstDataValue.double, nDataValuesCount.l, *struct.RMC_BARSERIES) 
RMC_AddCaption.l(nCtrlId.l, nRegion.l, sCaption.p-ascii, nBackColor.l, nTextColor.l, nFontSize.l, nFontbold.l) 
RMC_AddCaptionI.l(nCtrlId.l, nRegion.l, *struct.RMC_CAPTION) 
RMC_AddDataAxis.l(nCtrlId.l, nRegion.l, nAlignment.l, nMinValue.d, nMaxValue.d, nTickCount.l, nFontSize.l, nTextColor.l, nLineColor.l, nLineStyle.l, nDecimalDigits.l, sUnit.p-ascii, sText.p-ascii, sLabels.p-ascii, nLabelAlignment.l) 
RMC_AddDataAxisI.l(nCtrlId.l, nRegion.l, *struct.RMC_DATAAXIS) 
RMC_AddGrid.l(nCtrlId.l, nRegion.l, nBackColor.l = 0, nAsGradient.l = 0, nLeft.l = 0, nTop.l = 0, nWidth.l = 0, nHeight.l = 0, nBicolor.l = 0) 
RMC_AddGridI.l(nCtrlId.l, nRegion.l, *struct.RMC_GRID) 
RMC_AddGridlessSeries.l(nCtrlId.l, nRegion.l, *nFirstDataValue.double, nDataValuesCount.l, *nFirstColorValue.long, nColorValuesCount.l, nStyle.l, nAlignment.l, nExplodemode.l, nIsLucent.l, nValueLabelOn.l, nHatchMode.l, nStartAngle.l) 
RMC_AddGridlessSeriesI.l(nCtrlId.l, nRegion.l, *nFirstDataValue.double, nDataValuesCount.l, *nFirstColorValue.long, nColorValuesCount.l, *struct.RMC_GRIDLESSSERIES) 
RMC_AddHighLowSeries.l(nCtrlId.l, nRegion.l, *nFirstDataValue.double, nDataValuesCount.l, *nFirstPPCValue.long, nPPCValuesCount.l, nStyle.l, nWhichDataAxis.l, nColorLow.l, nColorHigh.l) 
RMC_AddLabelAxis.l(nCtrlId.l, nRegion.l, sLabels.p-ascii, nAxisCount.l, nTickCount.l, nAlignment.l, nFontSize.l, nTextColor.l, nTextAlignment.l, nLineColor.l, nLineStyle.l, sText.p-ascii) 
RMC_AddLabelAxisI.l(nCtrlId.l, nRegion.l, sLabels.p-ascii, *struct.RMC_LABELAXIS) 
RMC_AddLegend.l(nCtrlId.l, nRegion.l, sLegendtext.p-ascii, nAlignment.l, nBackColor.l, nStyle.l, nTextColor.l, nFontSize.l, nFontbold.l) 
RMC_AddLegendI.l(nCtrlId.l, nRegion.l, sLegendtext.p-ascii, *struct.RMC_LEGEND) 
RMC_AddLineSeries.l(nCtrlId.l, nRegion.l, *nFirstDataValue.double, nDataValuesCount.l, *nFirstPPCValue.long, nPPCValuesCount.l, nType.l, nStyle.l, nLineStyle.l, nIsLucent.l, nColor.l, nSymbol.l, nWhichDataAxis.l, nValueLabelOn.l, nHatchMode.l) 
RMC_AddLineSeriesI.l(nCtrlId.l, nRegion.l, *nFirstDataValue.double, *nDataValuesCount.long, *nFirstPPCValue.long, nPPCValuesCount.l, *struct.RMC_LINESERIES) 
RMC_AddRegion.l(nCtrlId.l, nLeft.l, nTop.l, nWidth.l, nHeight.l, sFooter.p-ascii = 0, nShowBorder.l = 0) 
RMC_AddRegionI.l(nCtrlId.l, *struct.RMC_REGION) 
RMC_AddVolumeBarSeries.l(nCtrlId.l, nRegion.l, *nFirstDataValue.double, nDataValuesCount.l, *nFirstPPCValue.long, nPPCValuesCount.l, nColor.l, nWhichDataAxis.l) 
RMC_AddXAxis.l(nCtrlId.l, nRegion.l, nAlignment.l = 0, nMinValue.d = 0, nMaxValue.d = 0, nTickCount.l = 0, nFontSize.l = 0, nTextColor.l = 0, nLineColor.l = 0, nLineStyle.l = 0, nDecimalDigits.l = 0, sUnit.p-ascii = 0, sText.p-ascii = 0, sLabels.p-ascii = 0, nLabelAlignment.l = 0) 
RMC_AddXAxisI.l(nCtrlId.l, nRegion.l, *struct.RMC_XYAXIS) 
RMC_AddYAxis.l(nCtrlId.l, nRegion.l, nAlignment.l = 0, nMinValue.d = 0, nMaxValue.d = 0, nTickCount.l = 0, nFontSize.l = 0, nTextColor.l = 0, nLineColor.l = 0, nLineStyle.l = 0, nDecimalDigits.l = 0, sUnit.p-ascii = 0, sText.p-ascii = 0, sLabels.p-ascii = 0, nLabelAlignment.l = 0) 
RMC_AddYAxisI.l(nCtrlId.l, nRegion.l, *struct.RMC_XYAXIS) 
RMC_AddXYSeries.l(nCtrlId.l, nRegion.l, *nFirstXDataValue.double = 0, nDataXValuesCount.l = 0, *nFirstYDataValue.double = 0, nDataYValuesCount.l = 0, nColor.l = 0, nStyle.l = 0, nLineStyle.l = 0, nSymbol.l = 0, nWhichXAxis.l = 0, nWhichYAxis.l = 0, nValueLabelOn.l = 0)
RMC_AddXYSeriesI.l(nCtrlId.l, nRegion.l, *nFirstXDataValue.double, nDataXValuesCount.l, *nFirstYDataValue.double, nDataYValuesCount.l, *struct.RMC_XYSERIES) 
;}                   
;{ RMC_Create
RMC_CreateChart.l(nParentHndl.l, nCtrlId.l, nX.l, nY.l, nWidth.l, nHeight.l, nBackColor.l = 0, nCtrlStyle.l = 0, nExportOnly.l = 0, sBgImage.p-ascii = 0, sFontName.p-ascii = 0)
RMC_CreateChartI.l(nParentHndl.l, nCtrlId.l, *struct.RMC_CHART)
RMC_CreateChartFromFile.l(nParentHndl.l, nCtrlId.l, nX.l, nY.l, nExportOnly.l, sRMCFile.p-ascii)
RMC_CreateChartFromFileOnDC.l(nParentHndl.l, nCtrlId.l, nX.l, nY.l, sRMCFile.p-ascii)
RMC_CreateChartOnDC.l(nParentDC.l, nCtrlId.l, nX.l, nY.l, nWidth.l, nHeight.l, nBackColor.l = 0, nCtrlStyle.l = 0, sBgImage.p-ascii = 0, sFontName.p-ascii = 0)
RMC_CreateChartOnDCI.l(nParentHndl.l, nCtrlId.l, *struct.RMC_CHART)
;}
;{ RMC_Draw
RMC_Draw.l(nCtrlId.l)
RMC_Draw2Clipboard.l(nCtrlId.l, nType.l)
RMC_Draw2File.l(nCtrlId.l, sFileName.p-ascii, nWidth.l, nHeight.l)
RMC_Draw2Printer.l(nCtrlId.l, nPrinterDC.l, nLeft.l, nTop.l, nWidth.l, nHeight.l, nType.l)
;}
;{ RMC_Misc
RMC_DeleteChart.l(nCtrlId.l)
RMC_Paint.l(nCtrlId.l)
RMC_Reset.l(nCtrlId.l)
RMC_SaveBMP.l(hBmp.l, sFileName.p-ascii)
RMC_WriteRMCFile.l(nCtrlId.l, sRMCFile.p-ascii)
;} 
;{ RMC_Get
RMC_GetChartsizeFromFile.l(sRMCFile.p-ascii, *nWidth.long, *nHeight.long)
RMC_GetCtrlLeft.l(nCtrlId.l)
RMC_GetCtrlTop.l(nCtrlId.l)
RMC_GetCtrlWidth.l(nCtrlId.l)
RMC_GetCtrlHeight.l(nCtrlId.l)
RMC_GetINFO.l(nCtrlId.l, *struct.RMC_INFO, nRegionIndex.l, nSeriesIndex.l, nDataIndex.l)
RMC_GetINFOXY.l(nCtrlId.l, *struct.RMC_INFO, nX.l, nY.l)
RMC_GetVersion.d()
;} 
;{ RMC_Set
RMC_SetCaptionBGColor.l(nCtrlId.l, nRegion.l, nColor.l) As "RMC_SETCAPTIONBGCOLOR"
RMC_SetCaptionFontSize.l(nCtrlId.l, nRegion.l, nFontbold.l)
RMC_SetCaptionFontBold.l(nCtrlId.l, nRegion.l, nFontSize.l)
RMC_SetCaptionText.l(nCtrlId.l, nRegion.l, sText.p-ascii)
RMC_SetCaptionTextColor.l(nCtrlId.l, nRegion.l, nColor.l)
RMC_SetCtrlBGColor.l(nCtrlId.l, nColor.l)
RMC_SetCtrlBGImage.l(nCtrlId.l, sBgImage.p-ascii)
RMC_SetCtrlFont.l(nCtrlId.l, sFontName.p-ascii)
RMC_SetCtrlPos.l(nCtrlId.l, nLeft.l, nTop.l, nRelative.l)
RMC_SetCtrlSize.l(nCtrlId.l, nWidth.l, nHeight.l, nRelative.l)
RMC_SetCtrlStyle.l(nCtrlId.l, nStyle.l)
RMC_SetDAXAlignment.l(nCtrlId.l, nRegion.l, nAlignment.l)
RMC_SetDAXDecimalDigits.l(nCtrlId.l, nRegion.l, nDecimalDigits.l, nAxisIndex.l)
RMC_SetDAXFontSize.l(nCtrlId.l, nRegion.l, nFontSize.l)
RMC_SetDAXLineColor.l(nCtrlId.l, nRegion.l, nColor.l)
RMC_SetDAXLabelAlignment.l(nCtrlId.l, nRegion.l, nLabelAlignment.l, nAxisIndex.l)
RMC_SetDAXLabels.l(nCtrlId.l, nRegion.l, sLabels.p-ascii, nAxisIndex.l)
RMC_SetDAXLineStyle.l(nCtrlId.l, nRegion.l, nStyle.l)
RMC_SetDAXMaxValue.l(nCtrlId.l, nRegion.l, nMaxValue.d, nAxisIndex.l)
RMC_SetDAXMinValue.l(nCtrlId.l, nRegion.l, nMinValue.d, nAxisIndex.l)
RMC_SetDAXText.l(nCtrlId.l, nRegion.l, sText.p-ascii, nAxisIndex.l)
RMC_SetDAXTextColor.l(nCtrlId.l, nRegion.l, nColor.l)
RMC_SetDAXTickcount.l(nCtrlId.l, nRegion.l, nTickCount.l)
RMC_SetDAXUnit.l(nCtrlId.l, nRegion.l, sUnit.p-ascii, nAxisIndex.l)
RMC_SetGridBGColor.l(nCtrlId.l, nRegion.l, nColor.l)
RMC_SetGridGradient.l(nCtrlId.l, nRegion.l, nGradient.l)
RMC_SetGridMargin.l(nCtrlId.l, nRegion.l, nLeft.l, nTop.l, nWidth.l, nHeight.l)
RMC_SetLAXAlignment.l(nCtrlId.l, nRegion.l, nAlignment.l)
RMC_SetLAXCount.l(nCtrlId.l, nRegion.l, nLabelAxisCount.l)
RMC_SetLAXFontSize.l(nCtrlId.l, nRegion.l, nFontSize.l)
RMC_SetLAXLabelAlignment.l(nCtrlId.l, nRegion.l, nAlignment.l)
RMC_SetLAXLabels.l(nCtrlId.l, nRegion.l, sLabels.p-ascii)
RMC_SetLAXLineColor.l(nCtrlId.l, nRegion.l, nColor.l)
RMC_SetLAXLineStyle.l(nCtrlId.l, nRegion.l, nStyle.l)
RMC_SetLAXText.l(nCtrlId.l, nRegion.l, sText.p-ascii)
RMC_SetLAXTextColor.l(nCtrlId.l, nRegion.l, nColor.l)
RMC_SetLAXTickCount.l(nCtrlId.l, nRegion.l, nTickCount.l)
RMC_SetLegendAlignment.l(nCtrlId.l, nRegion.l, nAlignment.l)
RMC_SetLegendBGColor.l(nCtrlId.l, nRegion.l, nColor.l)
RMC_SetLegendFontBold.l(nCtrlId.l, nRegion.l, nFontbold.l)
RMC_SetLegendFontSize.l(nCtrlId.l, nRegion.l, nFontSize.l)
RMC_SetLegendStyle.l(nCtrlId.l, nRegion.l, nStyle.l)
RMC_SetLegendText.l(nCtrlId.l, nRegion.l, sText.p-ascii)
RMC_SetLegendTextColor.l(nCtrlId.l, nRegion.l, nColor.l)
RMC_SetRegionBorder.l(nCtrlId.l, nShowBorder.l)
RMC_SetRegionFooter.l(nCtrlId.l, nRegion.l, sFooter.p-ascii)
RMC_SetRegionMargin.l(nCtrlId.l, nRegion.l, nLeft.l, nTop.l, nWidth.l, nHeight.l)
RMC_SetRMCFile.l(nCtrlId.l, sRMCFile.p-ascii)
RMC_SetSeriesColor.l(nCtrlId.l, nRegion.l, nSeries.l, nColor.l, nIndex.l)
RMC_SetSeriesData.l(nCtrlId.l, nRegion.l, nSeries.l, *nFirstDataValue.double, nDataValuesCount.l, nYData.l)
RMC_SetSeriesDataAxis.l(nCtrlId.l, nRegion.l, nSeries.l, nWhichAxis.l)
RMC_SetSeriesDataFile.l(nCtrlId.l, nRegion.l, nSeries.l, sFileName.p-ascii, sLines.p-ascii, sFields.p-ascii, sFieldDelimiter.p-ascii, nYData.l)
RMC_SetSeriesExplodeMode.l(nCtrlId.l, nRegion.l, nSeries.l, nExplodemode.l)
RMC_SetSeriesHatchMode.l(nCtrlId.l, nRegion.l, nSeries.l, nHatchMode.l)
RMC_SetSeriesHide.l(nCtrlId.l, nRegion.l, nSeries.l, nHide.l)
RMC_SetSeriesLinestyle.l(nCtrlId.l, nRegion.l, nSeries.l, nLineStyle.l)
RMC_SetSeriesLucent.l(nCtrlId.l, nRegion.l, nSeries.l, nLucent.l)
RMC_SetSeriesSingleData.l(nCtrlId.l, nRegion.l, nSeries.l, nDataValue.d, nDataIndex.l, nYData.l)
RMC_SetSeriesStartAngle.l(nCtrlId.l, nRegion.l, nSeries.l, nStartAngle.l)
RMC_SetSeriesStyle.l(nCtrlId.l, nRegion.l, nSeries.l, nStyle.l)
RMC_SetSeriesSymbol.l(nCtrlId.l, nRegion.l, nSeries.l, nSymbol.l)
RMC_SetSeriesValuelabel.l(nCtrlId.l, nRegion.l, nSeries.l, nValuelabel.l)
RMC_SetSeriesVertical.l(nCtrlId.l, nRegion.l, nSeries.l, nVertical.l)
RMC_SetSeriesXAxis.l(nCtrlId.l, nRegion.l, nSeries.l, nWhichXAxis.l)
RMC_SetSeriesYAxis.l(nCtrlId.l, nRegion.l, nSeries.l, nWhichYAxis.l)
RMC_SetSingleBarColors.l(nCtrlId.l, nRegion.l, *nFirstColorValue.long, nColorValuesCount.l)
RMC_SetWatermark.l(sWatermark.p-ascii, nColor.l, nLucentValue.l, nAlignment.l, nFontSize.l) 
RMC_SetXAXAlignment.l(nCtrlId.l, nRegion.l, nAlignment.l, nAxisIndex.l)
RMC_SetXAXDecimalDigits.l(nCtrlId.l, nRegion.l, nDecimalDigits.l, nAxisIndex.l)
RMC_SetXAXFontSize.l(nCtrlId.l, nRegion.l, nFontSize.l, nAxisIndex.l)
RMC_SetXAXLabels.l(nCtrlId.l, nRegion.l, sLabels.p-ascii, nAxisIndex.l)
RMC_SetXAXLabelAlignment.l(nCtrlId.l, nRegion.l, nLabelAlignment.l, nAxisIndex.l)
RMC_SetXAXLineColor.l(nCtrlId.l, nRegion.l, nColor.l, nAxisIndex.l)
RMC_SetXAXLineStyle.l(nCtrlId.l, nRegion.l, nStyle.l, nAxisIndex.l)
RMC_SetXAXMaxValue.l(nCtrlId.l, nRegion.l, nMaxValue.d, nAxisIndex.l)
RMC_SetXAXMinValue.l(nCtrlId.l, nRegion.l, nMinValue.d, nAxisIndex.l)
RMC_SetXAXText.l(nCtrlId.l, nRegion.l, sText.p-ascii, nAxisIndex.l)
RMC_SetXAXTextColor.l(nCtrlId.l, nRegion.l, nColor.l, nAxisIndex.l)
RMC_SetXAXTickcount.l(nCtrlId.l, nRegion.l, nTickCount.l, nAxisIndex.l)
RMC_SetXAXUnit.l(nCtrlId.l, nRegion.l, sUnit.p-ascii, nAxisIndex.l)
RMC_SetYAXAlignment.l(nCtrlId.l, nRegion.l, nAlignment.l, nAxisIndex.l)
RMC_SetYAXDecimalDigits.l(nCtrlId.l, nRegion.l, nDecimalDigits.l, nAxisIndex.l)
RMC_SetYAXFontSize.l(nCtrlId.l, nRegion.l, nFontSize.l, nAxisIndex.l)
RMC_SetYAXLabels.l(nCtrlId.l, nRegion.l, sLabels.p-ascii, nAxisIndex.l)
RMC_SetYAXLabelAlignment.l(nCtrlId.l, nRegion.l, nLabelAlignment.l, nAxisIndex.l)
RMC_SetYAXLineColor.l(nCtrlId.l, nRegion.l, nColor.l, nAxisIndex.l)
RMC_SetYAXLineStyle.l(nCtrlId.l, nRegion.l, nStyle.l, nAxisIndex.l)
RMC_SetYAXMaxValue.l(nCtrlId.l, nRegion.l, nMaxValue.d, nAxisIndex.l)
RMC_SetYAXMinValue.l(nCtrlId.l, nRegion.l, nMinValue.d, nAxisIndex.l)
RMC_SetYAXText.l(nCtrlId.l, nRegion.l, sText.p-ascii, nAxisIndex.l)
RMC_SetYAXTextColor.l(nCtrlId.l, nRegion.l, nColor.l, nAxisIndex.l)
RMC_SetYAXTickcount.l(nCtrlId.l, nRegion.l, nTickCount.l, nAxisIndex.l)
RMC_SetYAXUnit.l(nCtrlId.l, nRegion.l, sUnit.p-ascii, nAxisIndex.l)
EndImport
i am getting polink errors of every function i try to link.

how do i use 32bit dll/lib in/with a 64bit purebasic compiler.
Any help is welcome

thanks
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: using a 32bit with a 64bit comiler (beta 1)

Post by ts-soft »

You can't use a 32-bit dll with a 64-bit program and versa vice!
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Post Reply