Click here to Skip to main content
15,915,336 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: No of Documents and View in SDI and MDI Pin
krishna_CP2-Jun-10 4:28
krishna_CP2-Jun-10 4:28 
AnswerRe: No of Documents and View in SDI and MDI Pin
Aescleal31-May-10 20:39
Aescleal31-May-10 20:39 
AnswerRe: No of Documents and View in SDI and MDI Pin
Niklas L1-Jun-10 3:49
Niklas L1-Jun-10 3:49 
GeneralRe: No of Documents and View in SDI and MDI Pin
krishna_CP2-Jun-10 3:29
krishna_CP2-Jun-10 3:29 
GeneralRe: No of Documents and View in SDI and MDI Pin
krishna_CP2-Jun-10 4:34
krishna_CP2-Jun-10 4:34 
Questionserver emulator code help Pin
zeroKo31-May-10 15:31
zeroKo31-May-10 15:31 
AnswerRe: server emulator code help Pin
Stephen Hewitt31-May-10 16:07
Stephen Hewitt31-May-10 16:07 
GeneralRe: server emulator code help Pin
zeroKo31-May-10 17:04
zeroKo31-May-10 17:04 
So I modified and added twoparameters and now I am getting
Error	1	error C2036: 'regions *const ' : unknown size	C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\vector	879	1	PXI<br />


Here is the code in question

	//Try to use status effects on the entity<br />
		for(unsigned int i = 0; i  <this->statusEffectContainer->m_statusEffectList.size(); i++) {<br />
			CStatusEffect * tmpEffect = this->statusEffectContainer->m_statusEffectList.at(i);<br />
			if(tmpEffect != NULL) {<br />
				//Check tick time<br />
				int tmpTick = tmpEffect->getTickTime();<br />
				if(tmpTick != 0) {<br />
					if((time(NULL)%tmpTick == 0) && tmpEffect->m_lastTick != time(NULL)) {<br />
						//Now execute tic effects<br />
						CLuaManager::OnEffectTick(this,tmpEffect);<br />
						tmpEffect->m_lastTick = (unsigned int)time(NULL);<br />
<br />
					}<br />
				}

Here is the recomendation for what I am supposed to do acording to msvs
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\vector(879): error C2036: 'regions *const ' : unknown size<br />
1>          C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\vector(878) : while compiling class template member function 'unsigned int std::vector<_Ty>::size(void) const'<br />
1>          with<br />
1>          [<br />
1>              _Ty=regions<br />
1>          ]<br />
1>          c:\users\josh\desktop\pxi_r1430\src\CBaseEntity.cpp(844) : see reference to class template instantiation 'std::vector<_Ty>' being compiled<br />
1>          with<br />
1>          [<br />
1>              _Ty=regions<br />
1>          ]

GeneralRe: server emulator code help Pin
Stephen Hewitt31-May-10 20:21
Stephen Hewitt31-May-10 20:21 
GeneralRe: server emulator code help Pin
zeroKo31-May-10 23:56
zeroKo31-May-10 23:56 
GeneralRe: server emulator code help Pin
Stephen Hewitt1-Jun-10 13:55
Stephen Hewitt1-Jun-10 13:55 
GeneralRe: server emulator code help Pin
zeroKo1-Jun-10 14:12
zeroKo1-Jun-10 14:12 
QuestionBackground Color for Bitmap In Crichedtctrl Pin
ForNow31-May-10 8:57
ForNow31-May-10 8:57 
Questionhow to format numbers with dollar sign in a cell for a CListCtrl Pin
manchukuo31-May-10 8:04
manchukuo31-May-10 8:04 
AnswerRe: how to format numbers with dollar sign in a cell for a CListCtrl Pin
CPallini31-May-10 9:35
mveCPallini31-May-10 9:35 
GeneralRe: how to format numbers with dollar sign in a cell for a CListCtrl Pin
manchukuo31-May-10 11:13
manchukuo31-May-10 11:13 
GeneralRe: how to format numbers with dollar sign in a cell for a CListCtrl Pin
CPallini31-May-10 21:36
mveCPallini31-May-10 21:36 
QuestionRe: how to format numbers with dollar sign in a cell for a CListCtrl Pin
David Crow1-Jun-10 5:08
David Crow1-Jun-10 5:08 
AnswerRe: how to format numbers with dollar sign in a cell for a CListCtrl Pin
PJ Arends1-Jun-10 5:52
professionalPJ Arends1-Jun-10 5:52 
Question.:: How to convert a gotten int input into a char or string which each of their elements can be accessable separately? [C++] Pin
bijan.8k31-May-10 7:29
bijan.8k31-May-10 7:29 
AnswerRe: .:: How to convert a gotten int input into a char or string which each of their elements can be accessable separately? [C++] Pin
Luc Pattyn31-May-10 7:35
sitebuilderLuc Pattyn31-May-10 7:35 
AnswerRe: Try this code Pin
Software_Developer31-May-10 8:28
Software_Developer31-May-10 8:28 
GeneralRe: Try this code Pin
bijan.8k31-May-10 9:02
bijan.8k31-May-10 9:02 
GeneralRe: Try this code Pin
Software_Developer31-May-10 9:52
Software_Developer31-May-10 9:52 
GeneralRe: Now it is just clunky Pin
Software_Developer31-May-10 17:38
Software_Developer31-May-10 17:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.