// VCDLLTest6.cpp : DLL アプリケーション用にエクスポートされる関数を定義します。 // #include "stdafx.h" int myChar8Change( char* a ) { if ( strlen( a ) < 8 ) { return strlen( a ); } strcpy_s( a, strlen( a ), "abcd" ); return strlen( a ); } int myLength( char* a ) { return strlen( a ); }