Programs Successfully Compiling to 64 bit executables
examples/GUI/
ChildWin.o2bas
HelloWin.o2bas
FileFuncs.o2bas
GraphWin.o2bas
KeyboardCodesCmpl.o2bas
OpenglChildWins.o2bas
OpenglWin1.o2bas
OpenglWin2.o2bas
OpenglWin3.o2bas
OpenglWinTex.o2bas
PortViewer1.o2bas
examples/COM/
Sapi4Cmpl.o2bas
examples/OOP/ClassLibrary64/
ClassLibrary64.o2bas
ClassLibraryTest64.o2bas
My current plan is to keep the Oxygen compiler itself 32 bit, producing 32 and 64 bit binaries on demand.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
namespace ConsoleApplication1
{
class Program
{
[DllImport("t64.dll", EntryPoint = "HelloW")]
[return: MarshalAs(UnmanagedType.TBStr)]
public static extern string HelloW([MarshalAs(UnmanagedType.TBStr)] string sText);
static void Main(string[] args)
{
Console.WriteLine(HelloW("Ciao Charles, this is great!"));
Console.ReadKey();
}
}
}
HelloW Ciao Charles, this is great!
PS: Judging by the complexity of the C# protocol, they seem to be saying:
"DLLs are weird primitive entities and are not welcome here!"
#include "..\inc\rtl32.inc"
for example, then the F5 key from the SciTe does not execute anything, and just builds EXE. #include "rtl32.inc"
, which didn't worked. I had to setup the path as #include "..\inc\rtl32.inc"