헷갈리기 쉽지만, 

하기처럼 하면 됨.

 

 

float fDat = 112.445;


std::vector<void*> aDat;
aDat.push_back((void*)&fDat);

LPVOID lpVoid = aDat.at(0);
float aDat1 = *(float*)lpVoid;

float fDat2 = *(float*)aDat.at(0);

 

 

int 형태

ULONG anCount = (ULONG)aDat.at(0);

 

+ Recent posts