BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: _export

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE)
View previous topic :: View next topic  
Author Message
Maurice Barnum
Guest





PostPosted: Tue Apr 13, 2004 7:47 pm    Post subject: Re: _export Reply with quote



Quote:
Here is the line of source code:

char * __declspec(dllexport) key_from_URL_data (int expire_months,
char * URL_data)
{ <function body> }

or:

char * _export key_from_URL_data (int expire_months, char * URL_data)


The error messages are all linker errors, and I did quote some examples:

undefined symbol Sysutils::Exception::Exception
undefined symbol System::__linkproc__ __fastcall LStrFromPChar

looks like youre dll is not being linked to the VCL, which you're
using somewhere in that function (?).

when you don't export the function, the linker notices that it's
unreferenced, and tosses it out. export marks the function as "used",
which then implies that all symbols refernced by the function need to
be resolved as well.

so, you needed to check the "include vcl" box in the console wizard.
i'd generate a new project with that checked, save it, and then
apply the appropriate changes to your existing project. or recreate
the project from scratch.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.