Eric Pouech pouech-eric@wanadoo.fr writes:
+/* FIXME: 0xFFFFFFFF is our shortcut for global table
- we could also tweak init_atom_table request to get a handle to the
- global table in wineserver
- */
+#define GLOBAL_ATOM_TABLE ((void*)0xFFFFFFFF)
Yes, you need to get a valid handle here, 0xffffffff is the current process pseudo-handle and we don't want to overload that meaning.
Also your local table allocation is not thread-safe, it can potentially leak an atom table.