Click here to Skip to main content
15,925,444 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: My Process Memory? Pin
Jonathan [Darka]25-Jan-07 21:08
professionalJonathan [Darka]25-Jan-07 21:08 
GeneralRe: My Process Memory? Pin
Peter Weyzen25-Jan-07 21:16
Peter Weyzen25-Jan-07 21:16 
GeneralRe: My Process Memory? Pin
Hamid_RT25-Jan-07 21:53
Hamid_RT25-Jan-07 21:53 
AnswerRe: My Process Memory? Pin
David Crow26-Jan-07 3:08
David Crow26-Jan-07 3:08 
AnswerRe: My Process Memory? Pin
Blake Miller29-Jan-07 4:19
Blake Miller29-Jan-07 4:19 
QuestionHow to import VC++ dll in VC++.NET Pin
bengz25-Jan-07 19:14
bengz25-Jan-07 19:14 
QuestionRe: How to import VC++ dll in VC++.NET Pin
prasad_som25-Jan-07 19:22
prasad_som25-Jan-07 19:22 
AnswerRe: How to import VC++ dll in VC++.NET Pin
bengz25-Jan-07 21:11
bengz25-Jan-07 21:11 
hi. tks for the reply.

hmm.. what i did was:
1. i paste the dll file in my debug folder of my VC++.NET application
2. i added the dll.h ( header file ) into my application.
3. i place the dll.lib in the debug folder as well.
4. go to my linker-> additional dependencies-> i included the path to the dll.h
so in my application, i want to use the dll function, eg. installhook()
it prompt me unresolved external symbol
" error LNK2019: unresolved external symbol __imp__installhook referenced in function "public: __thiscall CChildFrame::CChildFrame(void)" (??0CChildFrame@@QAE@XZ)"

in my dll.h, the code is as follows:
------------------------------
#ifdef KEYDLL3_EXPORTS
#define KEYDLL3_API __declspec(dllexport)
#else
#define KEYDLL3_API __declspec(dllimport)
#endif

KEYDLL3_API void installhook(HWND h);
KEYDLL3_API void removehook();
KEYDLL3_API LRESULT CALLBACK hookproc(int ncode,WPARAM wparam,LPARAM lparam);
----------------------------------

what steps did i missed? or the way i link my dll is wrong?

can help? tks.

rdgs, terr






AnswerRe: How to import VC++ dll in VC++.NET Pin
prasad_som25-Jan-07 21:51
prasad_som25-Jan-07 21:51 
GeneralRe: How to import VC++ dll in VC++.NET Pin
bengz26-Jan-07 18:40
bengz26-Jan-07 18:40 
AnswerRe: How to import VC++ dll in VC++.NET Pin
Hamid_RT25-Jan-07 20:53
Hamid_RT25-Jan-07 20:53 
GeneralRe: How to import VC++ dll in VC++.NET Pin
bengz25-Jan-07 21:12
bengz25-Jan-07 21:12 
GeneralRe: How to import VC++ dll in VC++.NET Pin
Hamid_RT25-Jan-07 21:52
Hamid_RT25-Jan-07 21:52 
GeneralRe: How to import VC++ dll in VC++.NET Pin
bengz26-Jan-07 18:38
bengz26-Jan-07 18:38 
GeneralRe: How to import VC++ dll in VC++.NET Pin
bengz26-Jan-07 22:18
bengz26-Jan-07 22:18 
GeneralRe: How to import VC++ dll in VC++.NET Pin
Hamid_RT27-Jan-07 0:52
Hamid_RT27-Jan-07 0:52 
QuestionSafe Remove Problem Pin
radhika2825-Jan-07 18:31
radhika2825-Jan-07 18:31 
QuestionPointers in c Pin
deeps_cute25-Jan-07 17:17
deeps_cute25-Jan-07 17:17 
AnswerRe: Pointers in c Pin
Michael Dunn25-Jan-07 17:36
sitebuilderMichael Dunn25-Jan-07 17:36 
Questioncreate dialog Pin
ng4kau125-Jan-07 15:33
ng4kau125-Jan-07 15:33 
AnswerRe: create dialog Pin
Mark Salsbery25-Jan-07 15:45
Mark Salsbery25-Jan-07 15:45 
GeneralRe: create dialog Pin
ng4kau125-Jan-07 16:03
ng4kau125-Jan-07 16:03 
GeneralRe: create dialog Pin
Mark Salsbery25-Jan-07 17:30
Mark Salsbery25-Jan-07 17:30 
AnswerRe: create dialog Pin
prasad_som25-Jan-07 16:54
prasad_som25-Jan-07 16:54 
QuestionPostThreadMEssage from one process to another non GUI process Pin
A_L25-Jan-07 13:12
A_L25-Jan-07 13:12 

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.