16,019,120 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 Visual Basic questions
View Javascript questions
View .NET 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 JOYKAIGA1 (Top 31 by date)
JOYKAIGA1
18-Aug-12 9:15am
View
how to print in ascii of that long data type?
JOYKAIGA1
15-Aug-12 4:12am
View
Thanks for suggestion and valuable answers
i will try and come back to you .
JOYKAIGA1
15-Aug-12 3:46am
View
yes, with 0 and 1 only?
JOYKAIGA1
15-Aug-12 3:40am
View
how about the binary number to print?
JOYKAIGA1
15-Aug-12 3:31am
View
its not test.bin file or a binary file.
its only a file with some extension.into that i have to write crcval in the binary number?
JOYKAIGA1
15-Aug-12 3:28am
View
can you tell me the same how to do using fseek() etc?as i am using only iostream and ifstream?
JOYKAIGA1
17-Jul-12 11:27am
View
Also tell me in File1.bin ,we have archive files(pdf files) individually compressed.how to read and store the file data and contents in a buffer or separate directory in a order ?
JOYKAIGA1
17-Jul-12 11:26am
View
for each pdf file there is associated fruit mapping ,like this around 1 lakh pdf files are there and 50 fruits are there.these are meta data stored in dbf files. tell me how to write into a file with this associating fruits ?
JOYKAIGA1
17-Jul-12 11:25am
View
for each pdf file there is associated fruit mapping ,liek this around 1 lakh pdf files are there and 50 fruits are there.these are meta data stored in dbf files.
tell me how to write into a file with this associating fruits ?
JOYKAIGA1
3-May-12 8:14am
View
any updates on this error?
JOYKAIGA1
30-Apr-12 5:07am
View
Chris,If i run the same project in Qt4.7 version ,it is running sucesfully with 0utany eroors.
JOYKAIGA1
30-Apr-12 1:38am
View
while compiling zlib files,preprocessor definationa field having below mentioned.DEBUG,DYNAMIC_CRC_TABLE,NO_GZIP,WIN32,_LIB
.
Where as in my project the preprocessor defination field having below mentioned
WIN32,_DEBUG,_WINDOWS,_AFXDLL,_MBCS,_LIB
JOYKAIGA1
27-Apr-12 9:20am
View
#include "zlib.h"
JOYKAIGA1
27-Apr-12 9:02am
View
still error exist even i build latest verison of zlib files/dll?
JOYKAIGA1
27-Apr-12 7:26am
View
http://www.zlib.net/
surely error is within these functions inflate, inflateInit, inflateEnd.
here it is not considering.
can you tell me how to delete zlib.h in external dependcies folder and add new version to the dsw
JOYKAIGA1
27-Apr-12 3:29am
View
Deleted
surely error is with these functions inflate, inflateInit, inflateEnd.
here it is not considering.
can you tell me how to delete zlib.h in external dependcies folder and add new version to the dsw.
JOYKAIGA1
27-Apr-12 0:10am
View
Deleted
http://www.zlib.net/
JOYKAIGA1
26-Apr-12 10:50am
View
i had downloaded zlib sources frm zlib website with version required to get the zlib.dll.Also i builed and compiled andthere is no errors in zlib
JOYKAIGA1
26-Apr-12 10:38am
View
i comented lines mentioned below here error not comming.
other than this lines if i comment error comes occurs and application crash.
/* ret = inflateInit(zs);
ret = inflate(zs, Z_FINISH);
if(ret != Z_OK && ret != Z_STREAM_END)
{
AfxMessageBox("Failed to decompress file");
inFile.close();
outFile.close();
return TRUE;
}
ret = inflateEnd (zs);
*/
JOYKAIGA1
26-Apr-12 10:28am
View
can u brief commenting calls to zlib means?
JOYKAIGA1
26-Apr-12 10:10am
View
yes.
also i observed if comment following lines like
/* zs->next_in = (unsigned char *)inBuffer; //point to beginning of compressed file
zs->avail_in = inFile.gcount(); //specify the size of the compressed file
zs->next_out = (unsigned char *)unCompressedBuffer; //point to where the uncompressed file will be
zs->avail_out = uncompressedBufferSize; //specify size of buffer to hold uncompressed file
zs->zalloc = (alloc_func)0;
zs->zfree = (free_func)0;
zs->data_type = Z_BINARY;
ret = inflateInit(zs);
ret = inflate(zs, Z_FINISH);
if(ret != Z_OK && ret != Z_STREAM_END)
{
AfxMessageBox("Failed to decompress file");
inFile.close();
outFile.close();
return TRUE;
}
ret = inflateEnd (zs);
if(ret == Z_OK)
{
outFile.write (unCompressedBuffer, zs->total_out);
m_ctrlFileProgress.StepIt();
CreateBMPFiles(unCompressedBuffer, zs->total_out);
m_ctrlFileProgress.StepIt();
// m_ctrlFileProgress.StepIt();
CreateLogFile(unCompressedBuffer);
m_ctrlFileProgress.StepIt();
}
//cleanup:
inFile.close();
outFile.close();
*/
error do not occur.
JOYKAIGA1
26-Apr-12 10:03am
View
using like basesd.h and zconf.h
JOYKAIGA1
26-Apr-12 9:49am
View
i added include 'zlib.h' in header file. also #ifdef __cplusplus
extern "C" {
#endif
.still error occurs .
JOYKAIGA1
26-Apr-12 9:38am
View
I am adding in external dependencies zlib files zlib.h file.
2) in vc6.0 settings->links>library/modules options ->i am adding zlib.lib
JOYKAIGA1
26-Apr-12 9:18am
View
can you brief more about this in which file to be added ?
JOYKAIGA1
26-Apr-12 9:11am
View
Will zlib.dll makes difference in this which iam using 1.4 version here and it should be compatible.is it true ?confirm. Other than zlib.dll i am not using any DLL.
JOYKAIGA1
26-Apr-12 0:36am
View
what is the solution to add an extra chunk in the image?can you tell me how to define own custom chunk type ?
JOYKAIGA1
26-Apr-12 0:30am
View
this is what displays in call stack
1023325A push edx
1023325B push ebx
1023325C push esi
1023325D push edi
1023325E push offset string "The value of ESP was not properl"... (10258b28)
10233263 push offset string "" (10256788)
10233268 push 2Ah
1023326A push offset string "i386\\chkesp.c" (10258b18)
1023326F push 1
10233271 call _CrtDbgReport (10214eb0)
10233276 add esp,14h
10233279 cmp eax,1
1023327C jne __chkesp+2Fh (1023327f)
1023327E int 3
1023327F pop edi
10233280 pop esi
10233281 pop ebx
10233282 pop edx
10233283 pop eax
10233284 mov esp,ebp
10233286 pop ebp
10233287 ret
10233288 push esi
10233289 inc ebx
1023328A xor dword ptr [eax],esi
1023328C pop eax
1023328D inc ebx
1023328E xor byte ptr [eax],dh
__except_handler2:
10233290 push ebp
10233291 mov ebp,esp
10233293 sub esp,8
10233296 push ebx
10233297 push esi
10233298 push edi
10233299 push ebp.
JOYKAIGA1
26-Apr-12 0:29am
View
Message displays correct like "Decompression Complete",after that come out of this loop and error message displays
Program:my.exe
debug error File i386\chkesp.c
Line 42
The valueof ESP was not properly saved across fucntion call.This is usally a result of calling a fucntion declared with one calling convention with a function pointer
declared witha declared calling convention..
JOYKAIGA1
25-Apr-12 2:08am
View
adding/insert chunk means like to add text/label into the image
JOYKAIGA1
25-Apr-12 1:11am
View
Deleted
Hi pls check another question which i clearly mentioned code adn sequence.
Show More