473,320 Members | 1,950 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Function not recognizing

hi
I have two header files like "Headerfile1.h" "Headerfile2.h" , In
"Headerfile2.h" i have declared "Headerfile1.h"

So in my application i have declared "Headerfile2.h" and i am using
some functions of "Headerfile1.h" in my application, and i could able
to compile successfully but at runtime linker unable to find the
function which is in "Headerfile1.h".
Can anybody tell me where i am doing wrong?
Regards
Rasheed.
Jun 27 '08 #1
4 1218
Rasheed wrote:
hi
I have two header files like "Headerfile1.h" "Headerfile2.h" , In
"Headerfile2.h" i have declared "Headerfile1.h"
<nitpick>
You most likely haven't *declared* it, you may have *included* it in
the other file.
</nitpick>
So in my application i have declared "Headerfile2.h"
Again, you haven't *declared* it, you're most likely *including* it
somewhere.
and i am using
some functions of "Headerfile1.h" in my application, and i could able
to compile successfully but at runtime linker unable to find the
function which is in "Headerfile1.h".
At run-time? Linker? Are you usuing dynamic linking? Then it's
beyond the scope of this newsgroup.
Can anybody tell me where i am doing wrong?
Uh... Most likely you haven't read the FAQ for this newsgroup.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Jun 27 '08 #2
On May 12, 9:06*pm, Rasheed <sk.rasheedfar...@gmail.comwrote:
hi
* I have two header files like "Headerfile1.h" *"Headerfile2.h" , In
"Headerfile2.h" i have declared "Headerfile1.h"

So in my application i have declared "Headerfile2.h" and i am using
some functions of "Headerfile1.h" *in my application, and i could able
to compile successfully but at runtime linker *unable to find the
function which is in "Headerfile1.h".
Can anybody tell me where i am doing wrong?
Regards
Rasheed.
Hello, Just post the minimal working code so that the active members
can help. Make it a habit.
Jun 27 '08 #3
On May 12, 9:37*pm, gnuyuva <gnuy...@gmail.comwrote:
Hello, Just post the minimal working code so that the active members
can help. Make it a habit.
Sorry, its the "minimal code which reproduces your issue".

Jun 27 '08 #4
On May 12, 9:06*am, Rasheed <sk.rasheedfar...@gmail.comwrote:
hi
* I have two header files like "Headerfile1.h" *"Headerfile2.h" , In
"Headerfile2.h" i have declared "Headerfile1.h"

So in my application i have declared "Headerfile2.h" and i am using
some functions of "Headerfile1.h" *in my application, and i could able
to compile successfully but at runtime linker *unable to find the
function which is in "Headerfile1.h".
Can anybody tell me where i am doing wrong?
Did you tell the linker to link in the module that contains the
functions
declared in Headerfile1.h?

--
Fred Kleinschmidt
Jun 27 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: mal_lori | last post by:
Hello, I have an ongoing problem with a single machine not recognizing the REPLACE function. This is a WinXP Pro machine, running Office 2000 (SP3) with MDAC 2.8 (SR1) and Jet 4 installed. ...
22
by: L. Westmeier | last post by:
Is there a way to have to exiting point in a void function? I don't want to exit the program but just this function. Any answers appreciated. L. Westmeier
1
by: Jamie | last post by:
I am using remote scripting to call a .NET page within a main page. The child page (child.aspx) returns html that contains dynamically created javascript methods (function test()). The parent...
4
geo039
by: geo039 | last post by:
I tried to write a simple application that takes user input by text and time selected by date time picker. It displays the appt description in one list box and the time in another list box. I wrote...
1
by: Angus | last post by:
Why moving a function from protected to public area in class causes error C2556 - overloaded function differs only by return type I have a protected function called GetState like this: enum...
1
by: thulaseeram | last post by:
hi, i am using the following code for uploading <div id="iframe" name="iframe" style="width:850px; height:120px;"> <iframe name="attach_frame" id="attach_frame"...
3
patjones
by: patjones | last post by:
Good morning all: In what seems like an ongoing saga to make the DSum function do what I need it to, I am now having trouble with a user-defined function in my VBA module. Here's the offending...
10
by: colin | last post by:
Hi, I profile my code and find its spending a lot of time doing implicit conversions from similar structures. the conversions are mainly things like this class Point { implicit conversion...
10
by: =?Utf-8?B?UGF0cmljayBXZXN0ZXJob2Zm?= | last post by:
Hello, I'm currently working on a small DLL that will be used as an extension to a working application. It is required that the DLL has only one export named "C16_DLLCALL". So I started creating...
2
by: phpentrylevel | last post by:
hello i am a newbie to Javascript with a in depth background of PHP i have a simple script that replaces missing images when the webpage loads but i just cant get it to validate in JLint as my...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.