Yes, the library does not make it easy to create a dll since it supplies raygui separately and it is a pretty important component. I will follow the DLL cheatsheet once I get some time.
Thanks also for the heads up on the cross compiler, I hadn't realized I'd made that mistake.
Nothing jumps out at me from the output for the correct compiler, but it does still crash.
library: raylib.dll ok
extern: void InitWindow( int a, int b, const char * c ); ok
dis InitWindow
INITWINDOW
( 005948D0 FF152F10E9FF ) CALL FFE9102F [RIP] @00425905
( 005948D6 4883ED10 ) SUB RBP, # 10
( 005948DA 48896500 ) MOV [RBP], RSP
( 005948DE 48895D08 ) MOV [RBP+08], RBX
( 005948E2 4883EC20 ) SUB RSP, # 20
( 005948E6 4883E4F0 ) AND RSP, # -10
( 005948EA 4C8B4508 ) MOV R8, [RBP+08]
( 005948EE 48635510 ) MOVSXD RDX, DWord [RBP+10]
( 005948F2 48634D18 ) MOVSXD RCX, DWord [RBP+18]
( 005948F6 FC ) CLD
( 005948F7 FF1573FFFFFF ) CALL FFFFFF73 [RIP] @00594870
( 005948FD FC ) CLD
( 005948FE 488B6500 ) MOV RSP, [RBP]
( 00594902 488B5D20 ) MOV RBX, [RBP+20]
( 00594906 488D6D28 ) LEA RBP, [RBP+28]
( 0059490A FF153D10E9FF ) CALL FFE9103D [RIP] @0042594D
( 00594910 C3 ) RET/NEXT
( 65 bytes, 17 instructions )
ok
.LIBS
raylib.dll 0000:7FFB:264E:0000
mpeparser64.dll 0000:0000:6A94:0000
Ole32.dll 0000:7FFB:E059:0000
riched32.dll 0000:7FFB:CFFC:0000
avifil32.dll 0000:7FFB:C296:0000
ws2_32.dll 0000:7FFB:DFB1:0000
ComDlg32.dll 0000:7FFB:DFF9:0000
ComCtl32.dll 0000:7FFB:C4E6:0000
shell32.dll 0000:7FFB:DEB1:0000
gdi32.dll 0000:7FFB:E051:0000
User32.dll 0000:7FFB:E02D:0000
kernel32.dll 0000:7FFB:DFC2:0000 ok
.BADEXTERNS
0 Unresolved Externs ok
I've uploaded the dll for convenience here in the meantime:
https://www.mediafire.com/file/fctcxcwgtr8whgh/raylib.dll/file