I have a console application that i got to make and i would like to use TClientSocket/TServerSocket in it.
The problem is that when i am trying to compile it, i am getting a linker error regarding the constructors and the destructors of the TBaseSocket and TCustomSocket classes (TClientSocket inherits from those two i think).
The linker error is something like this
[Linker error] undefined reference to ~TCustomSocket
The thing is that in a VCL Form project it compiles just fine, so i guess i am not including some libs paths that the form projects includes by default.
So if anyone could help me i would be grateful.
Thanks in advance and sorry for my english.
I had the same problem with Builder XE. Add 'inet.bpi' to your Requires list and it should link.
Related
Please help me I am getting lots of resource errors
'Resource.Attribute' does not contain a definition for
'mediaRouteSettingsDrawable'
'Resource.Color' does not contain a definition for 'design_textinput_error_color'
'Resource.Dimension' does not contain a definition for 'design_fab_content_size'
'Resource.Dimension' does not contain a definition for 'design_navigation_padding_top_default'
Like this I have 150 errors not sure what is causing this. If I delete them from Resource.Designer it emulator starts in the next build it again comes with all the errors.
Please help me.
I found the issue the problem is with the FFImageLoading package which is causing issues with new version of Xamarin forms
When adding VCLFixPack.pas (latest as of 2013-09-27) to my projects I get strange linking errors for some of them. Some compile fine, but for some it complains about not finding TYPES.OBJ or DBGRIDS.OBJ etc when linking.
Any idea what the issue is?
VCLFixPack is found here
http://andy.jgknet.de/blog/
It sounds like you're missing the path to the delphi lib files from your link line.
If memory serves, for 2010 you needed $(BDS)\lib and $(BDS)\lib\release in your linker paths
(Project->Options->Paths and Directories->Library Paths)
Sometimes some class methods or fields marked erroneous(that red underline) by IDE, but the project successfully compiled and executed(no error or warning).
If I hold mouse pointer on this erroneous sections I got this tool tip : "'TSomeClass' does not contain a member named 'SomeMethod'" or "Undeclared identifier 'SampleIdentifier'".
Is that a kind of IDE bug or am I wrong somewhere?
That feature is called Error Insight and is known not to work reliably. AFAIK you can't fix that. If it bothers you enough you'll have to disable it.
This is an old question, but I found it when searching for a similar issue. I have a large project group with over a dozen packages, and Error Insight was broken for only one of them. The issue appeared after upgrading to Delphi 10 Seattle.
In Project Options | Delphi Compiler, make sure "Use MSBuild externally to compile" is false. This fixed the Error Insight behavior in my project.
I am building a project in Delphi 5. I have successully builded the project and genrated the output exe. Till this state everything works fine. Now I am using testing automation tool 'TestComplete' on the generated the exe. But in TestComplete only Published properties are visible. I am unable to see the private and public properties. TestComplete documentation suggested a way to build the exe with Debug option checked. For that i modified the setting in Project--> Options --> Linker --> Exe and DLL options --> Include TD32 Debug Info is checked and trying to build the project but I am getting an "[Fatal Error]Internal error: DBG2439". I tried closing the delphi and opening the project again. Also I tried deleting all DCUs. But getting same error everytime.
Can Anybody help me on this. Thanks For the help.
Testcomplete link or reference: http://support.smartbear.com/viewarticle/29770/
Got one link while googling but didnt understand steps. can anyone help me to understand. Its really appriciated.
https://groups.google.com/forum/?fromgroups#!msg/borland.public.delphi.ide/PDJUVyFbfQ8/huCmBa3eCVIJ
Finally able to resolve the error. :)
The dbg3439 and dbg 2499 error was due to ResourceString declaration after subprocedure.
Please refer the link for more help:
https://groups.google.com/forum/?fromgroups#!msg/borland.public.delphi.ide/PDJUVyFbfQ8/huCmBa3eCVIJ
Thanks to all..
I'm trying to compile a project and I'm getting this error.
The error occurs in a RemObjects source file, but I think it doesn't have anything to do with RemObjects.
Anyway this error is too generic, and I don't quite get why it happens, so how can I solve it?
The problem was that we translated the unit SysConsts and the Interface changed, removing that unit solved the problem.
This error occurs if you mix libraries. You are probably using a (third-party) library that is compiled with a different version. Try to get the latest version, or recompile if you have the source.
If the problem persists, try to get a minimal subset of the project to find the offending unit / dcu file.