开发工具:VS 2003
项目类型:Win32 Console头文件:
stdafx.h
crde.h (这个是我自己加的)源文件:
stdafx.cpp
test-1.cpp
crde.lib (一个DOS下的库)错误:
fatal error LNK1136:无效或损坏的文件 crde.h (第一行)
请高手指点
项目类型:Win32 Console头文件:
stdafx.h
crde.h (这个是我自己加的)源文件:
stdafx.cpp
test-1.cpp
crde.lib (一个DOS下的库)错误:
fatal error LNK1136:无效或损坏的文件 crde.h (第一行)
请高手指点
解决方案 »
- VC图像处理
- 如何隐藏菜单栏的某一项
- 为什么一个自画的listctrl竟然会多次触发ITEMCHANGED呢
- Inno setup 谁到要遇到的问题
- 关于C_PLUS_PLUS这个宏?它是怎么定义的?系统自动定义的?
- 怎样修改系统时间模式的问题。100分求解决方法。
- 怎么连MySQL?
- 请问Outlook Express插件的做法,注意是Outlook Express和outlook2k不一样
- 寻旧版cj60库,200分
- directshow的fileSourceFilter问题
- 好奇怪哦,vc6,Project->setting->link下的Output file name下添的路径中的斜杠为何是反的?和普通路径的斜杠不同的?
- CDECL和_cdecl有何区别?
crde.h
内容:
#ifndef __CRDE__
#define __CRDE__/* TABLE type */
typedef void TABLE;/* dollar type */
typedef double dollar_t;/* table limits */
#define MAXTABLES 128
#define MAXTABLENAME 64
#define MAXROWSIZE 4000
#define MAXCOLNAME 16
#define MAXCOLSIZE 256
#define MAXKEYCOLS 8
#define MAXKEYSIZE 256
#define MAXROWS 2147483647
#define MAXCOLS 256
#define MAXINDEXES 8
#define MAXJOINCOLS 256
#define MAXEXPR 16
#define MAXCHANGES 16/* search relops */
#define EQ 0
#define LT 1
#define GT 2
#define LE 3
#define GE 4
#define NE 5#define LTE LE
#define GTE GE
#define NEQ NE/* temporary table id's */#define TEMP ((char *)0)
#define STATIC ((char *)1)/* table modes */#define T_NORMAL 0
#define T_WRITEC 1
#define T_TEMP 2
#define T_STATIC 3/* function prototypes */int taccess(TABLE *t, int mode);
long tadd(TABLE *t1, TABLE *t2);
int tall(int (*func)(TABLE *));
int taverage(TABLE *t, char *c, void *result);
TABLE * tborrow(char *name, TABLE *t);
long tchange(TABLE *t, ...);
long tchangeif(TABLE *t, int (*action)(void *), ...);
int tchcol(TABLE *t, char *old, char *_new);
int tclose(TABLE *t);
int tcmpstruct(TABLE *t1, TABLE *t2);
int tcols(TABLE *t);
int tcolsize(TABLE *t, char *c);
char tcoltype(TABLE *t, char *c);
int tcommit(TABLE *t);
TABLE * tcopy(char *name, TABLE *t);
int tcount(TABLE *t, char *c, void *result);
TABLE * tcreat(char *name, char *td);
TABLE * tcrstruct(char *name, TABLE *t);
long tdelete(TABLE *t, ...);
long tdeleteif(TABLE *t, int (*action)(void *), ...);
TABLE * tdiff(char *name, TABLE *t1, TABLE *t2);
int tdrop(TABLE *t);
int tdropindex(TABLE *t, char *id);
int tempty(TABLE *t);
int terase(char *name);
long texportascii(TABLE *t, char *dest);
long texportdBASE(TABLE *t, char *dest);
int tflush(TABLE *t);
long tget(TABLE *t, void *buf, long n, ...);
long tgetif(TABLE *t, void *buf, long n, int (*action)(void *), ...);
TABLE * tgroup(char *name, TABLE *t, char *id, char *td, int (*summary)(void *, void *, int));
int tindex(TABLE *t, char *id);
int tindexes(TABLE *t);
TABLE * timportascii(char *name, char *td, char *source);
TABLE *timportdBASE(char *name, char *source);
long tinsert(TABLE *t, void *recs, long n);
TABLE * tintersect(char *name, TABLE *t1, TABLE *t2);
TABLE * tjoin(char *name, TABLE *t1, char *cl1, TABLE *t2, char *cl2, char *pl);
int tload(TABLE *t, ...);
int tlookup(TABLE *t, ...);
int tlookupif(TABLE *t, int (*action)(void *), ...);
int tkeyed(TABLE *t);
TABLE * tkeys(char *name, TABLE *t);
int t(TABLE *t);
int tmax(TABLE *t, char *c, void *result);
int tmin(TABLE *t, char *c, void *result);
int tmode(TABLE *t);
int tnormal(TABLE *t);
TABLE * topen(char *name);
TABLE * tproject(char *name, TABLE *t, char *pl, ...);
TABLE * tprojectif(char *name, TABLE *t, char *pl, int (*action)(void *), ...);
int trelease(TABLE *t);
int trename(char *old, char *_new);
TABLE * trepair(char *name, char *td);
long treplace(TABLE *t, void *recs, long n);
TABLE * trestruct(char *name, TABLE *t, char *td);
int trollback(TABLE *t);
long trows(TABLE *t);
int trowsize(TABLE *t);
long tscan(TABLE *t, ...);
long tscanif(TABLE *t, int (*action)(void *), ...);
TABLE * tselect(char *name, TABLE *t, ...);
TABLE * tselectif(char *name, TABLE *t, int (*action)(void *), ...);
TABLE * tsort(char *name, TABLE *t, char *id);
TABLE * tstruct(char *name, TABLE *t);
long tsubtract(TABLE *t1, TABLE *t2);
int tsum(TABLE *t, char *c, void *result);
int ttransact(TABLE *t);
TABLE * tunion(char *name, TABLE *t1, TABLE *t2);
long tupdate(TABLE *t1, TABLE *t2);
int tview(TABLE *t, char *cl, char *id, int ax, int ay,
int bx, int by, int cattr, int fattr, int battr,
void *rec);
int twritec(TABLE *t);
/* global variables */extern int terrno; /* contains last error code */
extern long trowsfound; /* rows involved in last operation */#endif