Click here to Skip to main content
15,898,588 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to assign/ map Left arrow key to a specific character suppose letter 'L' Pin
Rajesh R Subramanian15-Feb-08 3:42
professionalRajesh R Subramanian15-Feb-08 3:42 
GeneralBackground color of CToolBar. [modified] Pin
Paresh Chitte15-Feb-08 1:24
Paresh Chitte15-Feb-08 1:24 
GeneralRecycle Bin Files and Folders Pin
john563214-Feb-08 23:30
john563214-Feb-08 23:30 
Questionmy code breaks unique pointer rule? Pin
George_George14-Feb-08 23:06
George_George14-Feb-08 23:06 
GeneralError while exporting a static member form a DLL Pin
Prasanth M V14-Feb-08 23:04
Prasanth M V14-Feb-08 23:04 
GeneralRe: Error while exporting a static member form a DLL Pin
CPallini14-Feb-08 23:23
mveCPallini14-Feb-08 23:23 
GeneralRe: Error while exporting a static member form a DLL Pin
Prasanth M V17-Feb-08 22:15
Prasanth M V17-Feb-08 22:15 
GeneralRe: Error while exporting a static member form a DLL Pin
CPallini17-Feb-08 22:35
mveCPallini17-Feb-08 22:35 
Prasanth M V wrote:
But when i ma using this in amy application , it is showing an error
error LNK2001: unresolved external symbol "public: static int CMyClass::nValue" (?nValue@CMyClass@@2HA)


You need to link the importation library of the DLL (for instance if your DLL is MyClass.DLL, then you have to link your application with MyClass.lib).
You may add MyClass.lib to the linker command line in the project settings.
Probably you need also to specify the folder wherein the linker may find the importation library (choose Tools->Options menu item then select the Project and Solutions->VC++ Directories, select Library files into the show directories for listbox and finally add the MyClass.lib folder path to the list).

Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke


GeneralRe: Error while exporting a static member form a DLL Pin
Prasanth M V17-Feb-08 23:01
Prasanth M V17-Feb-08 23:01 
GeneralRe: Error while exporting a static member form a DLL Pin
CPallini18-Feb-08 0:53
mveCPallini18-Feb-08 0:53 
GeneralRe: Error while exporting a static member form a DLL Pin
Prasanth M V19-Feb-08 0:19
Prasanth M V19-Feb-08 0:19 
GeneralRe: Error while exporting a static member form a DLL Pin
Prasanth M V19-Feb-08 0:19
Prasanth M V19-Feb-08 0:19 
GeneralRe: Error while exporting a static member form a DLL Pin
Cedric Moonen14-Feb-08 23:36
Cedric Moonen14-Feb-08 23:36 
Generaldual interface for IDispatch Pin
George_George14-Feb-08 22:28
George_George14-Feb-08 22:28 
GeneralRe: dual interface for IDispatch Pin
CPallini14-Feb-08 23:07
mveCPallini14-Feb-08 23:07 
GeneralRe: dual interface for IDispatch Pin
George_George14-Feb-08 23:18
George_George14-Feb-08 23:18 
GeneralRe: dual interface for IDispatch Pin
CPallini14-Feb-08 23:29
mveCPallini14-Feb-08 23:29 
GeneralRe: dual interface for IDispatch Pin
George_George14-Feb-08 23:52
George_George14-Feb-08 23:52 
GeneralRe: dual interface for IDispatch Pin
CPallini15-Feb-08 0:02
mveCPallini15-Feb-08 0:02 
GeneralRe: dual interface for IDispatch Pin
George_George15-Feb-08 0:05
George_George15-Feb-08 0:05 
GeneralRe: dual interface for IDispatch Pin
CPallini15-Feb-08 0:22
mveCPallini15-Feb-08 0:22 
GeneralRe: dual interface for IDispatch Pin
George_George15-Feb-08 0:34
George_George15-Feb-08 0:34 
GeneralRe: dual interface for IDispatch Pin
CPallini15-Feb-08 1:18
mveCPallini15-Feb-08 1:18 
GeneralRe: dual interface for IDispatch Pin
George_George15-Feb-08 1:30
George_George15-Feb-08 1:30 
GeneralRe: dual interface for IDispatch Pin
CPallini15-Feb-08 2:29
mveCPallini15-Feb-08 2:29 

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.