Questions tagged [oxygene]

Oxygene is a general-purpose object-oriented programming language based on Pascal. Oxygene can be compiled to the Microsoft Common Language Runtime (.NET and the Mono), Java & Android's Dalvik, as well as the Objective-C runtime.

Oxygene is a general-purpose object-oriented programming language based on Pascal. Oxygene can be compiled to the Microsoft Common Language Runtime (.NET and the Mono), Java & Android's Dalvik, as well as the Objective-C runtime.

106 questions
0
votes
1 answer

Why does new FileStream get access violation in REST service when path has IP Address?

Why does this get an access violation: using fs := new FileStream( fullFilename, FileMode.Open, System.IO.FileAccess.Read ) when the fullfilename is like "\\52.1.1.1\d$\temp\file.bmp" and EVERYONE has access to the folder? If the file is just…
0
votes
1 answer

how can i install shineOn in Delphiprism?

how can i install shineOn in Delphiprism? I download ShineOn package for useing old's delphi functions such as inttostr and ... but i can istall or add them in my delphi area. Please help me. Regards
mehdi
  • 1
  • 1
0
votes
3 answers

What are the pros/cons of Delphi Prism 2010/2011?

Have you developed much with Delphi Prism 2010 or 2011? If so, what are your chief complaints? I can't seem to find much critique on the relatively new releases. What do you use it for? .NET apps on Windows? On a different OS? What do you like…
user366592
  • 21
  • 1
0
votes
1 answer

Error : Implementation for method missing (Delphi Prism)

I wrote my method: LangChange type MainForm = partial class(System.Windows.Forms.Form) private ... method LangChange(); protected method Dispose(disposing: Boolean); override; public constructor; …
Ilya Blokh
  • 11,923
  • 11
  • 52
  • 84
0
votes
2 answers

How to call function CreateProcess in Delphi Prism?

I wrote function CreateProcess( lpApplicationName:String; lpCommandLine:String; lpProcessAttributes:IntPtr; lpThreadAttributes:IntPtr; bInheritHandles:Boolean; …
Ilya Blokh
  • 11,923
  • 11
  • 52
  • 84
0
votes
2 answers

How call lockWindowUpdate using DelphiPrism

How can I call lockWindowUpdate using Delphi Prism?
Bill Seven
  • 768
  • 9
  • 27
0
votes
1 answer

TeeChart / Android / Oxygene

I have downloaded the Evaluation version of TeeChart for Android and I want to use it within an app developed using RemObjects Oxygene. If I create a simple hello world app using the default template and create a new chart using var chart: TChart…
Simon Temlett
  • 2,397
  • 2
  • 17
  • 17
0
votes
2 answers

How do you compare an oxygene class reference to classes?

Given the following code: type Class1 = public class end; Class1Class = class of Class1; Class2 = public class (Class1) end; Class3 = public class (Class1) end; Class4 = public class public method DoSomething(c:…
jep
  • 747
  • 6
  • 25
0
votes
1 answer

How to add an event in Oxygene?

I want to add a click event to a menu item which is created at runtime. In Oxygene var mi : MenuItem := new MenuItem(); In C# this would have been something like mi.Click += EventHandler(...); However Oxygene does not seem to use the +=…
sav
  • 2,064
  • 5
  • 25
  • 45
0
votes
3 answers

Strange GAC error in ASP.Net application

I'm experiencing a strange failure when trying to view my website under IIS. If I create a new ASP.Net web site application, don't modify it at all and run it (F5) the web page shows up with the error: Compilation Error Description: An error…
Alan Clark
  • 2,017
  • 21
  • 28
0
votes
1 answer

Namespace aliases in Oxygene

Is there a way to use namespace aliases in Oxygene .net? ie: Whats the Oxygene equivalent of the C# code using someOtherName = System.Timers.Timer; ?
sav
  • 2,064
  • 5
  • 25
  • 45
0
votes
1 answer

How to instantiate a COM object using interop in Delphi Prism

What is the correct syntax for instantiating a COM object in Delphi Prism using COM interop - new does not seem to do the job. I've added it as a reference to the website project. Here is the relevant code: method _Default.Button1_Click(sender:…
Alan Clark
  • 2,017
  • 21
  • 28
0
votes
1 answer

Is there something like WPF commands in Oxygene?

I'm just getting started with Oxygene. I'm trying to make a litlle WPF project with a MVVM pattern. So far it's working but i can't find a way to implement commands in oxygene. Does anyone know if this can be done and if so how?
Gert Hermans
  • 769
  • 1
  • 9
  • 30
0
votes
2 answers

DLL example in Oxygene

Can somebody tell me where to find an example in how to make an DLL (WindowsControlLibrary) in Oxygene for .NET? In the old Delphi, you make an export section.
0
votes
1 answer

Delphi Prism: Reading a string from binary file returns with wierd characters

I am writing a string into a file and reading it back out using binarywriter and binaryreader. When the string is read back out, it looks all funny and very long. I don't know why it is doing that. Here is how I write into a file with…
ThN
  • 3,235
  • 3
  • 57
  • 115