I managed to compile an 64-bit externals based on the ol.mousewheel object from Oli Larkin. It works (Max 7 64 bit, Windows 7) but I face an important problem as Max crash when I try to create a second instance... that's annoying, did someone has an idea for that ? (that's my very first externals).
The object need to be started using a 'start' message.
Edit.1 : I also found that, used in a big patch, the 'start' message need to be delayed a bit if loadbang is used.
Edit.2 : And it can also block the scroll inside a patcher windows, it really sucks in fact :D ...help :'(
Here is the source code (also on Pastebin : https://pastebin.com/SqQwG5ST):
scrollmouse - send scroll messages to output
#include "ext.h" // standard Max include, always required
#include "ext_obex.h" // required for new style Max object
///////////////////////// function prototypes
//// standard set
void *scrollmouse_new(t_symbol *s, long argc, t_atom *argv);
void scrollmouse_free(t_scrollmouse *x);
void scrollmouse_assist(t_scrollmouse *x, void *b, long m, long a, char *s);
void scrollmouse_start(t_scrollmouse *x);
LRESULT CALLBACK MyOwnWndProc(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM lParam);
//////////////////////// global class pointer variable
Yes, I use it with a JSui, I will add a 'stop' method and activate it only when the mouse is idle. So my biggest problem for the moment is that I can't instantiate it more than once. That's annoying for example, if that externals is inside a bpatcher. then I need to close the main patch before open it so as avoid a Max crash.