?
Solved

Entry point not found in bpl error Please help

Posted on 2005-04-14
13
Medium Priority
?
690 Views
Last Modified: 2013-11-17
hi all,
I am using some components from Kever IT (www.kever.com)
With the download comes a demo application. I can't tell you how much trouble i've had simply installing the bpls. But thankfully that now seems to be working.

I can compile the demo application without any problems, but when I run it i always get an error
“The procedure entry point @Ezdatetime@EzDateTimeToDateTime$qqrj could not be located in the dynamic link library EzBasic_CB6.bpl.”

I've opened up the Bpl and bpi in WordPad and there is definately some text relating to that function call. The components are written in Pascal, so they have header files, and these too contain the declaration of a function EzDateTimeToDateTime.

Kever assure me that the demo works fine on their test machines, and that so far they haven't any issues from any other users.

I'm used to using visual studio.NET but have to use C Builder here because of the pascal files.
If anyone has had experience of this sort of problem before then please let me know. Its already held development up by a week and is costing more money with each day that passes.

Many thanks
DRB2k2
0
Comment
Question by:drb2k2
  • 7
  • 6
13 Comments
 
LVL 3

Expert Comment

by:balder
ID: 13788427
The problem you describes imply that the library you are using is not in sync with the header files.
Are both the library and header files delivered from Kever IT, or are you building theese?


0
 

Author Comment

by:drb2k2
ID: 13789096
Hi balder,
thanks for the quick reply.
I've since got all the code from Kever IT to build the packages myself. After a lot of online searching I sort of came to the conclusion that you've posted.

Now however when I try to build the source code I get 29 linker errors saying that various entry points to methods in BSBSMP.lib are missing.
I've installed service packs 1,2 and 4 for CBuilder 6. The folder that the BCBSMP.lib is in (cbuilder6\lib\) is definately in the the library path.

Most of the errors generated from trying to use Kever components were from this particular package that won't compile. I suspect that the two are linked.

I've checked the dates on the header files, and they did match those supplied from Kever.
BTW do you know how I can create my own .hpp files from these packages? I've never used either Pascal or Borland before.

Thanks
DRB2k2
0
 
LVL 3

Expert Comment

by:balder
ID: 13789210
Hm,
lots of issues there :)

Have you created the c++ builder project file for this package yourself, or was it supplied from Kever?

Regardless of that, remove the package from builder (via Component->Install packages ... ). And delete every .dcu,.lib,.bpi,.bpl that you have installed/created from this package.

