Click here to Skip to main content
15,897,518 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Incorrect end/crash at app end Pin
Roland E.3-Jan-05 4:49
Roland E.3-Jan-05 4:49 
Generalhookless keylogger Pin
Spiritofamerica2-Jan-05 8:47
Spiritofamerica2-Jan-05 8:47 
GeneralRe: hookless keylogger Pin
User 66582-Jan-05 11:06
User 66582-Jan-05 11:06 
GeneralRe: hookless keylogger Pin
Spiritofamerica3-Jan-05 9:33
Spiritofamerica3-Jan-05 9:33 
GeneralRe: hookless keylogger Pin
User 66584-Jan-05 4:21
User 66584-Jan-05 4:21 
GeneralRe: hookless keylogger Pin
Anonymous4-Jan-05 8:39
Anonymous4-Jan-05 8:39 
GeneralRe: hookless keylogger Pin
User 66584-Jan-05 8:47
User 66584-Jan-05 8:47 
GeneralVCTerm will not run on computers without VC++ 5.0 installed Pin
fklldsvs2-Jan-05 4:58
fklldsvs2-Jan-05 4:58 
I cannot get the code sample "VCTerm" in VC++ 5.0, found at: DEVSTUDIO > vc > samples > mfc > general > vcterm, to work on any other computer that has not had VC++ 5.0 installed. I do not have a great deal of programming experience, but I found that the problem occurs in mainframe.cpp. The problem piece of code that fails is listed below, and the call to the section of code in commctrl.h is also listed. Any help would be appreciated.

John


mainframe.cpp
{
.
.
// Create the MSCOMM32 OLE Control.
if (!m_commctrl.Create(NULL,0,CRect(0,0,0,0),this,ID_COMMCTRL))
{
TRACE0("Failed to create OLE Communications Control\n");
return -1; // fail to create
}
.
.
}


commctrl.h
{
.
.
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0x648a5600, 0x2c6e, 0x101b, { 0x82, 0xb6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x14 } };
return clsid;
}
virtual BOOL Create(LPCTSTR lpszClassName,
LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect,
CWnd* pParentWnd, UINT nID,
CCreateContext* pContext = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }

BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect, CWnd* pParentWnd, UINT nID,
CFile* pPersist = NULL, BOOL bStorage = FALSE,
BSTR bstrLicKey = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
pPersist, bStorage, bstrLicKey); }
.
.
}
GeneralRe: VCTerm will not run on computers without VC++ 5.0 installed Pin
Michael Dunn2-Jan-05 19:31
sitebuilderMichael Dunn2-Jan-05 19:31 
QuestionHow to... Pin
Valie2-Jan-05 4:39
Valie2-Jan-05 4:39 
AnswerRe: How to... Pin
User 66582-Jan-05 11:10
User 66582-Jan-05 11:10 
AnswerRe: How to... Pin
Archer2822-Jan-05 13:16
Archer2822-Jan-05 13:16 
GeneralRe: How to... Pin
toxcct3-Jan-05 3:29
toxcct3-Jan-05 3:29 
GeneralTitleless dialog Pin
LiYS2-Jan-05 0:19
LiYS2-Jan-05 0:19 
GeneralRe: Titleless dialog Pin
Ravi Bhavnani2-Jan-05 6:57
professionalRavi Bhavnani2-Jan-05 6:57 
GeneralCharacter Internal leading Pin
LiYS2-Jan-05 0:14
LiYS2-Jan-05 0:14 
Generallinking with dll Pin
Themis1-Jan-05 23:02
Themis1-Jan-05 23:02 
GeneralRe: linking with dll Pin
Monty22-Jan-05 18:04
Monty22-Jan-05 18:04 
Generalwin32 : sockets and system function.... Pin
yaniv abobo1-Jan-05 22:08
yaniv abobo1-Jan-05 22:08 
GeneralRe: win32 : sockets and system function.... Pin
Ravi Bhavnani2-Jan-05 6:55
professionalRavi Bhavnani2-Jan-05 6:55 
Questionhow to run/load file .exe(executable file) using visual c++? Pin
Member 16203381-Jan-05 22:02
Member 16203381-Jan-05 22:02 
AnswerRe: how to run/load file .exe(executable file) using visual c++? Pin
Chris Losinger2-Jan-05 4:52
professionalChris Losinger2-Jan-05 4:52 
GeneralRe: how to run/load file .exe(executable file) using visual c++? Pin
User 66582-Jan-05 11:14
User 66582-Jan-05 11:14 
GeneralRe: how to run/load file .exe(executable file) using visual c++? Pin
Michael Dunn2-Jan-05 19:37
sitebuilderMichael Dunn2-Jan-05 19:37 
GeneralIs it possible to use MSchart to make a XY Plot? Need help!!!!! Pin
helen_kwan11-Jan-05 19:46
helen_kwan11-Jan-05 19:46 

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.