Amplification

07/13/2019 21:30 LuciferMorningStar666#1
Hi. I was wondering about small error of __NEW_STACKABLE_AMPS
Quote:
'AMP_STORE_INFO': undeclared identifier
'm_mapAmpStore': is not a member of 'CProject'
'pAmpInfo': undeclared identifier
I already defined them in Project.h
Code:
#ifdef __NEW_STACKABLE_AMPS
struct AMP_STORE_INFO
{
	DWORD dwIDSecond;
	DWORD dwIDThird;
	DWORD dwIDFourth;
	DWORD dwIDFifth;

	AMP_STORE_INFO() : dwIDSecond(0), dwIDThird(0), dwIDFourth(0), dwIDFifth(0) {}
};
#endif // __NEW_STACKABLE_AMPS
Code:
#ifdef __NEW_STACKABLE_AMPS
typedef map<DWORD, AMP_STORE_INFO*> MAPAMPSTORE;
#endif // __NEW_STACKABLE_AMPS
Code:
	static DWORD				m_dwProSP;					// 2Â÷Á÷¾÷ ½ºÅ³ÀÇ ·¹º§¾÷¶§ ÇÊ¿äÇÑ SPÆ÷ÀÎÆ®
#ifdef __NEW_STACKABLE_AMPS
	MAPAMPSTORE m_mapAmpStore;
#endif // __NEW_STACKABLE_AMPS
Why does unidentified still showing errors? And When I go to the exact file error it does not doing red line... So I guess it means it defined. But compiling giving this errors.

Thank you inadvance.
07/13/2019 23:13 Konsan#2
'AMP_STORE_INFO': undeclared identifier
'm_mapAmpStore': is not a member of 'CProject'
'pAmpInfo': undeclared identifier

Double-clicking the error can jump to the error entry and add the error directly.
Isn't this already showing the problem? Is it still not working?
07/14/2019 04:05 LuciferMorningStar666#3
Quote:
Originally Posted by Konsan View Post
'AMP_STORE_INFO': undeclared identifier
'm_mapAmpStore': is not a member of 'CProject'
'pAmpInfo': undeclared identifier

Double-clicking the error can jump to the error entry and add the error directly.
Isn't this already showing the problem? Is it still not working?
Thank you for commenting, but The undeclared is already defined as the codes that i given. So i am not sure what is the reason making this doing. Even it is the right files. Ive been fixing it for several hours and double checking the sources but still same. I just do not know what they did to make it connected files.
07/14/2019 09:27 Konsan#4
Quote:
Originally Posted by LuciferMorningStar666 View Post
Thank you for commenting, but The undeclared is already defined as the codes that i given. So i am not sure what is the reason making this doing. Even it is the right files. Ive been fixing it for several hours and double checking the sources but still same. I just do not know what they did to make it connected files.
You can try to include another one that has already been defined. See if you can work. Sorry, I don’t understand very well.
07/14/2019 13:22 firesqual#5
You have to add these definitions in the Database Project.h also. It has to be in _Common\Project.h too.