Click here to Skip to main content
15,921,660 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Run Time Error When Using CDatabase Pin
Ramu Pulipati9-Jan-03 2:00
Ramu Pulipati9-Jan-03 2:00 
GeneralRe: Run Time Error When Using CDatabase Pin
Muhammad Asim Ghaznavi10-Jan-03 0:22
Muhammad Asim Ghaznavi10-Jan-03 0:22 
GeneralCPropertySheet... Pin
Raphael Kindt9-Jan-03 0:24
Raphael Kindt9-Jan-03 0:24 
GeneralRe: CPropertySheet... Pin
Joan M9-Jan-03 0:40
professionalJoan M9-Jan-03 0:40 
GeneralSample: Pin
Joan M9-Jan-03 2:00
professionalJoan M9-Jan-03 2:00 
Generalimporting from a DLL... Pin
Joan M9-Jan-03 0:15
professionalJoan M9-Jan-03 0:15 
GeneralRe: importing from a DLL... Pin
Raphael Kindt9-Jan-03 1:19
Raphael Kindt9-Jan-03 1:19 
GeneralRe: importing from a DLL... Pin
Joan M9-Jan-03 1:29
professionalJoan M9-Jan-03 1:29 
No,

let me explain better, my english is not my best...

1. I have a DLL that installs a system wide keyboard hook that exports a function lets call it FxA.

2. In the project of the service that will launch that function (FxA) I've added the LIB file of the DLL going to the menu item: (Project -> Settings -> Link) and writting there the path to that lib file.

3. Once this has been done, I try to use that function from my service calling it directly (i.e: FxA(true);)

but when I link the service App. the linker tells me that:
error C2065: 'FxA' : undeclared identifier
Generating Code...
Error executing cl.exe.

SCTATL.exe - 1 error(s), 0 warning(s)


And I don't know why.

I'm sure that I'm missing something important, but I cannot remember what it is.

Do you know what I'm missing in order to be able to import that function?

NOTE:
when I've written:
When I edit the source code of the service in the VC++6 editor and I write down the name of the function that I want to import, a tooltip appears with the guidelines of how to continue writting that function (parameters and so on...)
I meant that when in the source code I have written the name of the function ("FxA(") and a "(" then a tooltip appears with the right type of parameter that I must enter... and this makes me to think that the VisualC++ knows the existence of that FxA function.

NOTE2:
Have I helped you with the Property sheet affair?
GeneralRe: importing from a DLL... Pin
Raphael Kindt9-Jan-03 1:52
Raphael Kindt9-Jan-03 1:52 
GeneralRe: importing from a DLL... Pin
Joan M9-Jan-03 1:49
professionalJoan M9-Jan-03 1:49 
Generalsmall problem with CString And GetWindowsDirectory Pin
r i s h a b h s8-Jan-03 22:45
r i s h a b h s8-Jan-03 22:45 
GeneralRe: small problem with CString And GetWindowsDirectory Pin
Hans Ruck9-Jan-03 0:08
Hans Ruck9-Jan-03 0:08 
GeneralRe: small problem with CString And GetWindowsDirectory Pin
Hesham Amin9-Jan-03 0:41
Hesham Amin9-Jan-03 0:41 
GeneralMaximizing window in MDI Pin
Rage8-Jan-03 22:27
professionalRage8-Jan-03 22:27 
GeneralRe: Maximizing window in MDI Pin
Hans Ruck8-Jan-03 23:48
Hans Ruck8-Jan-03 23:48 
GeneralRe: Maximizing window in MDI Pin
Rage9-Jan-03 0:49
professionalRage9-Jan-03 0:49 
GeneralRe: Maximizing window in MDI Pin
Hans Ruck9-Jan-03 3:06
Hans Ruck9-Jan-03 3:06 
GeneralRe: Maximizing window in MDI Pin
Yipeee9-Jan-03 21:09
Yipeee9-Jan-03 21:09 
GeneralScrolling in PropertyPage Pin
mzakarni8-Jan-03 22:28
mzakarni8-Jan-03 22:28 
Questioncreating OLE object in VC? Pin
E_LISE_LI8-Jan-03 21:18
E_LISE_LI8-Jan-03 21:18 
QuestionWhy this Code make the System Icon Crazy? Pin
Ivano8-Jan-03 20:59
Ivano8-Jan-03 20:59 
GeneralBitmaps merging Pin
raja hindustani8-Jan-03 20:57
raja hindustani8-Jan-03 20:57 
GeneralWTL CListView Pin
Luke Murray8-Jan-03 20:29
Luke Murray8-Jan-03 20:29 
GeneralRegarding Port Pin
San8-Jan-03 18:30
San8-Jan-03 18:30 
GeneralRe: Regarding Port Pin
xxhimanshu8-Jan-03 21:09
xxhimanshu8-Jan-03 21:09 

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.