GCC .a Linking and BMax

BlitzMax Forums/BlitzMax Programming/GCC .a Linking and BMax

As mentioned, your externs are not correct.
You defined the extern variable, but you did not add its decorated name after the = of the extern declaration of the functions. (depending on the used compiler, this declaration differs from a simple function@X where x is the bytesize of the stuff you give in to something like yours above that looks like Visual Studio compiler. The only thing that will not work that simple is .NET stuff as BM has no direct .NET support. But I know that there has been a how to somewhere on these board using an intermedia layer)

Btw: I would not have overwritten Win32. The change you made means that some of BMs own stuff simply can break for no obvious reasons, as it is a BM core module.

You better had an additional Win32 which did it the way you want it.