Ted Lyngmo

No Rank
Points: 0
As Emailx45 implied, maybe something can be done in the way you bring all the code together.
How much of that code base can be separeted from the rest? Think DLL or if that won't work, something softer that makes you talk internaly.
Have you separated UI / db / processing stuff? Do you have X departments delivering stuff? CI? CD? With that codebase (and that you even have to think about it) makes me believe that there's some separation work that can be done. Individual developers should not really need to notice that the product is big i.m.o.
Br,
Ted
Read More...
I hope it's not the compiler that's taking descisions like that.
There must be some dependency analysis involved before the compiler gets its orders. Do you have some of the project on a network drive? Many build systems rely on timestamps to decide if a file it's dependent on has changed (or "is newer") since the last time (stamped on the final binary) was used. With a slight time skew, all bets are off.
gmake has quirks which makes it unsuitable for filesystems like MVFS (ClearCase) where every file may seem to have changed backwards in time suddenly.
Or ... do you include some central header file(s) in every other file in the project and that happens to be touched between builds somehow? Do you have a "NiftyFunctions.hpp" - with signatures that changes often?
Br,
Ted
Read More...
Resource management is tricky. You provide no insight as to why/how/when that's going on in your code, but I'm pretty sure that some resource is being used that isn't available. If gestures aren't available, the app has no business acting as if they where.
Read More...
"basically no sql expressions"
I don't mean to make fun anyone person - but I think I know enough SQL see fun when it's staring me right in my one good eye.
Sorry, carry on ...
Next chapter: Nearly no regular expressions ...
Read More...
Standard:
std::fstream
System::Classes::TFileStream
Read More...
I am using the pro version too. No problem with services or the registry.
Read More...
Great, thanks! It turned out that this workaround works:
#include <propsys.h> // to avoid an Embarcadero bug
#include <DesignEditors.hpp>
Read More...
Are you able to uninstall it completely so it's nott visible in the serviices list? Have you renamed it since you first installed it? Perhaps seach the registry for the filename to see whar info you get there.
I run my services on W10 just fine so that's not it.
Read More...
struct my_s
{
int a;
int b;
ansistring t;
};
void foo(my_s& ref_to_a_my_s)
{
ref_to_a_my_s.a = 1;
ref_to_a_my_s.b = 2;
ref_to_a_my_s.t = " Whoo, that was tough";
// return this; // can't return anything from a void function
}
You may want to make "foo" a class method instead:
struct my_s
{
int a;
int b;
ansistring t;
void foo() {
a = 1;
b = 2;
t = " Whoo, that was tough";
}
};
// in other part of program
my_s sample
sample.foo();
Read More...
Have you installed a service with the same name from a different path earlier? Perhaps uninstalling and reinstalling it will help.
Read More...
If you double-clock the installed service via services.msc you get the path to the exe file it tries to execute. Is the file still at that path?
Read More...
Hi!
I've written a few components before but have never tried creating a custom property editor so I thought I would give it a try. I tried to follow the tips on the
Design Editors
page.
* Added $(BDSINCLUDE)\windows\vcl\design to the System Include Path
* Added designide.bpi to the Requires of my package.
I then added a Design-Time Package to contain the editor only.
#ifndef StringListEditorH
#define StringListEditorH
#include <DesignEditors.hpp>
//---------------------------------------------------------------------------
class TStringListEditor : public TStringProperty {
public:
__fastcall TStringListEditor();
};
//---------------------------------------------------------------------------
#endif
When trying to compile, I get this:
[bcc32c Error] propsys.h(1881): definition of type 'IPropertyDescription' conflicts with typedef of the same name
propsys.h(129): 'IPropertyDescription' declared here
The code in conflict looks like this:
#ifndef __IPropertyDescription_FWD_DEFINED__
#define __IPropertyDescription_FWD_DEFINED__
typedef interface IPropertyDescription IPropertyDescription; // Line 129
#endif /* __IPropertyDescription_FWD_DEFINED__ */
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("6f79d558-3e96-4549-a1d1-7d75d2288814")
IPropertyDescription : public IUnknown // Line 1881
{
public:
C++ Builder 10.2.1
Br,
Ted
Read More...
The name TStrings is unfortunate since there's already an abstract TStrings class in the framework (System.Classes.TStrings). You should probably rename it to avoid confusion.
When you say you click Commands, do you mean the Commands property in a TFactory instance that you've added to your form?
Btw, try using blocks [ code] ... [ /code]. It makes the code much easier to read.
Read More...
The files you found are probably not from
Fulgan
or you don't have C:\Windows\SysWOW64 in the DLL search path. Download the appropriate SSL package (via the link) and unzip libeay32 and ssleay32.dll in your applications folder.
You also need to set your TIdHTTP object's IOHandler to a TIdSSLIOHandlerSocketOpenSSL object.
Note: You need to distribute the libs with the app for it to work elsewhere.
Read More...
The first file (why attach it as a document?):
[C++ Error] Unit1.cpp(227): E2089 Identifier 'PrgBox1Change' cannot have a type qualifier.
[C++ Error] Unit1.cpp(234): E2139 Declaration missing ;.
[C++ Error] Unit1.cpp(234): E2134 Compound statement missing }.
[C++ Error] Unit1.cpp(234): E2134 Compound statement missing }.
[C++ Error] Unit1.cpp(234): E2134 Compound statement missing }.
[C++ Error] Unit1.cpp(234): E2134 Compound statement missing }.
[C++ Error] Unit1.cpp(234): E2134 Compound statement missing }.
[C++ Error] Unit1.cpp(234): E2134 Compound statement missing }.
void __fastcall TForm1::PrgBox1Change(TObject *Sender)
{
void __fastcall TForm1::PrgBox1Change(TObject *Sender)
{
//
}
Read More...
The overloaded function
function IntToHex(Value: Int8): string;
Did you try this too?
HexStr := HexStr + inttohex(ACharacteristic.GetValueAsInt8(I));
Ted
Read More...
Basic Information
-
About me
Person of nice persons interest.
Contact Information
-
Website
https://lyncon.se