15,917,875 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
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[^]
tanakahitori
13-Jan-11 5:44am
View
I really found _tsetlocale is defined in my TCHAR.h
/ I opened tchar.h with notepad.exe , Ctrl+F to find "_tsetlocale"
#define _tsetlocale _wsetlocale /for WCHAR
#define _tsetlocale setlocale /for CHAR
/ and I am sure my VC++6.0 include Directory path is right , because other head-files works
I dont understand why I got this Error
and all other TCHAR string routine (_tcsclen, _tcscpy, _tcscat) gets undefined-error too,
but they are defined in TCHAR.h
tanakahitori
29-Dec-10 5:33am
View
"my problem is its record" ... Is buffer incorrect? or wave-file incorrect?
tanakahitori
29-Dec-10 5:19am
View
int bitsPerSample = 16;
fwrite((char*) &bitsPerSample, 1, 2, f);
//if you think sizeof(int) = 4 bytes
//why you still only wrote 2 bytes for "bitsPerSample"
and please tell me more where is your problem?
you couldnt play the buffer after the recording is ready?
or you cann't play your "word.wav" in other Audio-player after you saved "word.wav" from buffer?
tanakahitori
28-Dec-10 10:57am
View
sorry. I made a mistake that wrote sizeof() return "Bits"
tanakahitori
28-Dec-10 0:28am
View
thanks you , I think so
Show More