China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-01 05:44
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » [Help] Why won't a module written in assembly link under BC31? View 894 Replies 3
Original Poster Posted 2004-01-06 00:00 ·  中国 四川 成都 电信
初级用户
Credits 113
Posts 5
Joined 2004-01-06 00:00
22-year member
UID 15027
Gender Male
Status Offline
Help, why won't a module written in assembly link under BC31? It says the function is undefined. If I compile the code under BC31 in the C language way, then there's no problem. But if I do that, wouldn't all the C++ modules I've made be wasted? Help!!!!!!!!!!!!!!!!! What kind of BC31 is this... also, I'm a newbie at DOS programming.
Floor 2 Posted 2004-01-06 00:00 ·  中国 四川 成都 电信
初级用户
Credits 113
Posts 5
Joined 2004-01-06 00:00
22-year member
UID 15027
Gender Male
Status Offline
Come on, everybody, say something.
Floor 3 Posted 2004-01-07 00:00 ·  中国 四川 成都 电信
初级用户
Credits 113
Posts 5
Joined 2004-01-06 00:00
22-year member
UID 15027
Gender Male
Status Offline
Say it.
Floor 4 Posted 2004-01-07 00:00 ·  中国 四川 成都 电信
初级用户
Credits 113
Posts 5
Joined 2004-01-06 00:00
22-year member
UID 15027
Gender Male
Status Offline
After some hard work, I finally solved it myself. Sigh, looks like relying on others is worse than relying on yourself.
I linked the assembly code into a C library, then called the C library from the C++ code, and that worked.
Forum Jump: