| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
Quote:
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. |
|
#3
|
|||
|
|||
|
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. |
|
#4
|
|||
|
|||
|
Quote:
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. |
|
#5
|
|||
|
|||
|
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. |
|
#6
|
|||
|
|||
|
Quote:
"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. |
|
#7
|
|||
|
|||
|
Quote:
thank u very much for the reply. it's helps alot. appreciate it very much. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > Cannot run app exe file for borland c++ builder, pls help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|