Rings hat geschrieben:kam mal ein Mod hier den Offtopic raushauen ?
Wir sind bereits im Offtopic
Rings hat geschrieben:Ausserdem würde ich auch gerne ein Wrapper/import für
.NET Assemblies (so heissen die DotNet-DLL's ) habe
Wenn ich die Fragen des Thread-Erstellers so betrachte, könnte dies noch
etwas länger dauern
Gruß
Thomas
PureBasic 5.73 LTS | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Nutella hat nur sehr wenig Vitamine. Deswegen muss man davon relativ viel essen.
DrShrek hat geschrieben:Also macht Euch nix vor: Ohne runtimes wird PureBasic nicht laufen.
Mit Runtimes sind Dateien / DLLs gemeint, die mitgeliefert werden müssen, also im Falle von
PB lediglich die "Engine3D.*" sowie unter Windows die "Scintilla.dll", wenn diese Funktionalität
genutzt wird. Der Rest befindet sich statisch in der Exe. Weitere Dateien, die zwingend zum
OS gehören, sind keine Runtimes.
Gruß
Thomas
Doch es müssen weitere DLLs mitgeliefert oder installiert werden: DirectX nur mal als Beispiel genannt.
=
Siehste! Geht doch....?! PB*, *4PB, PetriDish, Movie2Image, PictureManager, TrainYourBrain, ...
Um zum Ausgangsthema wieder zurück zu kommen :
Ich habe von Basic4PPC noch ein paar .net - DLLs,
die ich gerne auch in PB nutzen möchte, komme aber
nicht mit der COMatePLUS.pbi klar.
Damit müßte es ja gehen.
Hat da jemand ein Beispiel, wie ich die Methoden
und Properties ansprechen kann ?
COMate_RegisterCOMServer(...) bringt mir schon
mal einen Wert (-2147024809), aber wie geht es weiter ?
DrShrek hat geschrieben:Doch es müssen weitere DLLs mitgeliefert oder installiert werden: DirectX nur mal als Beispiel genannt.
=
Bisschen stänkern am Morgen vertreibt Kummer und Sorgen.
Wenn DirectX genutzt wird must du allen Programmiersprachen der Welt die benötigte Version mitgeben bzw. gibt man das in den Systemvorraussetzungen an welche Version von DirectX mindestens gebraucht wird. Und nun? Frohe Ostern?
The BarChart object provides the following methods and properties
Methods
AddBar(value As Double , color As Color , String name) : Adds a bar to the chart of the given value, name and colour.
AddMultiBar(value As Double() , color As Color() , String name) : Adds a multiple bar to the chart of the given values, name and colours.
Draw : Returns the drawn bitmap of the chart.
DrawWithLegend(Legend As Control): Returns the drawn bitmap of the chart including the legend provided.
New1(width As Int32, height As Int32) : Creates a new bar chart of the given width and height.
Properties
I signifies readable, O signifies settable.
Alignment : Int32 [I/O] : Gets or sets the alignment of the bar chart in its bitmap. 0 is vertical bars, 1 is horizontal bars.
BorderSize : Int32 [I/O] : Gets or sets the width of an invisible border between the drawn chart and the edges of the bitmap.
Color : Color [I/O] : Gets or sets the background colour of the chart.
ColorGradient : Color [I/O] : Gets or sets the gradient colour of the chart.
CutOff : Double [I/O] : Gets or sets the cut-off value of the chart.
Dllversion : Double [I] : The version number of this library.
GridSpacingValue: Int32 [I/O] : Gets or sets the spacing value of the Y axis grid.
MarginForTextOnAxis : Int32 [I/O] : Gets or sets the margin for text below the X axis. Note that the Bar chart does not in fact display text on the X axis.
MaxScaleValue : Int32 [I/O] : Gets or sets the maximum value of the Y axis.
MaxBarSliceWidth : Int32 [I/O] : Gets or sets the maximum size of a bar on the chart.
MinScaleValue : Int32 [I/O] : Gets or sets the minimum value of the Y axis.
MultiStacked: Bool [I/O] : Gets or sets whether to display the multiple bars stacked or not.
RoundOffGridHeight : Bool [I/O] : Gets or sets whether to round up the Y axis size or not.
ShowGrid : Bool [I/O] : Gets or sets whether to show the chart grid or not.
Text : String [I/O] : Gets or sets the title displayed in the bar chart.
Hast Du denn auch ein PB für Pocket PCs?
Du willst die DLL doch nicht etwa für Windows nutzen, das wäre wie Fischen das Fliegen beibringen
Oder ist das nur eine DLL für die IDE von Basic4PPC?
Gruß
Thomas
PureBasic 5.73 LTS | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Nutella hat nur sehr wenig Vitamine. Deswegen muss man davon relativ viel essen.