C/C++ Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingC/C++ Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old March 14th, 2006, 06:03 AM
chu chu is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Posts: 4 chu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 34 sec
Reputation Power: 0
Cannot run app exe file for borland c++ builder, pls help

hi all,

i'm new here and i urgent need help on how to get the application file executed. i'm using borland c++ builder-6.


problem:
1)click on exe file, show missing dclusr60.bpl
2)then i opened project file, show TCDKImage missing, i ignored it and go into the project file.
3)then i goto Component->install component, fill in Unit-file-name:dclusr.cpp and Package-file-name:dclusr.bpk
4)i click exe file again and it says can't find dclusr60.bpl

i check Bin directory, no dclusr60.bpl

please help !! thank u very much.

Reply With Quote
  #2  
Old March 14th, 2006, 09:50 AM
Cirus Cirus is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 276 Cirus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 11 h 48 m 58 sec
Reputation Power: 4
Quote:
Originally Posted by chu
hi all,

i'm new here and i urgent need help on how to get the application file executed. i'm using borland c++ builder-6.


problem:
1)click on exe file, show missing dclusr60.bpl
2)then i opened project file, show TCDKImage missing, i ignored it and go into the project file.
3)then i goto Component->install component, fill in Unit-file-name:dclusr.cpp and Package-file-name:dclusr.bpk
4)i click exe file again and it says can't find dclusr60.bpl

i check Bin directory, no dclusr60.bpl

please help !! thank u very much.


When the file is not in the bin directory then it is obvious that error will come since your exe is showing some dependency on the missing file. Put that file in the directory and then run your exe.

Reply With Quote
  #3  
Old March 14th, 2006, 08:58 PM
chu chu is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Posts: 4 chu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 34 sec
Reputation Power: 0
hi cirus, thx for replying.

but where should i get that dclusr60.bpl file? i checked the bin .. no file with file name dclusr .. pls advise.

Reply With Quote
  #4  
Old March 14th, 2006, 10:20 PM
Cirus Cirus is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 276 Cirus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 11 h 48 m 58 sec
Reputation Power: 4
Quote:
Originally Posted by chu
hi cirus, thx for replying.

but where should i get that dclusr60.bpl file? i checked the bin .. no file with file name dclusr .. pls advise.


Is dclusr60.bpl a component? What kind of file is it? Does it form during compilation?

In short is there any program for it in your project such that it makes a module called dclusr60.bpl?

Search your computer, locate it? If you do not find it then look out for it code? look if you can create this module.

Reply With Quote
  #5  
Old March 14th, 2006, 10:55 PM
chu chu is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Posts: 4 chu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 34 sec
Reputation Power: 0
u r right ... when i install component with unit-file-name: dclusr.cpp and package-file-name: dclusr.bpk, then compile and install, the dclusr60.bpl created.

when i try to run exe file again, it's now shows : "the procedure entry point @@Cdkimage@Finalize could not be located in the dynamic link library dclusr60.bpl"

pls help again, thx.

Reply With Quote
  #6  
Old March 14th, 2006, 11:20 PM
Cirus Cirus is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 276 Cirus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 11 h 48 m 58 sec
Reputation Power: 4
Quote:
Originally Posted by chu
u r right ... when i install component with unit-file-name: dclusr.cpp and package-file-name: dclusr.bpk, then compile and install, the dclusr60.bpl created.

when i try to run exe file again, it's now shows : "the procedure entry point @@Cdkimage@Finalize could not be located in the dynamic link library dclusr60.bpl"

pls help again, thx.


"the procedure entry point @@Cdkimage@Finalize could not be located in the dynamic link library dclusr60.bpl" .... means that the function named Cdkimage_finalize has not been properly exported in the DLL.

That is you have to check its parameters.Since you are doing in Borland C++ , I am not so familiar but can give you an idea because I know the same thing in Visual Studio VC++.

Do following steps:
1. Check the name of the function.See whether it is named correclty.The function name in your project must correspond to
exported function name (letter by letter) in your DLL.
2. Check how many parameters is it using.
3. Recompile ( rebuild it) .
4. Since this is a C++ function in a DLL, you can use either definition file to correclty name the function or use extern C just before your function name to export it properly.

Reply With Quote
  #7  
Old March 15th, 2006, 01:40 AM
chu chu is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Posts: 4 chu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 34 sec
Reputation Power: 0
Quote:
Originally Posted by Cirus
"the procedure entry point @@Cdkimage@Finalize could not be located in the dynamic link library dclusr60.bpl" .... means that the function named Cdkimage_finalize has not been properly exported in the DLL.

That is you have to check its parameters.Since you are doing in Borland C++ , I am not so familiar but can give you an idea because I know the same thing in Visual Studio VC++.

Do following steps:
1. Check the name of the function.See whether it is named correclty.The function name in your project must correspond to
exported function name (letter by letter) in your DLL.
2. Check how many parameters is it using.
3. Recompile ( rebuild it) .
4. Since this is a C++ function in a DLL, you can use either definition file to correclty name the function or use extern C just before your function name to export it properly.


thank u very much for the reply. it's helps alot. appreciate it very much.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingC/C++ Help > Cannot run app exe file for borland c++ builder, pls help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT