Posts by iOSC

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.

    Yves,
    I'd love to take some time to try it as I opened a lot of bugs related to the event list editor, but without a Mac version, I just can't do anything (as I don't use windows anymore)... :( Actually I've stopped all my development stuff because of that. I'd love to beta test Fusion 3 when you'll need it though, hopefully.

    bpigot, This is not available for the moment since I have to make some improvements on it.
    For your second question, no android version since I don't know java.
    Also, please don't send a PM when you answer on the forum as well.

    Hi,
    I'm at the end of development for a new extension using EDIF (the latest version)
    This extension is for iOS runtime but will draw a rectangle on windows runtime in order to see where the object is.
    Everything is correctly working excepted when the object X or Y <= 0 - in that case, the whole object isn't displayed.

    Any ideas ?
    Here is the code in Extension.cpp


    Thanks

    Another question, I read this (Please login to see this link.)

    Quote

    #define MKRS (UINT_PTR)LPCSTR
    ...
    PropData_EditString(Prop::Str, MKRS("Name"), MKRS("Description"))


    You, LB, were talking about this way of implementing properties instead of use Ext.rc and String Table.
    Using Ext.rc is not a problem, but since I'm learning, I tried the method with MKRS and guess what, the "Name" and "Description" content are displayed as chinese characters within the Frame Editor...

    Is it because this MKRS method is not supported for unicode extensions ?

    LB you were right, it was about Unicode.
    Yves helped me to solve it.

    Finally,
    - I change all strlen to _tsclen and strcpy to _tcscpy in SetPropValue
    - I declared a TCHAR instead of a char in EDITDATA, in common.h
    - I changed CPropDataValue to CPropDataString in GetPropValue as it's explained in UnicodeSDK.txt, found on the clickteam-plugin github.
    - I finally build with Edittime Unicode, instead of Edittime.

    [file readAString] in Objective-C runtime extension returns now the correct formatted text.

    BUT I'm still wondering why I had to that since I thought your EDIF will do automatically the job...
    For now, the most important is I begin to understand how work the properties.
    Thanks for the time though!

    But why is it working well when I try with the official button extension?
    When I try to [readAString] with the official extension, it returns a correct encoded string.
    Do you think if I send you the sources you'll be able to see what's wrong?

    And I already spent hours to read the wiki, and forums...

    That I was thinking first but I'm wondering: since I'm using your edif, fusion 2.5 and the last version of ios exporter, it shouldn't have any problem with unicode... should it?
    And if so, how can fix it?

    Sorry LB, but where/how to retrieve the value of the properties so...
    The strange thing is i can correctly retrieve the value (but not the full string, only char byte by byte) by using readAChar instead of readAString.

    Hey,
    I'm still working (and learning) on my extension with EDIF - runtime in objective-c.
    I tried to add a simple text property to my extension, by looking the official windows SDK templates.
    It's working well in Fusion but when I'm trying to get the value of the property at runtime entered by the user, I only get chinese characters.

    In my Common.h, under EDITDATA, I declared char sText[1]; (as in the template of official SDK).
    and in the runtime extension I'm trying to retrieve the value by using NSString *sText = [file readAString]; (as in the official button extension).
    Mmmh I'm learning, so it's still a little bit confused for me but I'm sure I'm not so far.

    I'm working with latest version of Fusion and exporters.

    Could someone help ?
    Thanks