|
秋蝉
初级用户
 
积分 152
发帖 19
注册 2003-5-22
状态 离线
|
『楼 主』:
求助:用borlandc3.1连接不上wattcp的连接库呢?
使用 LLM 解释/回答一下
请教各位大师,我想用Borlandc3.1实现dos下的tcpip的通讯,为何连接不上呢?
提示错误:Linker error:Bad Object File Record in module?
谢谢~
Dear masters, I want to use Borland C 3.1 to implement TCP/IP communication under DOS, but why can't I connect? The error message is prompted: Linker error: Bad Object File Record in module? Thanks~
|
|
2003-6-30 00:00 |
|
|
戴眼镜的马
初级用户
 
积分 126
发帖 13
注册 2003-6-30
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
是呀,是呀,
我也使用BC3.1,用WATTCP,可是就是连接不上。
不知道应该怎么设置?不知道楼上的,您的路径的什么?怎么设置?还有您的WATTCP是否有连接库呢?我的好像没有连接库呀。
急呀,多多联系~
Yeah, yeah,
I also use BC3.1 and WATTCP, but just can't connect.
Don't know how to set it up? Don't know what your path is, upstairs? How to set it? Also, does your WATTCP have a connection library? Mine doesn't seem to have a connection library.
In a hurry~ Contact more frequently~
|
|
2003-6-30 00:00 |
|
|
秋蝉
初级用户
 
积分 152
发帖 19
注册 2003-5-22
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
用命令行或者在建立的工程连接都是这样啊
连接其他的*lib就可以,可是连接wattcphg.lib就不行(huge模式)
很奇怪~~
It's like this whether using the command line or connecting in the established project. Connecting other *lib works, but connecting wattcphg.lib doesn't (huge mode). It's very strange~~
|
|
2003-7-1 00:00 |
|
|
戴眼镜的马
初级用户
 
积分 126
发帖 13
注册 2003-6-30
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
希望大家都来发言
1,在WATTCP\apps\ping.c,我用BC31建立一个工程。
2,编译通过
3,连接出错。提示信息如下:
Linke Error:Under find symbol _chk_ping in module......
这样共有11条Message。
请斑竹帮我应该怎么办?
我已经不管3721把WATTCP\lib\下的3个.lib全部考入BORLANDC\lib下了。把WATTCP下的include下的必要的头文件全部拷贝到BORLANDC\include.
请大家不要对技术保留呀,大家发扬FreeSoft精神。
Hope everyone comes to speak
1, In WATTCP\apps\ping.c, I use BC31 to build a project.
2, Compilation passed
3, Linking error. The prompt information is as follows:
Linke Error:Under find symbol _chk_ping in module......
There are 11 such Messages in total.
Please, moderator, help me. What should I do?
I have unhesitatingly copied all 3.libs in WATTCP\lib\ to BORLANDC\lib. Copied all necessary header files in WATTCP\include to BORLANDC\include.
Please don't hold back on the technology, everyone carry forward the FreeSoft spirit.
|
|
2003-7-1 00:00 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
试试看用DJGPP C/C++能不能连上呢?
Let's see if we can connect using DJGPP C/C++.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2003-7-1 00:00 |
|
|
LanE
银牌会员
    
积分 1833
发帖 648
注册 2002-11-8
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
好象需要用tlib把*.lib加到库里面去吧
It seems that you need to use tlib to add *.lib to the library, right?
|
|
2003-7-1 00:00 |
|
|
戴眼镜的马
初级用户
 
积分 126
发帖 13
注册 2003-6-30
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
to--》Wengier
对DJGPP C/C++我一点点都不熟悉。不知道是否可以呢。斑竹您是否试过呢?
我还是希望使用BC3.1。希望还有其他的提示。
to--》LanE,
我试了试Tlib,的确会运行的。我使用了tlib WATTCPSM.lib +,不知道这样做,是否正确呢?可是还是老样子呀。
下一步不知道怎么办呢?可以这么说。如果不能在这个论坛解决这个问题的话,我觉得DOS论坛还是没有深层次的东东。毕竟在DOS下写网络程序是实时控制系统比较好的选择。而其他的什么画图程序,都是一些比较简单的程序,而且目前实用的价值不大。
请大家放开肚子提建议呀。。。。。。
to--》Wengier
I don't know anything about DJGPP C/C++. I'm not sure if it's possible. Have you tried it, moderator?
I still hope to use BC3.1. I hope there are other tips.
to--》LanE,
I tried Tlib and it does run. I used tlib WATTCPSM.lib +, I don't know if this is correct? But it's still the same.
I don't know what to do next? So to speak. If this problem can't be solved in this forum, I think the DOS forum still doesn't have deep things. After all, writing network programs under DOS is a better choice for real-time control systems. And other things like drawing programs are all relatively simple programs, and currently have little practical value.
Please feel free to give suggestions...
|
|
2003-7-1 00:00 |
|
|
秋蝉
初级用户
 
积分 152
发帖 19
注册 2003-5-22
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
这个库应该是支持BorlandC3.1的,它的头里面出现了BorlandC和turbo的ascii码,虽然tlib后可以不用再建立工程文件连接了,但是连接错误依旧:Linker error:Bad Object File Record in module,看来这个库需要特殊处理?琢磨中~~~
This library should be compatible with Borland C 3.1. There are ASCII codes of Borland C and Turbo in its header. Although you don't need to create a project file to link after using tlib, the linking error still occurs: Linker error: Bad Object File Record in module. It seems that this library needs special handling? Pondering~~~
|
|
2003-7-2 00:00 |
|
|
戴眼镜的马
初级用户
 
