Click here to Skip to main content
15,887,683 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSpecifying data segment for instances of a class Pin
Code-o-mat23-Jul-10 11:32
Code-o-mat23-Jul-10 11:32 
QuestionEdit box font problem? Pin
AnayKulkarni23-Jul-10 1:42
AnayKulkarni23-Jul-10 1:42 
AnswerRe: Edit box font problem? PinPopular
Nuri Ismail23-Jul-10 1:57
Nuri Ismail23-Jul-10 1:57 
QuestionUse ColeDataObject Pin
MKC00223-Jul-10 0:51
MKC00223-Jul-10 0:51 
AnswerRe: Use ColeDataObject Pin
David Crow23-Jul-10 3:13
David Crow23-Jul-10 3:13 
QuestionMessage Removed Pin
23-Jul-10 0:23
viduran23-Jul-10 0:23 
AnswerRe: How to call dll in wince app Pin
Cedric Moonen23-Jul-10 0:46
Cedric Moonen23-Jul-10 0:46 
GeneralRe: How to call dll in wince app Pin
viduran23-Jul-10 0:51
viduran23-Jul-10 0:51 
I have created this dll and trying to call them.

First i got this error

"Error 1 error C2664: 'GetProcAddressW' : cannot convert parameter 2 from 'const char [6]' to 'LPCWSTR' c:\Users\Indumathi\Documents\Visual Studio 2005\Projects\Win32 DLL\Win32 DLL\NestedDLL.cpp 33"

To overcome this i added
_AddFunc = (AddFunc1)GetProcAddress(hInstLibrary,Text("MyDLL"));

After adding this Text command in GetProcAddress I got this error

<b>"Error 1 error LNK2019: unresolved external symbol "public: __cdecl std::exception::exception(char const *)" (??0exception@std@@QAA@PBD@Z) referenced in function "public: __cdecl std::bad_alloc::bad_alloc(char const *)" (??0bad_alloc@std@@QAA@PBD@Z) NestedDLL.obj ">
</b>


To solve this i added .lib file in the Additional Library in Linker tab
Once did that all the error went and i got this error

"Fatal error LNK 1180 cannot open input file"

I am new to VC++ and i have no idea how to solve this.
pls. help me to solve this.
GeneralRe: How to call dll in wince app Pin
Cedric Moonen23-Jul-10 0:57
Cedric Moonen23-Jul-10 0:57 
GeneralRe: How to call dll in wince app Pin
viduran23-Jul-10 1:04
viduran23-Jul-10 1:04 
GeneralRe: How to call dll in wince app Pin
Rajesh R Subramanian23-Jul-10 6:02
professionalRajesh R Subramanian23-Jul-10 6:02 
AnswerRe: How to call dll in wince app Pin
Richard MacCutchan23-Jul-10 0:49
mveRichard MacCutchan23-Jul-10 0:49 
GeneralRe: How to call dll in wince app Pin
viduran23-Jul-10 0:52
viduran23-Jul-10 0:52 
GeneralRe: How to call dll in wince app Pin
Richard MacCutchan23-Jul-10 2:24
mveRichard MacCutchan23-Jul-10 2:24 
GeneralMessage Removed Pin
23-Jul-10 2:50
viduran23-Jul-10 2:50 
GeneralRe: How to call dll in wince app Pin
Richard MacCutchan23-Jul-10 4:27
mveRichard MacCutchan23-Jul-10 4:27 
QuestionScrolling is not working ScrollView Pin
Anu_Bala22-Jul-10 23:03
Anu_Bala22-Jul-10 23:03 
AnswerRe: Scrolling is not working ScrollView Pin
Cedric Moonen22-Jul-10 23:11
Cedric Moonen22-Jul-10 23:11 
GeneralRe: Scrolling is not working ScrollView Pin
Anu_Bala22-Jul-10 23:44
Anu_Bala22-Jul-10 23:44 
Question32 bitmap and gdi+ problem Pin
rjkg22-Jul-10 23:01
rjkg22-Jul-10 23:01 
QuestionRe: 32 bitmap and gdi+ problem Pin
Niklas L22-Jul-10 23:14
Niklas L22-Jul-10 23:14 
AnswerRe: 32 bitmap and gdi+ problem Pin
rjkg22-Jul-10 23:37
rjkg22-Jul-10 23:37 
GeneralRe: 32 bitmap and gdi+ problem Pin
S p k 52123-Jul-10 0:28
S p k 52123-Jul-10 0:28 
GeneralRe: 32 bitmap and gdi+ problem Pin
rjkg23-Jul-10 0:40
rjkg23-Jul-10 0:40 
GeneralRe: 32 bitmap and gdi+ problem Pin
S p k 52123-Jul-10 0:51
S p k 52123-Jul-10 0:51 

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.