1 | #include "FontEff.h" |
1 | Txt->Math(...)->SetText(...)->SetTextMode(...)->... |
1 | Txt->Math(Y, -10, 3.0f); |
1 | Txt->Math(Y, Null, Null, -10, 3.0f); |
1 | #include "FontEff.h" |
Laguz said:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 #1. error C2365: 'Unknown' : redefinition; previous definition was 'enumerator'
see declaration of 'Unknown'
[FontEff.h]
enum z_CharType{
Unknown = -1, /*(Use GetCharacterType or FindCharacterType function.)*/
Ansi = 0,
Unicode =1,
Symbol = 2,
Temp = 3};
[winioctl.h]
typedef enum _MEDIA_TYPE {
Unknown, // Format is unknown
F5_1Pt2_512, // 5.25", 1.2MB, 512 bytes/sector
}
ㅡ This error is same variable "UnKnown"
Changed other variable
enum z_CharType{
UnKnown = -1, ...}
Laguz said:
1
2
3
4
5
6
7
8 #2. error C2065: 'i' : undeclared identifier
~INFO()
{
for(char i = 0;i < 4;i++)delete mZ[i];
for(i = 0;i < 10;i++)
delete UserEvent[i];
delete mPar;
}
ㅡ Thie error isn't have char "for(i = 0;i < 10;i++)"
"for(char i = 0; i < 10; i++)"
Laguz said:
1
2
3
4
5
6
7 #3. error C2383: 'TextEx::zFunc::z_UserAnimation' : default-arguments
are not allowed on this symbol
typedef void (*z_UserAnimation)(FontEff*,const char TypeName[256],
int nStart = 0,int nCount = 0,float fOther = Null);
z_UserAnimation UserAnimation;
ㅡ This error is "default-arguments are not allowed on this symbol"
The error is Initialization in Function
ㅡ Changed Source
typedef void (*z_UserAnimation)(FontEff*,const char TypeName[256],int nStart ,
int nCount, float fOther );
z_UserAnimation UserAnimation;
Thank u, ur a keen interest my question.
Thanks to, i corrected this error source code.
very very thankful XDXD.
Wonderful u!
Good luck all days SantalLican. XDXD
Laguz said:<<div class='geshi_syntax'>
1
2 1>Example - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
XDXD, Thank u.
Thanks, SantalLican
Glad to u telling "If you need help, please ask me" for me
expected!!, u will post the ur advanced samples.
i'll watch ur the samples.
please keep it well!! Thank u~
Have a good luck~
It looks like you're new here. If you want to get involved, click one of these buttons!