Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

24U Sample Problems

Featured Replies

Hi,

As far as i understand it, to add an additional function, you must uncomment out the second function block provided in FMTConfig.h, add an additional .cpp file, and in that .cpp file place the following (where "FunctionName" = nameoffunc),

#include "FMPlugin.h"

#include "FMTemplate/FMTemplate.h"

#include

#pragma mark "FunctionName"

FMX_PROC(fmx::errcode) "FunctionName"(short funcId, const fmx::ExprEnv& environment, const fmx::DataVect& dataVect, fmx::Data& result)

Then the code goes here.

Problem is, even if i copy the FMPluginVersion.cpp provided exactly, swap the names around in the places mentioned above it refuses to recognise the second function in FM.

Further, if i attempt to change the function name of the first sample version function in the FMTConfig.h file and then the section in the .cpp file mentioned above, i get two compile errors.

All this seems to point towards another location at which i'm meant to register the function but i just can't seem to find it. Any help would be great.

Cheers,

~Genx

Edited by Guest

  • Author

NOOOO ONEEEEEE?

Oh well, figured i'd at least try give it a boost to see if anyone could help.

Thanks anyway guys.

  • 1 month later...
  • Author

I got it to compile with v2.2

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.