Out of memory, code2
A search on the net, the heart is cool,,,,
Refer to instructions to run the official web site, and note that the show is on the inside of the 10.4.2, that is to say, even if is the latest version, will also have this problem:
The 64 - bit Windows c + + Application with a FireDAC Component took Raise Error
The following error is raised when attempting to compile an application using a single FireDAC component, The when The platform is Windows x64 with static linking:
C: \ program files \ (x86) embarcadero \ studio \ & lt; N.n & gt; \ Bin \ CodeGear. Cpp. The Targets: warning: warning: Out of memory
C: \ program files \ (x86) embarcadero \ studio \ & lt; N.n & gt; \ Bin \ CodeGear. Cpp. The Targets (2751, 5) : error MSB6006: "ilink32 exited with code 2.
The workaround is not to link FireDAC statically Win64 in c + + apps.
Means, if your win64 project, using The FireDAC component, then compiled into a static Release version, it absolutely will pop up The error, The official also gives The solution: The workaround is not to link FireDAC statically win64 in c + + apps.
Means: flexible methods, it is the program compiled into a static,,,, this is not equal to didn't say,,,
So get along while, finally compiled a version, with a lot of BPL and DLL files, specific as follows:
Is there a better way, can be less dependent on file?? It is no use to any third party controls,,,
CodePudding user response:
The workaround is not to link FireDAC statically Win64 in c + + apps.I understand this sentence is wrong?
How can I not to link FireDAC statically Win64 in c + + apps???????
Even if released, less BPL and DLL or ah,,
CodePudding user response:
RTL can static links, such as the FIREDAC * only use the runtime packages canCodePudding user response:
I was so in the IDE Settings, then why so many extra BPL and DLL,,,CodePudding user response:
The options - & gt; Packages - & gt; The runtime packages, runtime package import libraries can be specified in the runtime package, don't need, removeCodePudding user response:
Tried it once, have been streamlined to a minimum, but program dependency and I on the first floor of the BPL and DLL, one can't be little,,,Set as shown in figure:
I drunk,,,,
CodePudding user response:
Do you have any alternative FireDAC??UniDAC??
CodePudding user response:
You look at the project directory with the same name. Pdi file is a text file, listed in the actual depends on the runtime package, I said in front of the "RTL links can be static, such as" there is a problem, as long as you use the runtime package, RTL cannot be static link also invalid (set up), but there is no direct or indirect use of runtime package is not needCodePudding user response:
The debug configuration under static link?CodePudding user response: