Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use Log in standalone app (in C++)
#8
(04-08-2018, 12:43 PM)ShaneStump Wrote:
(04-06-2018, 09:01 PM)JNPSoftware Wrote: Hi Ian, in Uses, put: IWMain;

FormIWMain.Log( 'your log message' );

Howdy Ian!

As a C++ user for over 20 years, I would recommend (if you haven't already figured out), you should be paying a little extra and purchasing Rad Studio. 

That way you will get the most out of C Builder by:

1) Being able to use Rad Studio with Delphi projects for building / viewing.

2) Large library of examples if needed.

All the best,

Shane
Hi Shane, 

Yup, I'm a cheapskate though, and I have managed with just C++ Builder for more than 20 years!

You can actually add Delphi units to a C++ project, view the forms and compile them. You just don't get to be able to load Delphi projects, so tend to run into link (library) issues. I usually manage to understand Delphi source.

Ian

(04-08-2018, 12:01 PM)JNPSoftware Wrote: Hi Ian, sorry i don't pay attention is C++, my bad. I use a IFDEF in Delphi, maybe work on C++ too.
Code:
  {$IFDEF DEBUG}
  FormIWMain.Log( '' );
  {$ENDIF}
When is to deploy i compile in Release mode.

Yup thanks, I do that.
Reply


Messages In This Thread
RE: How to use Log in standalone app (in C++) - by ian@archsw.com - 04-08-2018, 03:29 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)