Farming after the apocalypse: chickens or giant cockroaches? You also state that you have added the package to the requires list so we rule out this as well. Other info The class does descend from TObject, though originally before refactoring into packages it was a normal C++ class. (More detail below. The link errors have occured because whatever library (.lib, .a or .o file) implements the functions defined in "vmblock.h" has not bee included in the link. weblink
You need to manually add all required packages to the Requires list. Besides there is a few other websites that can provide help, many of the sites are targeting Delphi though, but this you have to get used to though. Topic archived. I used this 'target:: dependents' and just 1 rule - the linker - so this messed up the thing. http://stackoverflow.com/questions/22122864/linker-error-unresolved-external-c-builder-6-0
How to use color ramp with torus Spaced-out numbers Are non-English speakers better protected from (international) phishing? Ordinal base is 1. There is no compiler warning using it on standard C++ classes. This means that certain implementations are different in C++ Builder than other compilers.
How are you compling it? It's quick & easy. All the dll's had no problem building, just the app.exe. my site Similar topics Linker Error When Connecting C++ To Websphere MQ linker error Linker Errors in VC7 Project Linker error Linker Errors Porting from .NET 1.1 to 2.0 Linker Error linker error
What is interesting about all this, is that a package is essentially a DLL as far as I recall, but I must admit I can't find or remember the source of Remy Lebeau writes as a response to the question in the forum post: __declspec(dllexport) can be used for plain functions, data variables, and non-VCL classes, and can be used in plain more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Properly written packages can ease the reusability of components, and I believe it is the preferred method of distributing components for the VCL.
When I was creating the dll's I knew you had to put the following lines at the top of the header files: 1
#ifdef __DLL__ #define impexp __declspec(dllexport) #else #define impexp The author of the original post, also asks your exact question about this, but unfortunately that part of the question is unanswered. Get 1:1 Help Now Advertise Here Enjoyed your answer? check over here Not the answer you're looking for?
BUT. What compiler are you using? Box around continued fraction Converting Game of Life images to lists How to know if a meal was cooked with or contains alcohol?
Browse more C / C++ Questions on Bytes Question stats viewed: 25582 replies: 4 date asked: Jul 17 '06 Follow this discussion BYTES.COM © 2016 Formerly "TheScripts.com" from 2005-2008 About Bytes It seems "safer" using VCL-style classes when trying to solve problems with a very Delphi-ish thing like this anyway. How should I deal with a difficult group and a DM that doesn't help? Since I can link successfully if I add that lib file to the project so that it should be mangled name problem. 0 Write Comment First Name Please enter a first
What is the meaning of the so-called "pregnant chad"? But I don't think this is the only way to solve the problem. up vote 6 down vote favorite 4 I'm experimenting with reconfiguring my application to make heaving use of packages. this content Develop for Windows, Mac, Android, iOS, devices and gadgets!
I've been investigating this path because it seems to be the C++Builder / Delphi Way, and if it worked it looks attractive. Thanks. The PACKAGE macro is resolved into __declspec(package), you can compare it to __declspec(dllexport). If one of them is true then the path isn't the problem.
You should find out if: The path exists in the compiler search path list.