Search found 231 matches

by smays
Mon Feb 24, 2014 12:12 pm
Forum: Technical
Topic: Assigning New Function to TStringGrid Member Function
Replies: 1
Views: 12127

Assigning New Function to TStringGrid Member Function

I am working on a class to automate the drawing of a TStringGrid, but I cannot figure out the syntax necessary to assign my member function to actually draw a given cell to the OnDrawCell event. Below is what I have - that does not compile: (In the .cpp file) __fastcall TStringGridUtilities::TString...
by smays
Mon Feb 24, 2014 11:20 am
Forum: Polls
Topic: January 2014 Developer's Poll
Replies: 1
Views: 17223

Re: January 2014 Developer's Poll

C: 3 versions. XE5 Enterprise, because, "Oh cool, XE5 ships with FireDAC so I will not need to keep updating the libraries I use to access MySQL and Oracle servers!" XE2, because FireDAC (Direct Access Connection) as shipped with XE5 Enterprise requires vendor libraries from MySQL and Oracle, which ...
by smays
Wed Mar 27, 2013 1:20 pm
Forum: Technical
Topic: Assigning Functions to TComboBox
Replies: 2
Views: 13281

Assigning Functions to TComboBox

I am sure this is a simple question. As part of a helper class to better control TStringGrid, I am attempting to create a TComboBox. All I want to do is to load some simple strings into the TComboBox::Items, allow the user to make a selection, copy the selection to the associated TStringGrid cell, a...
by smays
Tue Oct 30, 2012 11:05 am
Forum: Polls
Topic: October 2012 Developer's Poll
Replies: 2
Views: 20502

Re: October 2012 Developer's Poll

Like most people, I voted 'Maybe'.

Perhaps this is a question of ignorance... Winderz 8 is supposed to support Win32, correct?

Steve.
by smays
Fri Oct 05, 2012 1:49 pm
Forum: Technical
Topic: Accessing Environment Variables
Replies: 8
Views: 34229

Re: Accessing Environment Variables

I set the environment variables from "Advanced system settings"|"Advanced"|"Environment Variables...". I checked the success of my attempts to change/add the environment variables via the "set" utility in 'DOS'. I will change my code to take advantage of your suggestions regarding accessing the regi...
by smays
Fri Oct 05, 2012 8:10 am
Forum: Technical
Topic: Accessing Environment Variables
Replies: 8
Views: 34229

Re: Accessing Environment Variables

The other day I tried rebooting the PC after changing or creating an environment variable to see if I could finally access it. Based on what I read regarding environment variables, yesterday afternoon I fumbled through the registry and I discovered a key named Environment where all the environment v...
by smays
Thu Oct 04, 2012 3:33 pm
Forum: Technical
Topic: Accessing Environment Variables
Replies: 8
Views: 34229

Re: Accessing Environment Variables

Thanks for the suggestions. I tried GetEnvironmentVariable yesterday and I could not get it to work. It works fine today. I have since tried changing the name of the environment variable and I could not access the new environment variable - yet I could still access the previously named environment v...
by smays
Wed Oct 03, 2012 1:18 pm
Forum: Technical
Topic: Accessing Environment Variables
Replies: 8
Views: 34229

Accessing Environment Variables

Is it possible to access environment variables set by a user? Using getenv(), GetEnvironmentVariableA(), and GetEnvironmentVariable() I can access any existing environment variable I want EXCEPT those I personally added to either "User variables for XXXXXX" or "System variables". For example, I can ...
by smays
Mon Oct 01, 2012 11:07 am
Forum: Technical
Topic: How can I save my files in binarary code"HardCode"
Replies: 7
Views: 28114

Re: How can I save my files in binarary code"HardCode"

What is the nature of your memory data you want to obfuscate as a binary format on the hard disk? Tabular? Otherwise random chunks of data (string arrays, etc...)? If tabular, you could use TClientDataSet, which, although meant to be a memory dataset, gives you two file formats - a bloated text-base...
by smays
Thu Aug 02, 2012 5:19 pm
Forum: Technical
Topic: Client Data Sorting in XE2?
Replies: 0
Views: 10564

Client Data Sorting in XE2?

By the way, I am NOT referring to TClientDataSet. Instead I am referring to data pulled into memory from some database (for example, a MySQL server). While searching the internet for stuff I can do with TDBGrid, I stumbled across a Delphi article showing how to sort client data within the client pro...
by smays
Fri Jul 06, 2012 1:50 pm
Forum: Technical
Topic: XE2 Blues.
Replies: 1
Views: 11020

XE2 Blues.

I upgraded from 2009 to XE2 and I am trying to compile with XE2 a program I recently released using 2009, LED_Load.exe. In the past Builder 2009 would make disk copies of cbproj files created by Builder 2007 and rebuild them as Builder 2009 cbproj files. XE2 did not do any of that, which is fine - I...
by smays
Wed Jun 20, 2012 6:48 am
Forum: Technical
Topic: Importing ActiveX Component in Builder 2009
Replies: 5
Views: 23173

Re: Importing ActiveX Component in Builder 2009

You can right-click on the filename in the #include statement and choose "Open file at cursor", then look at the full path that the IDE displays for the file it opens. Worked like a charm. I like Windows 7 just fine, but it's on-going efforts to protect c:\program files\.. often confuses me. The ge...
by smays
Tue Jun 19, 2012 5:27 pm
Forum: Technical
Topic: Manual of Indy
Replies: 5
Views: 23763

Re: Manual of Indy

What I have learned about Indy was from reading through the Delphi examples. I do not find object pascal the easiest to read, but from the standpoint of readability, I suppose it is a step above VB. From what I can remember, the good news was that there were a LOT of varied Delphi examples, includin...
by smays
Tue Jun 19, 2012 4:45 pm
Forum: Technical
Topic: Importing ActiveX Component in Builder 2009
Replies: 5
Views: 23173

Re: Importing ActiveX Component in Builder 2009

First, I will go through the import process. I have attempted this many times, but I have not documented the process. 1.) "Component"|"Import Component..." 2.) I chose "Import ActiveX Control" and clicked "Next >>". 3.) I chose "FLIR SDK 2.6 Camera Control" and clicked "Next >>" 4.) I placed a check...
by smays
Mon Jun 18, 2012 3:02 pm
Forum: Technical
Topic: Importing ActiveX Component in Builder 2009
Replies: 5
Views: 23173

Importing ActiveX Component in Builder 2009

Can anybody recommend an article or post or anything explaining how to import activex components into Builder 2009? I purchased a couple of Flir thermal imagers and the programmer's SDK, which is basically an expensive Activex component. When I attempt to import the component into Builder I receive ...