User Tag List

Page 15 of 15 FirstFirst ... 5 13 14 15
Results 141 to 144 of 144

Thread: MMF2 SDK

  1. #141
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,697
    Mentioned
    236 Post(s)
    Tagged
    3 Thread(s)
    Exotic characters are usually displayed when you display as Unicode a non-Unicode text. Make sure you build the Unicode config of the SDK and all your texts are Unicode.

  2. #142
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Sloxone's Avatar
    Join Date
    Nov 2011
    Location
    France
    Posts
    559
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    @Yves ; Thank you very much ;

    If someone is interested to develope html5 extension for mmf2 with Edif to include combobox in properties ;

    Code:
    
    namespace Prop
    {
    	/* <enum>
    	 * The property identitifers.
    	 */
    	enum
    	{
    		zNOT_USED = PROPID_EXTITEM_CUSTOM_FIRST,
    		Version,Flod_opt,repeat,Filter,Model,Quality
    		 
    		//MyString,
    		//MyInt,
    	};
    }
    
    
    
    
    LPCWSTR FilterList[] =
    {
    0,    // reserved
    (LPCWSTR)_T("Disabled"),
    (LPCWSTR)_T("Enabled"),
    (LPCWSTR)_T("Auto"),
    NULL
    
    };
    
    // and propdata ;
    
    PropData Properties[] = //See the MMF2SDK help file for information on PropData_ macros.
    {
    	PropData_StaticString(Prop::Version, (UINT_PTR)_T("Version #"), (UINT_PTR)_T("1.2 Of Mod Player")),
    	 
    	PropData_ComboBox(Prop::Filter,(UINT_PTR)_T("Amiga-Filter"),(UINT_PTR)_T("Amiga-Filter"),FilterList),
    	 
    	PropData_End()
    };

  3. #143
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    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)Firefly 3D Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,895
    Mentioned
    21 Post(s)
    Tagged
    0 Thread(s)
    Hey Sloxone,
    Best to get help on Clickteam Discord, on the #ext-dev channel, it's generally faster.

    As a debugging tip:
    • When your text is cropped to 1 character long, you have a Unicode text passed to an ANSI reader.
    • When your text becomes Japanese-looking, you have ANSI text passed to a Unicode reader.

    In this case, your property is probably Unicode, and you're passing ANSI text.
    So, make sure in your Prop_Data() where you declare the properties and give them their details, you're using _T("text"), not "text", and make sure when GetPropValue(), SetPropValue() and the like are read into/out of the property, you're using _tcscpy() not strcpy(), with your properties' text stored in your ext inside a TCHAR [] buffer, not char[].
    (as a side note, DarkEdif handles properties and this sort of stuff for you automatically)

    ...ah, just realised you were already helped. Strange, the last post showed up as new.

  4. #144
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Sloxone's Avatar
    Join Date
    Nov 2011
    Location
    France
    Posts
    559
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Phi View Post
    Hey Sloxone,
    Best to get help on Clickteam Discord, on the #ext-dev channel, it's generally faster.

    As a debugging tip:
    • When your text is cropped to 1 character long, you have a Unicode text passed to an ANSI reader.
    • When your text becomes Japanese-looking, you have ANSI text passed to a Unicode reader.

    In this case, your property is probably Unicode, and you're passing ANSI text.
    So, make sure in your Prop_Data() where you declare the properties and give them their details, you're using _T("text"), not "text", and make sure when GetPropValue(), SetPropValue() and the like are read into/out of the property, you're using _tcscpy() not strcpy(), with your properties' text stored in your ext inside a TCHAR [] buffer, not char[].
    (as a side note, DarkEdif handles properties and this sort of stuff for you automatically)

    ...ah, just realised you were already helped. Strange, the last post showed up as new.
    Big thank Phi you are a master ;

Page 15 of 15 FirstFirst ... 5 13 14 15

Similar Threads

  1. Replies: 3
    Last Post: 7th January 2013, 12:35 PM
  2. SOLVED: MMf2 Standard to MMf2 Developer Error
    By iamjot in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 21st January 2011, 06:03 PM
  3. Mmf2 X MMf2 Developer (Talking about flash)
    By PandaExplosion in forum SWF/Flash Export Module Version 2.0
    Replies: 21
    Last Post: 18th December 2010, 01:55 AM
  4. passage d'appli MMF2 anglais à MMF2 français
    By mig3 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 15th February 2008, 04:51 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
  •