Revision | 494 (tree) |
---|---|
Time | 2020-02-11 07:00:32 |
Author | ![]() |
Correção do erro que gerava access violation quando o Package Manager era usado para listar o pacote rtlxx.bpl
@@ -7,7 +7,7 @@ | ||
7 | 7 | <TargetedPlatforms>1</TargetedPlatforms> |
8 | 8 | <AppType>Console</AppType> |
9 | 9 | <FrameworkType>None</FrameworkType> |
10 | - <ProjectVersion>18.7</ProjectVersion> | |
10 | + <ProjectVersion>18.8</ProjectVersion> | |
11 | 11 | <Platform Condition="'$(Platform)'==''">Win32</Platform> |
12 | 12 | </PropertyGroup> |
13 | 13 | <PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''"> |
@@ -85,7 +85,7 @@ | ||
85 | 85 | <PropertyGroup Condition="'$(Cfg_2_Win32)'!=''"> |
86 | 86 | <VerInfo_Locale>1033</VerInfo_Locale> |
87 | 87 | <VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName)</VerInfo_Keys> |
88 | - <Debugger_RunParams>-l26 -oteste.txt</Debugger_RunParams> | |
88 | + <Debugger_RunParams>-l"C:\Program Files (x86)\Embarcadero\Studio\20.0\bin\rtl260.bpl"</Debugger_RunParams> | |
89 | 89 | <Icon_MainIcon>..\res\PackageManager.ico</Icon_MainIcon> |
90 | 90 | </PropertyGroup> |
91 | 91 | <ItemGroup> |
@@ -113,6 +113,9 @@ | ||
113 | 113 | <Source> |
114 | 114 | <Source Name="MainSource">PackageManager.dpr</Source> |
115 | 115 | </Source> |
116 | + <Excluded_Packages> | |
117 | + <Excluded_Packages Name="$(BDSBIN)\dcloffice2k260.bpl">Microsoft Office 2000 Sample Automation Server Wrapper Components</Excluded_Packages> | |
118 | + </Excluded_Packages> | |
116 | 119 | </Delphi.Personality> |
117 | 120 | <Platforms> |
118 | 121 | <Platform value="Win32">True</Platform> |
@@ -173,6 +176,10 @@ | ||
173 | 176 | <RemoteDir>classes</RemoteDir> |
174 | 177 | <Operation>1</Operation> |
175 | 178 | </Platform> |
179 | + <Platform Name="Android64"> | |
180 | + <RemoteDir>classes</RemoteDir> | |
181 | + <Operation>1</Operation> | |
182 | + </Platform> | |
176 | 183 | </DeployClass> |
177 | 184 | <DeployClass Name="AndroidFileProvider"> |
178 | 185 | <Platform Name="Android"> |
@@ -179,6 +186,10 @@ | ||
179 | 186 | <RemoteDir>res\xml</RemoteDir> |
180 | 187 | <Operation>1</Operation> |
181 | 188 | </Platform> |
189 | + <Platform Name="Android64"> | |
190 | + <RemoteDir>res\xml</RemoteDir> | |
191 | + <Operation>1</Operation> | |
192 | + </Platform> | |
182 | 193 | </DeployClass> |
183 | 194 | <DeployClass Name="AndroidGDBServer"> |
184 | 195 | <Platform Name="Android"> |
@@ -191,12 +202,26 @@ | ||
191 | 202 | <RemoteDir>library\lib\armeabi</RemoteDir> |
192 | 203 | <Operation>1</Operation> |
193 | 204 | </Platform> |
205 | + <Platform Name="Android64"> | |
206 | + <RemoteDir>library\lib\armeabi</RemoteDir> | |
207 | + <Operation>1</Operation> | |
208 | + </Platform> | |
194 | 209 | </DeployClass> |
210 | + <DeployClass Name="AndroidLibnativeArmeabiv7aFile"> | |
211 | + <Platform Name="Android64"> | |
212 | + <RemoteDir>library\lib\armeabi-v7a</RemoteDir> | |
213 | + <Operation>1</Operation> | |
214 | + </Platform> | |
215 | + </DeployClass> | |
195 | 216 | <DeployClass Name="AndroidLibnativeMipsFile"> |
196 | 217 | <Platform Name="Android"> |
197 | 218 | <RemoteDir>library\lib\mips</RemoteDir> |
198 | 219 | <Operation>1</Operation> |
199 | 220 | </Platform> |
221 | + <Platform Name="Android64"> | |
222 | + <RemoteDir>library\lib\mips</RemoteDir> | |
223 | + <Operation>1</Operation> | |
224 | + </Platform> | |
200 | 225 | </DeployClass> |
201 | 226 | <DeployClass Name="AndroidServiceOutput"> |
202 | 227 | <Platform Name="Android"> |
@@ -203,12 +228,26 @@ | ||
203 | 228 | <RemoteDir>library\lib\armeabi-v7a</RemoteDir> |
204 | 229 | <Operation>1</Operation> |
205 | 230 | </Platform> |
231 | + <Platform Name="Android64"> | |
232 | + <RemoteDir>library\lib\arm64-v8a</RemoteDir> | |
233 | + <Operation>1</Operation> | |
234 | + </Platform> | |
206 | 235 | </DeployClass> |
236 | + <DeployClass Name="AndroidServiceOutput_Android32"> | |
237 | + <Platform Name="Android64"> | |
238 | + <RemoteDir>library\lib\armeabi-v7a</RemoteDir> | |
239 | + <Operation>1</Operation> | |
240 | + </Platform> | |
241 | + </DeployClass> | |
207 | 242 | <DeployClass Name="AndroidSplashImageDef"> |
208 | 243 | <Platform Name="Android"> |
209 | 244 | <RemoteDir>res\drawable</RemoteDir> |
210 | 245 | <Operation>1</Operation> |
211 | 246 | </Platform> |
247 | + <Platform Name="Android64"> | |
248 | + <RemoteDir>res\drawable</RemoteDir> | |
249 | + <Operation>1</Operation> | |
250 | + </Platform> | |
212 | 251 | </DeployClass> |
213 | 252 | <DeployClass Name="AndroidSplashStyles"> |
214 | 253 | <Platform Name="Android"> |
@@ -215,6 +254,10 @@ | ||
215 | 254 | <RemoteDir>res\values</RemoteDir> |
216 | 255 | <Operation>1</Operation> |
217 | 256 | </Platform> |
257 | + <Platform Name="Android64"> | |
258 | + <RemoteDir>res\values</RemoteDir> | |
259 | + <Operation>1</Operation> | |
260 | + </Platform> | |
218 | 261 | </DeployClass> |
219 | 262 | <DeployClass Name="AndroidSplashStylesV21"> |
220 | 263 | <Platform Name="Android"> |
@@ -221,6 +264,10 @@ | ||
221 | 264 | <RemoteDir>res\values-v21</RemoteDir> |
222 | 265 | <Operation>1</Operation> |
223 | 266 | </Platform> |
267 | + <Platform Name="Android64"> | |
268 | + <RemoteDir>res\values-v21</RemoteDir> | |
269 | + <Operation>1</Operation> | |
270 | + </Platform> | |
224 | 271 | </DeployClass> |
225 | 272 | <DeployClass Name="Android_Colors"> |
226 | 273 | <Platform Name="Android"> |
@@ -227,6 +274,10 @@ | ||
227 | 274 | <RemoteDir>res\values</RemoteDir> |
228 | 275 | <Operation>1</Operation> |
229 | 276 | </Platform> |
277 | + <Platform Name="Android64"> | |
278 | + <RemoteDir>res\values</RemoteDir> | |
279 | + <Operation>1</Operation> | |
280 | + </Platform> | |
230 | 281 | </DeployClass> |
231 | 282 | <DeployClass Name="Android_DefaultAppIcon"> |
232 | 283 | <Platform Name="Android"> |
@@ -233,6 +284,10 @@ | ||
233 | 284 | <RemoteDir>res\drawable</RemoteDir> |
234 | 285 | <Operation>1</Operation> |
235 | 286 | </Platform> |
287 | + <Platform Name="Android64"> | |
288 | + <RemoteDir>res\drawable</RemoteDir> | |
289 | + <Operation>1</Operation> | |
290 | + </Platform> | |
236 | 291 | </DeployClass> |
237 | 292 | <DeployClass Name="Android_LauncherIcon144"> |
238 | 293 | <Platform Name="Android"> |
@@ -239,6 +294,10 @@ | ||
239 | 294 | <RemoteDir>res\drawable-xxhdpi</RemoteDir> |
240 | 295 | <Operation>1</Operation> |
241 | 296 | </Platform> |
297 | + <Platform Name="Android64"> | |
298 | + <RemoteDir>res\drawable-xxhdpi</RemoteDir> | |
299 | + <Operation>1</Operation> | |
300 | + </Platform> | |
242 | 301 | </DeployClass> |
243 | 302 | <DeployClass Name="Android_LauncherIcon36"> |
244 | 303 | <Platform Name="Android"> |
@@ -245,6 +304,10 @@ | ||
245 | 304 | <RemoteDir>res\drawable-ldpi</RemoteDir> |
246 | 305 | <Operation>1</Operation> |
247 | 306 | </Platform> |
307 | + <Platform Name="Android64"> | |
308 | + <RemoteDir>res\drawable-ldpi</RemoteDir> | |
309 | + <Operation>1</Operation> | |
310 | + </Platform> | |
248 | 311 | </DeployClass> |
249 | 312 | <DeployClass Name="Android_LauncherIcon48"> |
250 | 313 | <Platform Name="Android"> |
@@ -251,6 +314,10 @@ | ||
251 | 314 | <RemoteDir>res\drawable-mdpi</RemoteDir> |
252 | 315 | <Operation>1</Operation> |
253 | 316 | </Platform> |
317 | + <Platform Name="Android64"> | |
318 | + <RemoteDir>res\drawable-mdpi</RemoteDir> | |
319 | + <Operation>1</Operation> | |
320 | + </Platform> | |
254 | 321 | </DeployClass> |
255 | 322 | <DeployClass Name="Android_LauncherIcon72"> |
256 | 323 | <Platform Name="Android"> |
@@ -257,6 +324,10 @@ | ||
257 | 324 | <RemoteDir>res\drawable-hdpi</RemoteDir> |
258 | 325 | <Operation>1</Operation> |
259 | 326 | </Platform> |
327 | + <Platform Name="Android64"> | |
328 | + <RemoteDir>res\drawable-hdpi</RemoteDir> | |
329 | + <Operation>1</Operation> | |
330 | + </Platform> | |
260 | 331 | </DeployClass> |
261 | 332 | <DeployClass Name="Android_LauncherIcon96"> |
262 | 333 | <Platform Name="Android"> |
@@ -263,6 +334,10 @@ | ||
263 | 334 | <RemoteDir>res\drawable-xhdpi</RemoteDir> |
264 | 335 | <Operation>1</Operation> |
265 | 336 | </Platform> |
337 | + <Platform Name="Android64"> | |
338 | + <RemoteDir>res\drawable-xhdpi</RemoteDir> | |
339 | + <Operation>1</Operation> | |
340 | + </Platform> | |
266 | 341 | </DeployClass> |
267 | 342 | <DeployClass Name="Android_NotificationIcon24"> |
268 | 343 | <Platform Name="Android"> |
@@ -269,6 +344,10 @@ | ||
269 | 344 | <RemoteDir>res\drawable-mdpi</RemoteDir> |
270 | 345 | <Operation>1</Operation> |
271 | 346 | </Platform> |
347 | + <Platform Name="Android64"> | |
348 | + <RemoteDir>res\drawable-mdpi</RemoteDir> | |
349 | + <Operation>1</Operation> | |
350 | + </Platform> | |
272 | 351 | </DeployClass> |
273 | 352 | <DeployClass Name="Android_NotificationIcon36"> |
274 | 353 | <Platform Name="Android"> |
@@ -275,6 +354,10 @@ | ||
275 | 354 | <RemoteDir>res\drawable-hdpi</RemoteDir> |
276 | 355 | <Operation>1</Operation> |
277 | 356 | </Platform> |
357 | + <Platform Name="Android64"> | |
358 | + <RemoteDir>res\drawable-hdpi</RemoteDir> | |
359 | + <Operation>1</Operation> | |
360 | + </Platform> | |
278 | 361 | </DeployClass> |
279 | 362 | <DeployClass Name="Android_NotificationIcon48"> |
280 | 363 | <Platform Name="Android"> |
@@ -281,6 +364,10 @@ | ||
281 | 364 | <RemoteDir>res\drawable-xhdpi</RemoteDir> |
282 | 365 | <Operation>1</Operation> |
283 | 366 | </Platform> |
367 | + <Platform Name="Android64"> | |
368 | + <RemoteDir>res\drawable-xhdpi</RemoteDir> | |
369 | + <Operation>1</Operation> | |
370 | + </Platform> | |
284 | 371 | </DeployClass> |
285 | 372 | <DeployClass Name="Android_NotificationIcon72"> |
286 | 373 | <Platform Name="Android"> |
@@ -287,6 +374,10 @@ | ||
287 | 374 | <RemoteDir>res\drawable-xxhdpi</RemoteDir> |
288 | 375 | <Operation>1</Operation> |
289 | 376 | </Platform> |
377 | + <Platform Name="Android64"> | |
378 | + <RemoteDir>res\drawable-xxhdpi</RemoteDir> | |
379 | + <Operation>1</Operation> | |
380 | + </Platform> | |
290 | 381 | </DeployClass> |
291 | 382 | <DeployClass Name="Android_NotificationIcon96"> |
292 | 383 | <Platform Name="Android"> |
@@ -293,6 +384,10 @@ | ||
293 | 384 | <RemoteDir>res\drawable-xxxhdpi</RemoteDir> |
294 | 385 | <Operation>1</Operation> |
295 | 386 | </Platform> |
387 | + <Platform Name="Android64"> | |
388 | + <RemoteDir>res\drawable-xxxhdpi</RemoteDir> | |
389 | + <Operation>1</Operation> | |
390 | + </Platform> | |
296 | 391 | </DeployClass> |
297 | 392 | <DeployClass Name="Android_SplashImage426"> |
298 | 393 | <Platform Name="Android"> |
@@ -299,6 +394,10 @@ | ||
299 | 394 | <RemoteDir>res\drawable-small</RemoteDir> |
300 | 395 | <Operation>1</Operation> |
301 | 396 | </Platform> |
397 | + <Platform Name="Android64"> | |
398 | + <RemoteDir>res\drawable-small</RemoteDir> | |
399 | + <Operation>1</Operation> | |
400 | + </Platform> | |
302 | 401 | </DeployClass> |
303 | 402 | <DeployClass Name="Android_SplashImage470"> |
304 | 403 | <Platform Name="Android"> |
@@ -305,6 +404,10 @@ | ||
305 | 404 | <RemoteDir>res\drawable-normal</RemoteDir> |
306 | 405 | <Operation>1</Operation> |
307 | 406 | </Platform> |
407 | + <Platform Name="Android64"> | |
408 | + <RemoteDir>res\drawable-normal</RemoteDir> | |
409 | + <Operation>1</Operation> | |
410 | + </Platform> | |
308 | 411 | </DeployClass> |
309 | 412 | <DeployClass Name="Android_SplashImage640"> |
310 | 413 | <Platform Name="Android"> |
@@ -311,6 +414,10 @@ | ||
311 | 414 | <RemoteDir>res\drawable-large</RemoteDir> |
312 | 415 | <Operation>1</Operation> |
313 | 416 | </Platform> |
417 | + <Platform Name="Android64"> | |
418 | + <RemoteDir>res\drawable-large</RemoteDir> | |
419 | + <Operation>1</Operation> | |
420 | + </Platform> | |
314 | 421 | </DeployClass> |
315 | 422 | <DeployClass Name="Android_SplashImage960"> |
316 | 423 | <Platform Name="Android"> |
@@ -317,6 +424,10 @@ | ||
317 | 424 | <RemoteDir>res\drawable-xlarge</RemoteDir> |
318 | 425 | <Operation>1</Operation> |
319 | 426 | </Platform> |
427 | + <Platform Name="Android64"> | |
428 | + <RemoteDir>res\drawable-xlarge</RemoteDir> | |
429 | + <Operation>1</Operation> | |
430 | + </Platform> | |
320 | 431 | </DeployClass> |
321 | 432 | <DeployClass Name="Android_Strings"> |
322 | 433 | <Platform Name="Android"> |
@@ -323,6 +434,10 @@ | ||
323 | 434 | <RemoteDir>res\values</RemoteDir> |
324 | 435 | <Operation>1</Operation> |
325 | 436 | </Platform> |
437 | + <Platform Name="Android64"> | |
438 | + <RemoteDir>res\values</RemoteDir> | |
439 | + <Operation>1</Operation> | |
440 | + </Platform> | |
326 | 441 | </DeployClass> |
327 | 442 | <DeployClass Name="DebugSymbols"> |
328 | 443 | <Platform Name="iOSSimulator"> |
@@ -392,6 +507,9 @@ | ||
392 | 507 | <Platform Name="Android"> |
393 | 508 | <Operation>0</Operation> |
394 | 509 | </Platform> |
510 | + <Platform Name="Android64"> | |
511 | + <Operation>0</Operation> | |
512 | + </Platform> | |
395 | 513 | <Platform Name="iOSDevice32"> |
396 | 514 | <Operation>0</Operation> |
397 | 515 | </Platform> |
@@ -679,6 +797,9 @@ | ||
679 | 797 | <Platform Name="Android"> |
680 | 798 | <Operation>1</Operation> |
681 | 799 | </Platform> |
800 | + <Platform Name="Android64"> | |
801 | + <Operation>1</Operation> | |
802 | + </Platform> | |
682 | 803 | </DeployClass> |
683 | 804 | <DeployClass Name="ProjectiOSDeviceDebug"> |
684 | 805 | <Platform Name="iOSDevice32"> |
@@ -722,6 +843,10 @@ | ||
722 | 843 | <RemoteDir>library\lib\armeabi-v7a</RemoteDir> |
723 | 844 | <Operation>1</Operation> |
724 | 845 | </Platform> |
846 | + <Platform Name="Android64"> | |
847 | + <RemoteDir>library\lib\arm64-v8a</RemoteDir> | |
848 | + <Operation>1</Operation> | |
849 | + </Platform> | |
725 | 850 | <Platform Name="iOSDevice32"> |
726 | 851 | <Operation>1</Operation> |
727 | 852 | </Platform> |
@@ -744,6 +869,12 @@ | ||
744 | 869 | <Operation>0</Operation> |
745 | 870 | </Platform> |
746 | 871 | </DeployClass> |
872 | + <DeployClass Name="ProjectOutput_Android32"> | |
873 | + <Platform Name="Android64"> | |
874 | + <RemoteDir>library\lib\armeabi-v7a</RemoteDir> | |
875 | + <Operation>1</Operation> | |
876 | + </Platform> | |
877 | + </DeployClass> | |
747 | 878 | <DeployClass Name="ProjectUWPManifest"> |
748 | 879 | <Platform Name="Win32"> |
749 | 880 | <Operation>1</Operation> |
@@ -781,6 +912,7 @@ | ||
781 | 912 | <ProjectRoot Platform="Android" Name="$(PROJECTNAME)"/> |
782 | 913 | <ProjectRoot Platform="OSX64" Name="$(PROJECTNAME)"/> |
783 | 914 | <ProjectRoot Platform="iOSSimulator" Name="$(PROJECTNAME).app"/> |
915 | + <ProjectRoot Platform="Android64" Name="$(PROJECTNAME)"/> | |
784 | 916 | </Deployment> |
785 | 917 | <ModelSupport>False</ModelSupport> |
786 | 918 | </BorlandProject> |
@@ -318,43 +318,50 @@ | ||
318 | 318 | |
319 | 319 | WriteLnToDevice('├ Pacotes requeridos'); |
320 | 320 | |
321 | - for var i: Word := 0 to Pred(Length(DMI.RequiredPackages)) do | |
321 | + if Length(DMI.RequiredPackages) > 0 then | |
322 | + for var i: Word := 0 to Pred(Length(DMI.RequiredPackages)) do | |
323 | + begin | |
324 | + if i < High(DMI.RequiredPackages) then | |
325 | + WriteToDevice('│ ├ ' + DMI.RequiredPackages[i].ItemName) | |
326 | + else | |
327 | + WriteToDevice('│ └ ' + DMI.RequiredPackages[i].ItemName); | |
328 | + | |
329 | + NormVideo; | |
330 | + WriteLnToDevice; | |
331 | + end | |
332 | + else | |
322 | 333 | begin |
323 | - if i < High(DMI.RequiredPackages) then | |
324 | - WriteToDevice('│ ├ ' + DMI.RequiredPackages[i].ItemName) | |
325 | - else | |
326 | - WriteToDevice('│ └ ' + DMI.RequiredPackages[i].ItemName); | |
327 | - | |
334 | + WriteLnToDevice('│ └ <Nenhum>'); | |
328 | 335 | NormVideo; |
329 | - WriteLnToDevice; | |
330 | 336 | end; |
331 | 337 | |
332 | 338 | WriteLnToDevice('├ Units inclusas'); |
333 | 339 | |
334 | - for var i: Word := 0 to Pred(Length(DMI.ContainedUnits)) do | |
335 | - begin | |
336 | - if i < High(DMI.ContainedUnits) then | |
337 | - WriteToDevice('│ ├ ' + DMI.ContainedUnits[i].ItemName + '.dcu ') | |
338 | - else | |
339 | - WriteToDevice('│ └ ' + DMI.ContainedUnits[i].ItemName + '.dcu '); | |
340 | + if Length(DMI.ContainedUnits) > 0 then | |
341 | + for var i: Word := 0 to Pred(Length(DMI.ContainedUnits)) do | |
342 | + begin | |
343 | + if i < High(DMI.ContainedUnits) then | |
344 | + WriteToDevice('│ ├ ' + DMI.ContainedUnits[i].ItemName + '.dcu ') | |
345 | + else | |
346 | + WriteToDevice('│ └ ' + DMI.ContainedUnits[i].ItemName + '.dcu '); | |
340 | 347 | |
341 | - TextColor(Red); | |
342 | - if idMainUnit in DMI.ContainedUnits[i].ItemDetails then | |
343 | - WriteToDevice('<Main Unit>'); | |
348 | + TextColor(Red); | |
349 | + if idMainUnit in DMI.ContainedUnits[i].ItemDetails then | |
350 | + WriteToDevice('<Main Unit>'); | |
344 | 351 | |
345 | - if idPackageUnit in DMI.ContainedUnits[i].ItemDetails then | |
346 | - WriteToDevice('<Package Unit>'); | |
352 | + if idPackageUnit in DMI.ContainedUnits[i].ItemDetails then | |
353 | + WriteToDevice('<Package Unit>'); | |
347 | 354 | |
348 | - if idOriginalWeakPackageUnit in DMI.ContainedUnits[i].ItemDetails then | |
349 | - WriteToDevice('<Weak Package Unit>') | |
350 | - else if idWeakPackageUnit in DMI.ContainedUnits[i].ItemDetails then | |
351 | - WriteToDevice('<Imported Weak Package Unit>'); | |
355 | + if idOriginalWeakPackageUnit in DMI.ContainedUnits[i].ItemDetails then | |
356 | + WriteToDevice('<Weak Package Unit>') | |
357 | + else if idWeakPackageUnit in DMI.ContainedUnits[i].ItemDetails then | |
358 | + WriteToDevice('<Imported Weak Package Unit>'); | |
352 | 359 | |
353 | - if idImplicitlyImported in DMI.ContainedUnits[i].ItemDetails then | |
354 | - WriteToDevice('<ImplicitlyImported>'); | |
355 | - NormVideo; | |
356 | - WriteLnToDevice; | |
357 | - end; | |
360 | + if idImplicitlyImported in DMI.ContainedUnits[i].ItemDetails then | |
361 | + WriteToDevice('<ImplicitlyImported>'); | |
362 | + NormVideo; | |
363 | + WriteLnToDevice; | |
364 | + end; | |
358 | 365 | |
359 | 366 | WriteLnToDevice('└ Módulo do pacote'); |
360 | 367 | WriteLnToDevice(' └ ' + DMI.PackageModule.ItemName + '.dcp'); |