|
Friend me too need de same codings for this..
if u got the coding
pls pls mail me in my id nirmal.atr@gmail.com
|
|
|
|
|
hi
I am using CImage Class(ATL) to Load and Save PNG's.There are some memory leaks with the class.
Are there any alternative image libraries like CxImage etc which can perform the same functionality??
"Every morning I go through Forbes list of 40 richest people in the world. If my name is not in there, I go to work..!!!"
|
|
|
|
|
You was used of CImage class or CXImage calss however you can use of GDI+ for load,save and.. other operations on files
|
|
|
|
|
QuickDeveloper wrote: I am using CImage Class(ATL) to Load and Save PNG's.There are some memory leaks with the class.
Really? Do you have an example of code that leaks in the CImage class?
Alot of people use that class and I'm sure they'd like to know.
Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
|
GDI+
Kinda slow, and the interface is kinda clunky but it gets the job done
|
|
|
|
|
hi evryone
i create one singleDocument project than drived from
CFormview,with one dialogbar in its left.
how i can replace myTitlebar(Bitmap) with main title?
(in mainframe)
please help me
|
|
|
|
|
explain your question, pleas;P
Zo.Naderi-Iran
|
|
|
|
|
How to set OnFieldchangedLIPadd function to dynamically created ip Address control.
IP address control is created by,
m_cTab.CreateIPEdit(" ", 10, 0, P_LEFT | P_TOP, 130, 0, 130);\
This control is placed inside the tab control.
How to do this?
Is any way to change the value in the second IP address control when tab is leave from first one.
Both are created Dynamically.
-- modified at 3:00 Saturday 14th April, 2007
|
|
|
|
|
Dear All,
I need to split the video file e.g any .wmv,avi,mpeg any type of file by their play length.
"Success lies not in the result , But in the efforts !!!!!"
Amit Mistry - petlad -Gujarat-India
|
|
|
|
|
Do you want to split a mpeg file to two mpegs ?
|
|
|
|
|
yes sir,
not only mpeg but also supported all media files.like avi,mp4,mpeg etc. ya I find the solution from the encoder 9 sdk. but I think at that time I need your help.
Thank you very much for your response.
"Success lies not in the result , But in the efforts !!!!!"
Amit Mistry - petlad -Gujarat-India
|
|
|
|
|
Hello all,
When I migrated from visual studio 6.0 to visual studio 8.0 and compiled my project which was built in visual studio 6.0, I got following errors. Can you tell me what might be the problem.
1>Linking...
1>HTTPRequesttry.obj : error LNK2019: unresolved external symbol __imp__gethostbyname@4 referenced in function "unsigned long __cdecl GetHostAddress(char const *)" (?GetHostAddress@@YAKPBD@Z)
1>HTTPRequesttry.obj : error LNK2019: unresolved external symbol __imp__send@16 referenced in function "void __cdecl SendString(unsigned int,char const *)" (?SendString@@YAXIPBD@Z)
1>HTTPRequesttry.obj : error LNK2019: unresolved external symbol __imp__closesocket@4 referenced in function "int __cdecl SendHTTP(char const *,char const *,unsigned char *,unsigned long,struct HTTPRequest *)" (?SendHTTP@@YAHPBD0PAEKPAUHTTPRequest@@@Z)
1>HTTPRequesttry.obj : error LNK2019: unresolved external symbol __imp__recv@16 referenced in function "int __cdecl SendHTTP(char const *,char const *,unsigned char *,unsigned long,struct HTTPRequest *)" (?SendHTTP@@YAHPBD0PAEKPAUHTTPRequest@@@Z)
1>HTTPRequesttry.obj : error LNK2019: unresolved external symbol __imp__connect@12 referenced in function "int __cdecl SendHTTP(char const *,char const *,unsigned char *,unsigned long,struct HTTPRequest *)" (?SendHTTP@@YAHPBD0PAEKPAUHTTPRequest@@@Z)
1>HTTPRequesttry.obj : error LNK2019: unresolved external symbol __imp__htons@4 referenced in function "int __cdecl SendHTTP(char const *,char const *,unsigned char *,unsigned long,struct HTTPRequest *)" (?SendHTTP@@YAHPBD0PAEKPAUHTTPRequest@@@Z)
1>HTTPRequesttry.obj : error LNK2019: unresolved external symbol __imp__socket@12 referenced in function "int __cdecl SendHTTP(char const *,char const *,unsigned char *,unsigned long,struct HTTPRequest *)" (?SendHTTP@@YAHPBD0PAEKPAUHTTPRequest@@@Z)
1>HTTPRequesttry.obj : error LNK2019: unresolved external symbol __imp__WSAStartup@8 referenced in function "int __cdecl SendHTTP(char const *,char const *,unsigned char *,unsigned long,struct HTTPRequest *)" (?SendHTTP@@YAHPBD0PAEKPAUHTTPRequest@@@Z)
1>.\Debug/HTTPRequesttry.exe : fatal error LNK1120: 8 unresolved externals
1>Build log was saved at "file://e:\ProgramFiles2\Microsoft Visual Studio\myprojects\HTTPRequesttry\Debug\BuildLog.htm"
1>HTTPRequesttry - 9 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Thanks for Prompt reply.
Dhaval
|
|
|
|
|
Add wsock32.lib to the libraries that are linked into your project.
Phil
|
|
|
|
|
I have already included the include file and the lib file in the project. Then also it is showing this error.
Can you please tell me why ?
I have just migrated from VIsual studio 6.0 to visual studio 8.0 that's why this problems are coming in manier projects.
Thanks for prompt reply.
Dhaval
|
|
|
|
|
Hi All,
I have just migrated from VS 6.0 to VS 8.0. Now I want to include some windows files like winsock2.h. I dont know how to do it in VS 8.0 . I searched the toolbar, but didnt get it. Can anyone tell me.
Thanks for prompt reply
Dhaval
|
|
|
|
|
LPCTSTR lpszPathName;
CFileDialog fileDlg(TRUE);
fileDlg.m_ofn.lpstrTitle="Open";
fileDlg.m_ofn.lpstrFilter="BMP Files(*.bmp)\0*.bmp\0\0";
if(fileDlg.DoModal()==IDOK)
lpszPathName=fileDlg.GetPathName();
else
return;
CFile file;
if (!file.Open(lpszPathName, CFile::modeRead | CFile::shareDenyWrite))
{
AfxMessageBox("File open failed");
return;
}
Is there something wrong in the codes up?
Thankks~
|
|
|
|
|
The messagebox appears~
|
|
|
|
|
Did you use of debugger for see value of lpszPathName is it correct and valid?
|
|
|
|
|
I want to open a file named "aa" in path C:\Documents and Settings\示例图片\aa
I saw the debugger and the content is "C:\Documents and Settings\示例图片\葺葺葺葺葺葺葺葺葺葺葺葺?"
Why~?
|
|
|
|
|
Here is an example of opening a file open dialog box - hope this helps
void CFileProc1Dlg::OnOpenBtn()
{
// TODO: Add your control notification handler code here
this->UpdateData();
CFile f;
char strFilter[] = { "Files (*.dat)|*.dat|All Files (*.*)|*.*||" };
CFileDialog FileDlg(TRUE, ".dat", NULL, 0, strFilter);
if( FileDlg.DoModal() == IDOK )
{
if( f.Open(FileDlg.GetFileName(), CFile::modeRead) == FALSE )
return;
CArchive ar(&f, CArchive::load);
ar >> m_sample;
ar.Close();
}
else
return;
f.Close();
this->UpdateData(FALSE);
}
-- modified at 0:58 Saturday 14th April, 2007
|
|
|
|
|
The problem has been settled.Thanks a lot!
|
|
|
|
|
It seems your problem solved.
|
|
|
|
|
I have created a mesh_model.x file that is just the texture and material-
I been looking for an example of animating a mesh- the 3d model is a woman and I know I need to add a bone structure and attatch it to the mesh...
any ideas on how to do this - most books on 3d I have read leave this part out.. I guesing for good reason...
can you sugest a web page or a good book on how to do this?
or an example?
thanks in advance..
-- modified at 22:07 Friday 13th April, 2007
|
|
|
|
|
Hi,
Do any of you know how to make a progress dialog? I am writing out my data in my CDocument class. I have a menu and a toolbar icon called "process and write out data". I want the progress dialog to update the progress ctrl as work is finished. I was hoping that the right way to do this is to manage the progress dialog updates in my cdocument, since that is where all my data is. Can you give me a little pseudocode that explains how this would work? Or should I be doing it another way?
Thanks,
Max
|
|
|
|