ソース掲示板




すべてから検索

キーワード   条件 表示 現行ログ 過去ログ トピックス 名前 本文
VC++ with lightbox.lib ( No.9 )
日時: 2013/05/02 21:30
名前: lightbox



↓lightbox.lib
http://winofsql.jp/download/lightbox_basic_2005.exe

#include "lightbox.h"

int main() {

	LboxString LString("0001,浦岡 友也,ウラオカ トモヤ,0003,0,2005/04/03,2005/06/19");

	LboxToken LToken;
	LToken.CreateToken( LString, "," );

	int i;

	for( i = 0; i < LToken.nCount; i++ ) {
		printf( "%s\n", LToken.Token[i] );
	}

	return 0;
}
build.bat
cmd.exe /c vc6.bat split
vc6.bat
Set AddPath=C:\Program Files\Microsoft Visual Studio\COMMON\MSDev98\Bin
Set PATH=%AddPath%;%PATH%
Set CL6="C:\Program Files\Microsoft Visual Studio\VC98\Bin\cl.exe"
Set LINK6="C:\Program Files\Microsoft Visual Studio\VC98\Bin\link.exe"
Set INC6="C:\Program Files\Microsoft Visual Studio\VC98\Include"
Set INCA="C:\Program Files\Microsoft Visual Studio\VC98\ATL\Include"
Set LIB6="C:\Program Files\Microsoft Visual Studio\VC98\Lib"
Set LIBS1=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib
Set LIBS2=shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
%CL6% %1.cpp /c /I%INC6% /I%INCA%
%LINK6% /LIBPATH:%LIB6% %1.obj %LIBS1% %LIBS2%