Noob Alert: How To Access Compiled Code/Functions?

BlitzMax Forums/BlitzMax Beginners Area/Noob Alert: How To Access Compiled Code/Functions?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I'm stuck on the simple stuff! Here's my test module:
Strict
Module mge.mgetest
ModuleInfo "Name: My First Module"
'
Type MyXY
 Field x:Float,y:Float
End Type
'
Function CreateNewXY:MyXY()
 Local o:MyXY = New MyXY
 o.x = 100
 o.y = 200
 Return o
EndFunction

Here's my test app that uses the module:
Import mge.mgetest
'
Type MyXY
 Field x:Float,y:Float
End Type
'
Global vt:MyXY
'
vt = CreateNewXY()
Print vt.x
Print vt.y
'

But it doesn't work! Can anyone point me in the right direction? Thanks!