Search found 140 matches

by smd
Tue Jul 12, 2016 3:34 pm
Forum: Technical
Topic: $#%@@ Berlin - Access Violation
Replies: 12
Views: 59243

Re: $#%@@ Berlin - Access Violation

Try this: Copy your source and header files into a new folder. Not your project files, just your source and header files. Create a New Project from scratch adding your source and header files. Compile with all optimizations turned off. Execute with the debugger. If you do not get the error, then you...
by smd
Mon Jul 04, 2016 12:30 pm
Forum: Technical
Topic: Cannot find erf()
Replies: 1
Views: 12661

Cannot find erf()

I am trying to compile the NIST statistical test suite which is available as a set of standard C source files. The statistical test call the erf() (Gaussian error function). the library routine is supposed to be available by including <math.h>. It is not referenced at all in the header file. Does RA...
by smd
Fri May 27, 2016 1:09 pm
Forum: Technical
Topic: Rad Studio Berlin 10.1 and EOL problem
Replies: 3
Views: 17843

Rad Studio Berlin 10.1 and EOL problem

I just noticed an error in my text output files caused by the new version Rad studio Berlin 10.1. A simple C program like the classic Hello World #include <stdio.h> #include <string.h> char mystr[128]; int main(int argc, char *argv[]) { sprintf(mystr, "Hello World\r\n"); } the string mystr will cont...
by smd
Tue May 10, 2016 9:46 am
Forum: General
Topic: Crickets
Replies: 4
Views: 22564

Re: Crickets

I found more answers here than on Embarcadero's forum. Fast too. Posts by many people on their forum seem to be ignored for very long response times. I found this forum from a link on the C++ Builder page. A shame they removed the link to this and other third party resources.
by smd
Sun May 08, 2016 9:27 am
Forum: General
Topic: Crickets
Replies: 4
Views: 22564

Crickets

This board sure has become quiet over the past few months.
by smd
Wed Mar 23, 2016 10:57 pm
Forum: Technical
Topic: File Recovery
Replies: 1
Views: 11835

Re: File Recovery

Fixed. invoked regedit and searched, much to check, and found the embarcadero entry for recovered files. Man they have a ton of entries in there. Kind of hate the windows registry concept. kludge on a kludge and decades of kludge.
by smd
Wed Mar 23, 2016 10:32 pm
Forum: Technical
Topic: File Recovery
Replies: 1
Views: 11835

File Recovery

Rad 10 All the sudden, every time I launch RAD Studio, once loading finishes, but before I open my project, I get a recovery window opening. It states the following files were recovered and to choose which ones to recover. there are no files in the list. I flushed the reopen list, ran CCleaner, dele...
by smd
Tue Jan 12, 2016 7:50 pm
Forum: Technical
Topic: Not getting TAB key in OnKeyDown
Replies: 1
Views: 12235

Re: Not getting TAB key in OnKeyDown

I figured it out. I never used virtual functions before, mostly due to I code in C most of the time for embedded controllers. KeyDown is a virtual function which can be overridden by my own function. I copied from the help page for KeyDown its prototype, pasted it into the header file for the form c...
by smd
Tue Jan 12, 2016 6:16 pm
Forum: Technical
Topic: Not getting TAB key in OnKeyDown
Replies: 1
Views: 12235

Not getting TAB key in OnKeyDown

Firemonkey RAD 10 I have a simple form in which I am manipulating some images. I created an OnKeyDown event to capture key board inputs to do various actions. All keys are captured except TAB. In my previous programs, using either the TMemo component or the TMSMemo from TMS Software, if I pressed th...
by smd
Wed Dec 09, 2015 11:42 am
Forum: Technical
Topic: Launching a program from Firemonkey
Replies: 0
Views: 12172

Launching a program from Firemonkey

When writing a C program where I want to launch a program from my program, I would use the spawn() or system() functions. That is the classic POSIX way to do it. What is the preferred way in Firemonkey to launch an arbitrary program? Does Firemonkey have any issues if I use the system() or spawn() f...
by smd
Mon Nov 30, 2015 8:57 pm
Forum: Technical
Topic: Anti Virus and CA certificates
Replies: 5
Views: 30426

Re: Anti Virus and CA certificates

Seems the simplest solution is to get my application signed. I have no idea how to do that. Some client may have Avast on their computer so I need to address this issue. Luckily it happened on one of my computers and not on a clients machine.

What is involved with getting my application signed?
by smd
Mon Nov 30, 2015 6:48 pm
Forum: Technical
Topic: Anti Virus and CA certificates
Replies: 5
Views: 30426

Anti Virus and CA certificates

I copied my compiled program over to another computer (windows 7 and Windows 10) to run some tests. That system has Avast anti virus on it. As soon as I tried to execute the program, Avast flagged it as a virus for not having a CA certificate. Although I can add the program to the exclusion list, th...
by smd
Thu Nov 19, 2015 1:27 pm
Forum: Technical
Topic: Marquee Selection
Replies: 1
Views: 12168

Marquee Selection

Firemonkey RAD 10 (C++) I am trying to figure out how to code a mouse marquee selection of various graphical objects. Assume some text or other graphical objects (rectangle, circle,...) on a canvas. I want to simply hold down the left mouse button and drag a selection rectangle to select various obj...
by smd
Fri Oct 30, 2015 12:21 am
Forum: Technical
Topic: Deleting Forms
Replies: 3
Views: 18502

Re: Deleting Forms

If not the FormCreate and FormDestroy, event, then what am I supposed to use?
by smd
Thu Oct 29, 2015 10:48 am
Forum: Technical
Topic: Deleting Forms
Replies: 3
Views: 18502

Deleting Forms

Using Firemonkey Rad 10 I am not clear about an issue with forms. Say I have a form called MyForm. To open it I use the following code if (!MyForm) MyForm = new TMyForm(this); MyForm->Show(); My question is: When I terminate the program, is the destructor automatically called? or do I have to specif...