User Tag List

Results 1 to 6 of 6

Thread: SDK for free pascal?

  1. #1
    Clicker Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Darkhog's Avatar
    Join Date
    Jan 2009
    Location
    /dev/null
    Posts
    417
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)

    SDK for free pascal?

    I know, I know. There was talk about it.
    But I know that pascal/basic/another easy programming language will be useful for many beginner programmers such as I that want to make an extension. Pascal can create dlls. Basic - I don't know. So if it can create dlls, why you can't make Pascal SDK? I believe, more, I KNOW, that will give programmers who don't know c++, but know for example pascal, opportunity to make extensions. Pascal's syntax is simpler than syntax of c++/c. And even I create dll in, let's say, Delphi, I can use it in C++ Builder app. I must only export functions that will be used out of DLL.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: SDK for free pascal?

    Because you need to use mmfs2.lib and the Cnc* headers to interact with MMF2, which are very much C++.

  3. #3
    Clicker Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Darkhog's Avatar
    Join Date
    Jan 2009
    Location
    /dev/null
    Posts
    417
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)

    Re: SDK for free pascal?

    Jamie, you should read about free pascal compiler (fpc) linker's options. It can link with .lib files. And if you create Java SDK, that means you can also create pascal SDK. mmfs2.lib is a .lib file for mmfs2.dll, right? And pascal have funny external feature, that reads directly functions from dll.
    Code:
    unit expresent;
    interface
    Uses
    //I forgot in which unit is PChar definition
    procedure message(text:PChar); external 'samplelibrary';
    //this will links procedure message from library samplelibrary.dll.
    implementation
    
    end.
    Types conversion:
    int = Integer
    char (as single character) = char
    char[] (as string) = string
    char* = Pchar

    Functions and procedures
    void function(parameters) = procedure(parameters)
    Other typed functions return value of type in Type conversion
    And headers can be translated with h2pas or by hand

  4. #4
    Clicker Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Darkhog's Avatar
    Join Date
    Jan 2009
    Location
    /dev/null
    Posts
    417
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)

    Re: SDK for free pascal?

    bumping action.

  5. #5
    No Products Registered

    Join Date
    Aug 2006
    Location
    Stockholm, Sweden
    Posts
    479
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SDK for free pascal?

    Darkhog, it seems you're the man for the job (?)

    You seem to have some necessary fundamental knowledge about this.

  6. #6
    Clicker Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Darkhog's Avatar
    Join Date
    Jan 2009
    Location
    /dev/null
    Posts
    417
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)

    Re: SDK for free pascal?

    Except having knowledge about exported functions & procedures and its parameters from mmfs2.dll and having access to MMF source code.

    Oh, and I have lack of free time also.

Similar Threads

  1. Free free platformer Game Art
    By Keith in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 10th August 2013, 04:21 PM
  2. Launch new app for free or go from paid to free?
    By JoKa in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 6th December 2012, 11:18 PM
  3. Extension SDK for Delphi/Pascal?
    By Darkhog in forum Extension Development
    Replies: 18
    Last Post: 1st February 2009, 12:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •