Click here to Skip to main content
15,911,141 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: about load and unload library Pin
Ștefan-Mihai MOGA21-Mar-06 20:52
professionalȘtefan-Mihai MOGA21-Mar-06 20:52 
GeneralRe: about load and unload library Pin
George_George22-Mar-06 5:42
George_George22-Mar-06 5:42 
GeneralRe: about load and unload library Pin
Ștefan-Mihai MOGA23-Mar-06 2:39
professionalȘtefan-Mihai MOGA23-Mar-06 2:39 
GeneralRe: about load and unload library Pin
George_George24-Mar-06 14:42
George_George24-Mar-06 14:42 
Questionhow can i get DC of a GDI+ Bitmap Pin
dijesh_ka21-Mar-06 20:27
dijesh_ka21-Mar-06 20:27 
QuestionCompile Win32 codes in VS.NET 2005? Pin
Syouki_kou21-Mar-06 20:22
Syouki_kou21-Mar-06 20:22 
GeneralRe: Compile Win32 codes in VS.NET 2005? Pin
Ștefan-Mihai MOGA21-Mar-06 20:34
professionalȘtefan-Mihai MOGA21-Mar-06 20:34 
GeneralRe: Compile Win32 codes in VS.NET 2005? Pin
Syouki_kou21-Mar-06 21:06
Syouki_kou21-Mar-06 21: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
RChin21-Mar-06 23:40
RChin21-Mar-06 23:40 
GeneralRe: Compile Win32 codes in VS.NET 2005? Pin
Syouki_kou22-Mar-06 16:31
Syouki_kou22-Mar-06 16:31 
AnswerRe: Compile Win32 codes in VS.NET 2005? Pin
Syouki_kou21-Jun-06 16:10
Syouki_kou21-Jun-06 16:10 
AnswerRe: Compile Win32 codes in VS.NET 2005? Pin
toxcct21-Mar-06 20:55
toxcct21-Mar-06 20:55 
QuestionDisplaying a Bitmap. Pin
Waldermort21-Mar-06 19:31
Waldermort21-Mar-06 19:31 
AnswerRe: Displaying a Bitmap. Pin
Monty221-Mar-06 22:03
Monty221-Mar-06 22:03 
AnswerRe: Displaying a Bitmap. Pin
Hamid_RT21-Mar-06 23:45
Hamid_RT21-Mar-06 23:45 
QuestionString to Number Pin
<color>Aljechin 21-Mar-06 19:19
<color>Aljechin 21-Mar-06 19:19 
AnswerRe: String to Number Pin
Waldermort21-Mar-06 19:23
Waldermort21-Mar-06 19:23 
GeneralRe: String to Number Pin
<color>Aljechin 21-Mar-06 19:25
<color>Aljechin 21-Mar-06 19:25 
GeneralRe: String to Number Pin
Waldermort21-Mar-06 19:32
Waldermort21-Mar-06 19:32 
GeneralRe: String to Number Pin
Waldermort21-Mar-06 19:48
Waldermort21-Mar-06 19:48 
AnswerRe: String to Number Pin
Aqueel21-Mar-06 19:45
Aqueel21-Mar-06 19:45 
AnswerThanks All Prob Solved Pin
<color>Aljechin 21-Mar-06 20:08
<color>Aljechin 21-Mar-06 20:08 
GeneralRe: Thanks All Prob Solved Pin
Nibu babu thomas21-Mar-06 20:23
Nibu babu thomas21-Mar-06 20:23 
GeneralRe: Thanks All Prob Solved Pin
Waldermort21-Mar-06 20:26
Waldermort21-Mar-06 20:26 
GeneralRe: Thanks All Prob Solved Pin
Aqueel21-Mar-06 21:25
Aqueel21-Mar-06 21: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.