高手们,在vc6中如何调用在dos环境下编写的lib库!!!!!
无为居士 2001-07-23 10:26:09 test.c .......
....................
#include <stdlib.h>
#include <stdio.h>
int test()
{
printf("this is a test\n");
return 99;
}
1.用bc或tc,或VC1.52生成 TEST.OBJ
2.LIB TEST.LIB +TEST.OBJ
3.VC中连接TEST.LIB 有fatal error LNK1136: invalid or corrupt file
向高手求助!!!