积分 126
发帖 13
注册 2003-6-30
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
的确如你说的,是这样的。
但是现在我已经连接上了。还是用make程序。但是要把mkefile文件修改一下,使用Large模式。把\apps下的makefile文件两行修改为
DEBUG= D # set to D for disable, E for enable
MODEL= L # set to L for large, S for small
这样的话,模式为Large。
而Large库明显是好的。连接通过了。说明Small库是有问题的,不知道WATTCP斑竹是故意的还是无意的。
1,现在问题是在BC3.1的工程文件中怎么使用库呢?
2,很多的TCPSOCK函数根本就是和WINSOCK函数不一样。不知道怎么使用。不知道谁有函数手册呢?很奇怪的是我也曾经看见过WATTCP程序,库函数和WINSOCK的使用是一样的。
Indeed, it is as you said.
But now I have already connected. Still using the make program. But I need to modify the mkefile file to use the Large mode. Modify two lines in the makefile under \apps to:
DEBUG= D # set to D for disable, E for enable
MODEL= L # set to L for large, S for small
In this way, the mode is Large.
And the Large library is obviously good. The connection passed. It shows that there is a problem with the Small library. I don't know if the WATTCP moderator did it on purpose or by accident.
1. Now the question is how to use the library in the BC3.1 project file?
2. Many TCPSOCK functions are completely different from WINSOCK functions. I don't know how to use them. I wonder if anyone has a function manual? It's very strange that I have also seen the WATTCP program before, and the usage of the library functions is the same as that of WINSOCK.
|
|
2003-7-2 00:00 |
|
|
LanE
银牌会员
    
积分 1833
发帖 648
注册 2002-11-8
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
它应该指的是,把MODEL=L改成MODEL=S就可以用small库吧
在LIB目录下三个文件,应该是small,lager,huger三个模式的lib文件………………
It should mean that changing MODEL=L to MODEL=S can use the small library. There are three files in the LIB directory, which should be the lib files of the small, lager, and huger modes...
|
|
2003-7-2 00:00 |
|
|
戴眼镜的马
初级用户
 
积分 126
发帖 13
注册 2003-6-30
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
to->>LanE.
是的,lib下的3个文件就是对应这3个模式,现在的问题,好像把任何WATTCPLG.LIB加入PRJ工程文件中,连接还是通不过的。
1,make 语法手册在哪里?
2,WATTCP函数库的手册Who有,在www.wattcp.com上卖美元50,我可以花人民币100大洋,一经收到函数库手册,马上付钱。
是的,the 3 files under the lib correspond to these 3 modes. Now the problem is that it still fails to link when adding any WATTCPLG.LIB to the PRJ project file.
1. Where is the make syntax manual?
2. Who has the manual of the WATTCP function library? It costs $50 on www.wattcp.com. I can spend 100 yuan. Once I receive the function library manual, I will pay immediately.
|
|
2003-7-3 00:00 |
|
|
秋蝉
初级用户
 
积分 152
发帖 19
注册 2003-5-22
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
以下是引用戴眼镜的马在2003-7-2 16:32:41的发言:
的确如你说的,是这样的。
make果然可以,又测试了一下huge模式也通过,证明至少lage喝huge肯定是可用的
建立工程文件,加入其他连接库可以通过说明连接方式应该没问题,加入wattcp后出错误可能是类似于makefile中debug选项不当的原因
可是选项禁止debug设置后仍然没有消除错误,望大家指点
The following is the statement quoted from The Horse with Glasses on 2003-7-2 16:32:41:
Indeed, it is as you said.
make really works , and I tested the huge mode again and it passed, proving that at least lage and huge are definitely usable
Establishing the project file and adding other link libraries can pass, indicating that the connection method should be no problem. The error when adding wattcp may be due to an improper debug option in the makefile
But the error was not eliminated after disabling the debug setting in the option. Hope everyone can give some guidance
|
|
2003-7-3 00:00 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
makefile的语法看看这儿吧:
http://www2.zzu.edu.cn/ie/newdos/dispbbs.asp?boardID=6&ID=4258
Take a look at the syntax of makefile here:
http://www2.zzu.edu.cn/ie/newdos/dispbbs.asp?boardID=6&ID=4258
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2003-7-3 00:00 |
|
|
戴眼镜的马
初级用户
 
积分 126
发帖 13
注册 2003-6-30
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
to->>秋蝉
是呀,把库加入工程文件就是不行,不知道为什么?如果您试通的话,请您把步骤写在这里可以吗?
to->>Wengier
谢谢您,但是这个Make手册,好像太复杂了一点点了。而且和WATTCP的makefile文件对不起来的。
各位看官:
1,谁使用过WATTCP的函数,步骤是怎么样的?WINSOCK就是,建立SOCKET,CONNECT,然后就可以SEND了。但是WATTCP是怎么样的呢?
to->>Qiuchan
Yeah, adding the library to the project file just doesn't work, I don't know why? If you've succeeded, could you please write the steps here?
to->>Wengier
Thank you, but this Make manual seems a bit too complicated. And it doesn't match the makefile of WATTCP.
Ladies and gentlemen:
1, Who has used the functions of WATTCP, what are the steps? For WINSOCK, you create a SOCKET, CONNECT, and then you can SEND. But how about WATTCP?
|
|
2003-7-4 00:00 |
|
|
glinda
初级用户
 
积分 144
发帖 15
注册 2003-5-26
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
tlib 加入库中的应该是.obj文件。
tlib ww.lib +a.obj
tlib should add .obj files to the library.
tlib ww.lib +a.obj
|
|
2003-7-4 00:00 |
|