How to Detect Leaks in C++ Builder 10.4 / Android app - memory-leaks

Now that the memory management model has changed (ARC removed) in C++ Builder 10.4, I need to check my app for memory leaks. My research has revealed several tools for apps that run on Windows but not on Android.
I am testing my 32 bit app on Android 10.
Thanks in advance for any possibilities!

You could compile your application in windows and use the tools of your research.

Related

Setting up a Smart Device Project in VS 2012 with CF3.9

I currently need to work on a Compact Framework Project again. I used to do this some time ago with VS 2008, however I don't have a license for this anymore. I do have licenses for 2012, and it really seemed like good timing for me given the recent announcements (Get started developing for Windows Embedded Compact in Visual Studio (Compact 2013)).
I downloaded and installed Application Builder for Windows Embedded Compact 2013
And install the Embedded Compact 2013 Update 5 (full setup).
Unfortunately after these steps the Project Templates still won't show up.
My current understanding is that the template will only be visible when I also install the SDK.
The SDK provided for the Windows Embedded Compact 2013 product that you are targeting. Typically, this SDK is provided by an OEM.
However, I don't have a device for development, I used to use the emulator for this and they used to be available in Visual Studio without big fuzz.
I tried to find an emulator using my preferred web search, but without any success.
Using Windows Embedded Compact 2013 (WEC2013) it's impossible to develop a Net CF 3.9 application without an SDK.
There isn't a default SDK. In general, when you have an embedded system, it isn't general purpose but it has specific features that the OEM exposes with a custom SDK. In this way, avoiding standard SDK, who develop application can't use feature that there won't be on the target hardware.
The only way you have to start develop is to install Platform Builder and using built in CEPC BSP to create a CEPC image for a virtual machine and an SDK for it.
After installing this SDK you can use your virtual machine with CEPC image to run your application. In this way you can create an "emulator" for a x86 system with WEC2013 on it.
Paolo.

Deploying Crystal Reports for Visual Studio on Windows 7 64 bit systems via Clickonce

I have written an application that uses CR for Visual Studio. It deploys and runs fine on 32 bit systems. I want it to work on 64 bit systems too, so I ran CRRuntime_64bit_13_0_7.msi to install the redistributable.
When I select my prerequisites in VS 2012, should I see an entry for CR 64 bit? I don't.
In VS, I set the target CPU to x64 and publish (Clickonce). When I try to install it on my Win 7 64 bit system, I get an error:
Unable to install or run the application. The application requires that assembly CrystalDecisions.ReportAppServer.CommonObjectMode Version 13.0.2000.0 be installed in the Global Assembly Cache (GAC) first.
How can I deploy the 64 bit CR runtime with my application?
Thanks
Maybe there's a bug with the Service Pack 7 version of the files? Have you tried with the Service Pack 8 version that was recently released?
SAP Crystal Reports, Developer version for Microsoft Visual Studio
Is your development environment 32-bit or 64-bit? Because that might have a bit to do with it also. Installing and deploying Crystal has always been a pain (I've been working with it since version 7.0) and to introduce the complexity of 32/64-bit makes it even more fun!
Another thing to point out on that link was that you have to run the "Install executable" to get it to integrate into VS properly. When I did so, it asked me if I wanted to install the 64-bit runtime as my PC was 64-bit, did you get to this point and if so, which version did you choose?
In the app we're working on, we have a routine that inspects all assemblies in the dependencies folder and auto-loads classes with a certain attribute, but when I went to run the app targeting a 64-bit CPU (or even Any CPU) it would give me exceptions when trying to load the Crystal Reports assemblies on start-up, but it would work fine when targeting a 32-bit CPU.
Which leads me to think that perhaps they either don't have their 32/64-bitness sorted properly, or their installer isn't doing what it says it is.

How to compile C# code to 64 bit in Xamarin Studio on OS X?

I'm dealing with a large single text file (1.5 GB).
I have a machine with 16 GB memory, but Xamarin Studio only allows me to compile things into 32-bit executables. So my 16 GB memory could not me utilized fully.
So my question is, how do I compile my code into 64-bit programs in Xamarin Studio in OS X? Are there other ways to break this memory limit set by mono for each process?
Thanks.
You can't yet compile to 64bit or use 64bit native libraries with Xamarin.Mac unfortunately, it's still 32bit only, they are apparently working on it though.
Xamarin announced the Unified API 32/64 bit for Mac and iOS back in 8/19/2014, so the answer is now: yes.
Assuming you have a installed a 64-bit Mono (& compiler) framework on OS-X as the default install is still 32-bit in order to support GTK# applications. Within Xamarin studio you can change the Mono framework SDK to your 64-bit version that is being used to compile/run.

C++ Metro UI Tiles

Is there any libraries to make the Metro tiled interface in Visual C++/MFC?
That is,
If you are going to deploy the App. on Windows XP, the library would emulate the UI elements of Metro in MFC/C++ in your App.
There are currently C# libraries which emulate the MetroUI but none in Visual C++/MFC.
It seems that BCGSoft is going to implement this control: they reported about it on their forum
the latest BCGSuite for MFC version 18.0 from BCGSoft has this features:
http://www.bcgsoft.com/featuretour/tour327.htm
http://www.bcgsoft.com/featuretour/tour329.htm
http://www.bcgsoft.com/featuretour/tour328.htm
It's not free, but very good looking

Visual C++ Express on Windows7 64-bit?

Is it possible to normally run Visual C++ Express edition on windows7 64-bit?
Because when I try to install it, the setup window says "visual c++ 2010 express includes the 32-bit visual c++ compiler toolset".
I am a student and intend to use the IDE for learning/practicing C language. I don't plan to create windows-ready applications anytime soon with the windows SDK.
So, will it allow me to write and compile normally without the 64-bit compiler toolset(on my 64-bit system)? I mean will it make any difference if I don't plan on making applications using SDK? If yes, please explain how?
And finally, should I go on and install it or opt for other C/C++ IDE? I previously used Dev C++ but it isn't as great on Windows 7.
Thanks.
Yes, you'll be able to run your programs as every other 32-bit application - via WoW64 (Windows-on-Windows64) technology.
Yes, Windows 7 64bit supports pretty much all 32bit applications just fine (except if they depend on some 32bit-only driver components, but most applications don't do that).

Resources