Click here to Skip to main content
15,843,498 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: about load and unload library Pin
Ștefan-Mihai MOGA21-Mar-06 21:52
professionalȘtefan-Mihai MOGA21-Mar-06 21:52 
GeneralRe: about load and unload library Pin
George_George22-Mar-06 6:42
George_George22-Mar-06 6:42 
GeneralRe: about load and unload library Pin
Ștefan-Mihai MOGA23-Mar-06 3:39
professionalȘtefan-Mihai MOGA23-Mar-06 3:39 
GeneralRe: about load and unload library Pin
George_George24-Mar-06 15:42
George_George24-Mar-06 15:42 
Questionhow can i get DC of a GDI+ Bitmap Pin
dijesh_ka21-Mar-06 21:27
dijesh_ka21-Mar-06 21:27 
QuestionCompile Win32 codes in VS.NET 2005? Pin
Syouki_kou21-Mar-06 21:22
Syouki_kou21-Mar-06 21:22 
GeneralRe: Compile Win32 codes in VS.NET 2005? Pin
Ștefan-Mihai MOGA21-Mar-06 21:34
professionalȘtefan-Mihai MOGA21-Mar-06 21:34 
GeneralRe: Compile Win32 codes in VS.NET 2005? Pin
Syouki_kou21-Mar-06 22:06
Syouki_kou21-Mar-06 22:06 
First: I drag the project file XXX.dsw directly to the .NET IDE, it give me a tip to convert this project, i choose yes. After convert it, i press F7 to build the solution, its errors are:
------ Build started: Project: PWSpy, Configuration: Debug Win32 ------
Compiling...
StdAfx.cpp
Compiling...
Gradient.cpp
d:\workshop\file system\all codes\monitor ap\pwspy\gradient.cpp : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
d:\workshop\file system\all codes\monitor ap\pwspy\gradient.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
d:\workshop\file system\all codes\monitor ap\pwspy\gradient.cpp(179) : error C2065: 'i' : undeclared identifier
MainFrm.cpp
d:\workshop\file system\all codes\monitor ap\pwspy\tballoon.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
d:\workshop\file system\all codes\monitor ap\pwspy\gradient.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
d:\workshop\file system\all codes\monitor ap\pwspy\mainfrm.cpp(88) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CMainFrame::* )(WPARAM,LPARAM)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
d:\workshop\file system\all codes\monitor ap\pwspy\mainfrm.cpp(89) : error C2440: 'static_cast' : cannot convert from 'BOOL (__thiscall CMainFrame::* )(WPARAM,LPARAM)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
d:\workshop\file system\all codes\monitor ap\pwspy\mainfrm.cpp(90) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CMainFrame::* )(WPARAM,LPARAM)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
d:\workshop\file system\all codes\monitor ap\pwspy\mainfrm.cpp(94) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CMainFrame::* )(UINT,LONG)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
d:\workshop\file system\all codes\monitor ap\pwspy\mainfrm.cpp(95) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CMainFrame::* )(void)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
d:\workshop\file system\all codes\monitor ap\pwspy\mainfrm.cpp(96) : error C2440: 'static_cast' : cannot convert from 'BOOL (__thiscall CMainFrame::* )(UINT,DWORD)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
d:\workshop\file system\all codes\monitor ap\pwspy\mainfrm.cpp(97) : error C2440: 'static_cast' : cannot convert from 'BOOL (__thiscall CMainFrame::* )(UINT,DWORD)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
d:\workshop\file system\all codes\monitor ap\pwspy\mainfrm.cpp(1421) : error C2065: 'nDevIndex' : undeclared identifier
d:\workshop\file system\all codes\monitor ap\pwspy\mainfrm.cpp(1913) : error C2593: 'operator +=' is ambiguous
d:\microsoft vs .net 2005 ide\microsoft visual studio 8\vc\atlmfc\include\cstringt.h(1372): could be 'ATL::CStringT<basetype,stringtraits> &ATL::CStringT<basetype,stringtraits>::operator +=(wchar_t)'
with
[
BaseType=char,
StringTraits=StrTraitMFC_DLL<char>
]
d:\microsoft vs .net 2005 ide\microsoft visual studio 8\vc\atlmfc\include\cstringt.h(1365): or 'ATL::CStringT<basetype,stringtraits> &ATL::CStringT<basetype,stringtraits>::operator +=(unsigned char)'
with
[
BaseType=char,
StringTraits=StrTraitMFC_DLL<char>
]
d:\microsoft vs .net 2005 ide\microsoft visual studio 8\vc\atlmfc\include\cstringt.h(1358): or 'ATL::CStringT<basetype,stringtraits> &ATL::CStringT<basetype,stringtraits>::operator +=(char)'
with
[
BaseType=char,
StringTraits=StrTraitMFC_DLL<char>
]
while trying to match the argument list '(CString, int)'
PWSpy.cpp
d:\workshop\file system\all codes\monitor ap\pwspy\pwspy.cpp(144) : warning C4996: 'CWinApp::Enable3dControls' was declared deprecated
d:\microsoft vs .net 2005 ide\microsoft visual studio 8\vc\atlmfc\include\afxwin.h(4471) : see declaration of 'CWinApp::Enable3dControls'
Message: 'CWinApp::Enable3dControls is no longer needed. You should remove this call.'
PWSpyDoc.cpp
PWSpyView.cpp
TBalloon.cpp
d:\workshop\file system\all codes\monitor ap\pwspy\tballoon.cpp : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
d:\workshop\file system\all codes\monitor ap\pwspy\tballoon.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
d:\workshop\file system\all codes\monitor ap\pwspy\gradient.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
d:\workshop\file system\all codes\monitor ap\pwspy\tballoon.cpp(163) : warning C4018: '<' : signed/unsigned mismatch
Generating Code...
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50727
Copyright (C) Microsoft Corporation. All rights reserved.
Build log was saved at "file://d:\WorkShop\File System\All Codes\MONITOR AP\PWSpy\Debug\BuildLog.htm"
PWSpy - 10 error(s), 9 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
GeneralRe: Compile Win32 codes in VS.NET 2005? Pin
RChin22-Mar-06 0:40
RChin22-Mar-06 0:40 
GeneralRe: Compile Win32 codes in VS.NET 2005? Pin
Syouki_kou22-Mar-06 17:31
Syouki_kou22-Mar-06 17:31 
AnswerRe: Compile Win32 codes in VS.NET 2005? Pin
Syouki_kou21-Jun-06 17:10
Syouki_kou21-Jun-06 17:10 
AnswerRe: Compile Win32 codes in VS.NET 2005? Pin
toxcct21-Mar-06 21:55
toxcct21-Mar-06 21:55 
QuestionDisplaying a Bitmap. Pin
Waldermort21-Mar-06 20:31
Waldermort21-Mar-06 20:31 
AnswerRe: Displaying a Bitmap. Pin
Monty221-Mar-06 23:03
Monty221-Mar-06 23:03 
AnswerRe: Displaying a Bitmap. Pin
Hamid_RT22-Mar-06 0:45
Hamid_RT22-Mar-06 0:45 
QuestionString to Number Pin
<color>Aljechin 21-Mar-06 20:19
<color>Aljechin 21-Mar-06 20:19 
AnswerRe: String to Number Pin
Waldermort21-Mar-06 20:23
Waldermort21-Mar-06 20:23 
GeneralRe: String to Number Pin
<color>Aljechin 21-Mar-06 20:25
<color>Aljechin 21-Mar-06 20:25 
GeneralRe: String to Number Pin
Waldermort21-Mar-06 20:32
Waldermort21-Mar-06 20:32 
GeneralRe: String to Number Pin
Waldermort21-Mar-06 20:48
Waldermort21-Mar-06 20:48 
AnswerRe: String to Number Pin
Aqueel21-Mar-06 20:45
Aqueel21-Mar-06 20:45 
AnswerThanks All Prob Solved Pin
<color>Aljechin 21-Mar-06 21:08
<color>Aljechin 21-Mar-06 21:08 
GeneralRe: Thanks All Prob Solved Pin
Nibu babu thomas21-Mar-06 21:23
Nibu babu thomas21-Mar-06 21:23 
GeneralRe: Thanks All Prob Solved Pin
Waldermort21-Mar-06 21:26
Waldermort21-Mar-06 21:26 
GeneralRe: Thanks All Prob Solved Pin
Aqueel21-Mar-06 22:25
Aqueel21-Mar-06 22:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.