hello, im having problems with Turbo C++ 3.0, this is whats going down, I compile the C++ source code to get its .obj file, then I compile my assembly source w/ TASM, to get its .obj then I use TC++'s linker to link them together but it says undefined symbol gotoxy(int,int) anyway, these are my sources, thank you for your help.

----------------------------------------------------------------------------------
;*************************
; module: modwc.asm
;
;*************************
CODESG SEGMENT PARA

_gotoxy PROC FAR
PUBLIC _gotoxy
ASSUME CS:CODESG
PUSH BP
PUSH AX
PUSH DX

MOV BP,SP
MOV DX,[BP + 6]
MOV CX,04
SHL DX,CL ; move the y value to DH
MOV AX,[BP + 8]
XCHG DL,AL ; move the x value to DL
MOV AH,02 ; SET CURSOR POSITION FUNCTION
MOV BH,00 ; PAGE #
INT 10h

POP DX
POP AX
POP BP
RET 4 ; pop 4 bytes off stack, (2 bytes for x, 2 bytes for y)
_gotoxy ENDP

CODESG ENDS

end _gotoxy

------------------------------------------------------------------------------
// module: modwasm.cpp

extern void gotoxy(int,int);

void main()
{
gotoxy(20,5);
}

--------------------------------------------------------------------------------

thank you for your help.