Click here to Skip to main content
15,917,875 members

Comments by tanakahitori (Top 10 by date)

tanakahitori 20-Jan-11 6:56am View    
Yes I found this file test.ncb in project directory, I closed vc6 and deleted it and reloard workspace, the file is recreated . and I copy this source to dll.h, but the problem didnt gone.

anyway thank for you answer.
tanakahitori 19-Jan-11 12:07pm View    
Yes, I saw many #define of Function or struct In header of gdi32.dll

#ifdef UNICODE
#define LOGFONT LOGFONTW
#else
#define LOGFONT LOGFONTA
#endif

why them works , mine doesnt work?
tanakahitori 13-Jan-11 12:14pm View    
I think problem is not include path of head-file.

My VC++6.0 is installed at E:

[Tools] - [Options] - [Directories] - [Show directories for] -> (include files)

E:\Microsoft Visual Studio\VC98\INCLUDE (where the Tchar.h is)

I never changed this setting and path of VC6 since I installed VC6.0

whatever quoted ("tchar.h") or angle-bracket () I use.

my source works very well now, which I writed in my question.

and sorry for my fool!

I cannt get that error-word back anymore. because I really cannt know what mistken I did, and I cannt remember what somethings I changed later.

but one thing I still remember, when I tested it first time,
I pasted only Function-name '_tsetlocale' in source without () and parameters and ';' .
and selected it , right-click to choose "Go To Definition of _tsetlocale".

it said: symbol '_tsetlocale' is undefined (I sure all headfiles was included at top.)

!now it works. (I just cannt remember what somethings I changed)

now I tried again, I did same as I did first time.
paste only a function-name '_tsetlocale' in source without parameters and () and ';'.
and selected it , right-click to choose "Go To Definition of _tsetlocale".

It could Go to where it is defined in TCHAR.H now

it is really miraculous.
tanakahitori 13-Jan-11 6:49am View    
I fixed this error,

because I only write "_tsetlocale" in source.
and selected it ,
right-click to choose "Go To Definition of _tsetlocale"
and I got this error "undefined" from VC++6.0

I shouled write full function like this
"_tsetlocale (LC_ALL, _TEXT ("german_germany.1252")) ;"
tanakahitori 13-Jan-11 6:25am View    
Deleted
the link refer "TCHAR.H routine _tsetlocale" too, which you shown here[^]