Linkage problem

463 byte By Saeed at 2007-11-20 11:58:59
:( Ok created a generic class with only one method apart from the const and destructor.In another class used it by#include "HSMSV.h"... HSMSV c; c.method("");class HSMSV {public: HSMSV(); virtual ~HSMSV(); bool method(CString p1);};why is it coming up with error LNK2001: unresolved external symbol...

LinearGradientMode

86 byte By acemahesh at 2007-11-20 11:59:03
Hi All,<br/>What enum in VC++ 6.0 is equivalent to LinearGradientMode (VC++.Net)?

call code in c++ from vc++

100 byte By fofa4ever at 2007-11-20 11:59:06
hi<br/>please I want call code in c++ from vc++<br/>I need the way step by step <br/>thanx

Am i creating the Bitmap Byte array correctly?

3656 byte By flynny1st at 2007-11-20 11:59:08
Hi guys,basically i want to create a monochrome images from another image i pass to the method, here i will set the selected colour to be black and all other pixels to be white.i'm getting a bitmap being output of the same size of the original, however when i try and open the bitmap i get the m...

Tracking include file nesting

775 byte By j66st at 2007-11-20 11:59:11
In a large project (>1000 C++ files for a single executable) I want to track the #include file tree. To answer questions like "Why would abc.cpp need xyz.h?" and "which *.cpp files depend on xyz.h". Like the source browser can give cross-reference trees for function calls, I want to see a cross r...

Code which will refresh my Internet page automatically required

144 byte By Ajith Sivakumar at 2007-11-20 11:59:12
Hello,<br/>Can any one tell me how to refresh an opened URL automatically using an exe which is written in VC++.<br/>Thanks,<br/>Ajith

CEdit transparency

783 byte By alav at 2007-11-20 11:59:15
Hi,I want to have a transparent CEdit control. I derive from CEdit, here are snippets of my code:BEGIN_MESSAGE_MAP(CEditEx, CEdit) ON_WM_CTLCOLOR_REFLECT()END_MESSAGE_MAP()HBRUSH CEditEx::CtlColor(CDC* pDC, UINT nCtlColor){ pDC->SetBkMode(TRANSPARENT); pDC->SetTextColor(m_bHasFocus?m_clrTextFo...

How to connect to database after using SQLConfigDataSource to create database

1642 byte By DumbMonkey at 2007-11-20 11:59:16
Hi,I use SQLConfigDataSource to create an access database-BOOL CDatabase::Create(CHAR *fileName, CHAR *name, CHAR *username, CHAR *password){CHAR driver[MAX_STATEMENT_LENGTH];CHAR attributes[MAX_STATEMENT_LENGTH];sprintf(driver, "Microsoft Access Driver (*.mdb)");sprintf(attributes, "CREATE_DB=%s Ge...

Deleting double elements in a vector

443 byte By lontana at 2007-11-20 11:59:26
for( int i = 0; i < (p.size()-1); i++ ) { for( int j = i+1; j <p.size(); j++ ) { if( p[i]==p[j] ) { p.erase(p.begin()+j); } } }Dear All,I want to deleete all duplicate elemnts in a vector (p) : Afore given piece of code tries t...

IE Home Page

177 byte By somasundaram.er at 2007-11-20 11:59:35
Hi Everybody,<br/> i have a question. how do i change IE's Home Page programmatically, without actually touching registry.\<br/>Help me please.<br/>bye <br/>P.Somasundaram

edit control problem

4113 byte By atriker1 at 2007-11-20 11:59:50
I am trying to catch the enter key from a edit control ...everything I have tried has failed...any suggestions would be a big help...here is what I have so far.#include <windows.h>#include <iostream>#include <stdlib.h>#include <string>#include <fstream>#include <stdi...

Drag/Drop from Server

1717 byte By Paul Fake at 2007-11-20 11:59:52
I am creating an MFC application which allows a user to explore files in a database and interact with them as if it were a Windows Explorer window. This includes file deletion, uploading, and downloading to a local directory. I want to include drag/drop functionality, so a user can drag files from...

An interesting simple code of forward declaration

671 byte By warrener at 2007-11-20 11:59:57
There are 2 classes, A and B:----------FileA.h----------#include <FileB.h>class B; //Why forward declaration hereclass A{...B objB;...};----------FileA.cc----------#include <FileA.h>...implementation of class A...----------FileB.h----------class A; // I understand this is forward declar...

How do I use IDictionary interface inside my simple VC++ application?

226 byte By AnitaEugene at 2007-11-20 12:00:00
Hi<br/>How do I use a simple IDictionary interface inside my simple VC++ Dialog application without any complication?<br/>I need to use the KeyValue pair inside my application for row manipulations.<br/>Thanks<br/>Anita Eugene