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
24
votes
1 answer

Why are there so many $IF DEFINED(CLR) in the VCL/RTL?

I've just compared the Delphi 2009 VCL/RTL code to the 2010 one. I noticed that there are many $IF DEFINED(CLR) conditional defines and they got more in the 2010 version. I thought that these conditional defines have fall into disuse, since Delphi…
ulrichb
  • 19,610
  • 8
  • 73
  • 87
10
votes
3 answers

Plugin for VS 2008 - With Structural Highlighting - Support Syntax Delphi Prism

Anybody know any plugin for Visual Studio 2008 that has the ability to "Structural Highlighting" and Syntax support for Delphi-Prism. Currently use Castalia and CnPack, but just work on Rad Studio. I've also used Codekana, but does not support the…
RRUZ
  • 134,889
  • 20
  • 356
  • 483
8
votes
5 answers

Has anyone done or does anyone knows of a way to use Delphi/Prism to develop for the Android os?

Is it somehow possible to use the Delphi language (or Prism if absolutely necessary) to develop programs for the Android platform ? Any starting point ?
Edelcom
  • 5,038
  • 8
  • 44
  • 61
8
votes
4 answers

List.AddRange inline declaration

This may seem an easy question, but not to me, also a search has led to nothing. Up until now the only .net programming I have done is with Delphi Prism. With Prism I can do things like: var l := new List(['A','B','C']); or var l := new…
AJ.
  • 10,732
  • 13
  • 41
  • 50
6
votes
5 answers

Is Delphi Prism a new version of Delphi .net?

First of all (before this question get down voted): I am a developer developing 99,99% of my programs using Delphi targeting Win32 (developing in Delphi 7 still, very slowly migrating to Delphi 2010). When Delphi 2006 or 2007 (can't remember which…
Edelcom
  • 5,038
  • 8
  • 44
  • 61
5
votes
0 answers

How do I get started making Web sites with Delphi Prism?

I'm new to Delphi Prism 2011. Where can I find step by step instructions for writing and testing a basic Hello,world type website? I need to write, run and debug a simple website to see how the IDE works and to be sure that the installation…
5
votes
4 answers

Good Delphi Prism online resources

A Google search on "delphi prism", "delphi prism resources" or "delphi prism code snippets" reveal almost no good sites at all are there any good programming site(s) with some good amount of code snippets and tutorials on Delphi Prism? Thanks in…
Omair Iqbal
  • 1,820
  • 1
  • 28
  • 41
5
votes
2 answers

How can I pass a Delphi string to a Prism DLL?

We try to pass a string from a native Delphi program to a Delphi Prism DLL. We have no problem passing integers, but strings are mismatched in the DLL. We saw Robert Love's code snippet in response to another question, but there is no code for the…
4
votes
2 answers

Where can I define Conditional compilation constants for Delphi Prism?

I've just ported a Web service from Delphi.NET 2006 to Delphi Prism 2009 (running in the Visual Studio 2008 IDE). But I can't find where I'm supposed to set (or unset) the conditional compilation constants! Am I blind, has this option been left…
Martijn
  • 13,225
  • 3
  • 48
  • 58
4
votes
1 answer

Delphi Syntax for TextMate

I exchanged emails with Marc-André Cournoyer of RefactorMyCode.com about supporting Delphi on his site. Since his site uses Ruby's UltraViolet to do syntax highlighting, and it uses TextMate syntaxes, he needs a Delphi syntax for TextMate. Turns…
Jim McKeeth
  • 38,225
  • 23
  • 120
  • 194
4
votes
1 answer

Cast int to Enum in Delphi Prism

Basically the same as this question, but in Delphi Prism: Cast int to enum in C# I manage to do it from a string: YourEnum := Enum.Parse(TypeOf(YourEnum), "mystr") as YourEnum But I tried the following, and get a type mismatch error: YourEnum := 3…
Robo
  • 4,588
  • 7
  • 40
  • 48
4
votes
2 answers

Can a suspended thread be aborted?

I created a thread and that thread can be suspended. So, how do I kill or terminate a suspended thread? I tried to ABORT the thread and I got a runtime error message saying that the thread is suspended and it can't be aborted. I've looked for…
ThN
  • 3,235
  • 3
  • 57
  • 115
4
votes
3 answers

Replacement for TStringList in Delphi Prism.

I am migrating an application written in Delphi 2007 .Net to Delphi Prism, which is the best option to replace the TStringList and TStrings class? Thanks in advance. Bye.
Salvador
  • 16,132
  • 33
  • 143
  • 245
3
votes
1 answer

Roll populating a Dictionary into a LINQ of For expression

I have a data object Data = class public s: string; i: Integer; end; with many of them in a list (or some collection): var ol : List := new List; ol.Add(new Data(s := 'One', i := 1)); ol.Add(new Data(s := 'Two', i :=…
Jim McKeeth
  • 38,225
  • 23
  • 120
  • 194
3
votes
5 answers

Doing XNA in Delphi Prism

I have installed Delphi Prism and XNA Game Studio 3.0. I have managed to translate to Delphi Prism XNA Tutorial 1 "Displaying a 3D Model on the Screen" (http://msdn.microsoft.com/en-us/library/bb197293.aspx). Project compiles fine, but I cannot…
pglowack
  • 291
  • 4
  • 9
1
2 3 4 5 6 7 8