Win 32 dynamic link library
でプロジェクトを作成しましたvisual c++ 6.0
が、次のコードを記述しましたが、コンパイル時にエラーが表示されました。
for(i = 0; i < (int) len; i++)
{
strTmp.Format("%C", m_Track1Buffer[i]);
strASCII += strTmp;
}
上記のコードをコンパイルすると、次のエラーが表示されます。
error C2228: left of '.Format' must have class/struct/union type
header files
私のコードには次のものが含まれています。
#include <string.h>
#include <cstring>
#include <iostream>
#include "stdafx.h"
#include <stdio.h>
#include <String.h>
#include <mmsystem.h>
#include <winsock2.h>
#include <windows.h>
それとは別にCString
、上記のプロジェクトで使用できない理由を教えてください。も含めましたalstr.h
が、役に立ちませんでした。