Open the package project and build all (don't install), when a .pas file is compiled the corresponding .hpp file is created.

In theory this should work well, if problems still - there is something wrong in your project file.

Wait with install package until you have managed a succesfull build (as this can create more problems).

hth
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:drb2k2
ID: 13790805
Hi Balder,

The packages were supplied from Kever, but i read somewhere that C Builder can have issues if a package is compiled on a different version to the one you are using, so i was trying to recompile them myself.

Since this problem i've uninstalled CBuilder 6, deleted all the files from Program Files folder, and re-installed the software.
Now i'm back to where I was at the start of the week where it won't even let me install the packages.

It seems to randomly pick whether or not to let me install the package.

I know that Kever use CBuilder Enterprise, whereas i'm using Professional. Studpid as this may sound i'm betting its an issue with some components used in the build of the packages being different in the two version.

I'm downloading a trial of CBuilder X to see if I can install the packages here, and if it makes a difference.

I'll let you know the results.

Cheers
DRB2k2
0
 
LVL 3

Expert Comment

by:balder
ID: 13805170
CBuilder X doesn't understand VCL, so you are out of luck there.

I just downloaded their demo and installed the libraries as described in the readme.txt file - it all worked without a hickup.

Then I tried to run the included demo, which grok'ed on
uses ...., MSXML, ...

according to same readme.txt
Two demos are included:
  - Demos\EzProject
    Our scheduler application based on ADO and TClientDataset components.
    This version requires an enterprise version of your Borland development
    environment to compile.

I use professional, so I can't help with that.

The other mentioned demo Demos\EzProject_BDE wasn't included.

When inspecting the project files there was several references to folders not included in the distribution (they may have done a mistake there)




0
 

Author Comment

by:drb2k2
ID: 13806049
Hi Balder,

haha they've added that note about needing enterprise because of my pestering. I'm using professional too.

I don't think that they did much bug checking with this new version.
By the way could you do me a quick favour if you still have the components installed.

Just create an empty form project then add an EzHoverImage from the EzSpecials collection. (its the last one on the list). Then just run the program. Mine always craps out with the can't find Finalization call. Oohh and if you could let me know which version of C++ builder you're using build and extra packs.

Cheers
DRB2k2
0
 
LVL 3

Expert Comment

by:balder
ID: 13813216
Because of some other components I initially got some linker errors, I opened the project options, packages tab and removed the checkmark from all packages except Borland Database Components, Borland Standard Components and this three Ez components. (Beware that you don't completely uninstall the others when doing this).

After that it run without any problems (you might have to create a new project file).



I am using Professional Version 6.0 (Build 10.166), applied all patches and the latest linker fix. Running on XP Professional (SP 2).



0
 

Author Comment

by:drb2k2
ID: 13813362
damn, damn and double damn with a pint of damn.
I thought that would work but it still can't find the entry points.
Sigh ok I think i'm going to format my computer. Its the last step but you're the second person who is able to get it to work on their machine. Drastic measures.

I'll let you know how it goes.

Cheers
DRB2k2
0
 

Author Comment

by:drb2k2
ID: 13813811
Arrrrrrrrrrrrrrrrrrrrrrrghhhhhhhhhhhhhhhhhh

Man I can't believe this. Just before formatting my machine I thought i'd try to install the components onto a different machine running Windows 2000. I have exactly the same results. Then I thought perhaps the demo version is different to the source code version, so I downloaded and installed that. Exactly the same problem.

At the moment all the packages install, but if you come out of the borland, then go back in again both EzSpecials and EzBasic are removed, trying to put the tick next to them brings up the old entry point not found error.

Balder can i just check something, I've installed update 1, update 2 and update 4 as well as sticking the new linker in the bin folder. Is there any updates that i've missed.

I really can't work this out. It seems that the components don't want to work anywhere in my building.

Cheers
DRB2k2
0
 
LVL 3

Accepted Solution

by:
balder earned 1000 total points
ID: 13813917
Nope, no updates you have missed (as far as I can tell).

You might wan't to check your Path environment variable, and check if builder/bin and builder/projects/bpl are first.

Next, search your computer for other versions of this EzXXX bpl's, maybe you have several version because of both demo and source code installs.

>> At the moment all the packages install, but if you come out of the borland, then go back in again both EzSpecials and EzBasic are removed, trying to put the tick next to them brings up the old entry point not found error.

If this is what happens with the source code build, I would guess you have had a messagebox saying something like "..exception .. bpl ... function ... Would you like to load this package next time?", and you answered no. Try answering yes, and do a complete build of alle Ez packages. Also make sure that the include and library paths are set correctly on this Ez packages.
0
 

Author Comment

by:drb2k2
ID: 13814115
Thanks for the quick reply,
Unfortunately I have already done a search for older versions and renamed the folders they are in so that they couldn't be linked.

Sometimes CBuilder asks me if I want to load the package, but most times it just removes it.

It does this often, instead of saying the ususal can't find entry point, it just shows the cpu stack. Not much help.
I'm in the process of registering the software to make 100% sure that i've got every patch installed.

I don't think i'll ever use Borland again, its just not making any sense, and the error reports are stupidly unhelpful.

thanks balder,
I'll let you know if the situation changes.

DRB2k2
0
 
LVL 3

Expert Comment

by:balder
ID: 13814316
>>I'm in the process of registering the software to make 100% sure that i've got every patch installed.

This is probably the cause, when not registered Builder are missing some functionality (sometimes it happens with registered versions too). Complete reinstallation and registration usually helps.

Its a Borland bug (I have never seen it described as a "feature").
0
 

Author Comment

by:drb2k2
ID: 13814368
bloody hell,
I've written a program that used the old components and this was installed on all the test machines. Whenever its installed it must copy the .bpl files into the System32 directory.

Even though Borland never says that its going to check the System32 directory it must do. Deleting the .bpl files from here made everything ok again.

Thanks Balder
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand column That will then direct you to their download page. From that p…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
Suggested Courses

750 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question