Registration disabled at the moment Read more...
×


direktor05
Members-
Content Count
81 -
Joined
-
Last visited
Community Reputation
2 NeutralRecent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
I have some paths screwed. It calls me always the wrong package that I have fixed already, still shows me the wrong unfixed code.
-
Damn you are genius! VCL was not added in the scope.
-
Yea right, here is empty
-
It maybe not complete but for sure not empty. OnGuard is the component called from main project reg4.exe as seen below via another package. EviTrivial unit (from another package) will include OnGuard package However OnGuard is perfectly well built without errors on it's own: But when built inside reg4.exe project it will throw errors
-
Here you have screenshot
-
The biggest problem is if I throw this components out would have to rewrite a lot of code which would take me more time than including them.
-
Exactly. Because it's an old app still requiring components from this package. Like TnTButtons and others. But it's making a mess. Also TPOnGuard also causing the same kind of problems. It can be built by itself without errors if included in another project via uses it causes Forms not found error and similar standard Delphi VCLs can no longer be recognized.
-
I get errors like: Could not compile used unit Forms, StdCtrls Unit Forms not found inside some components pas files. Mostly using this component in Delphi 12: https://github.com/rofl0r/TntUnicode What could be the problem and how to solve it? Is it possible that some components Forms class definition of overload is overriding standard VCL units?
-
Int64 and other ints conflict
direktor05 replied to direktor05's topic in Algorithms, Data Structures and Class Design
I fixed it using ChatGPT but I can't understand it properly -
Int64 and other ints conflict
direktor05 posted a topic in Algorithms, Data Structures and Class Design
Hello, can someone explain what is wrong here and why this doesn't fit together and why I can't typecast Int64(Integer): Operator not applicable to this operand type error below: How to fix this? function TDIUnicodeWriter.WriteDecimalNumber(ValueNumber: Int64): Boolean; label 1; var StartDiv: Int64; i: Cardinal; begin if ValueNumber < 0 then -> HERE begin Result := WriteCharW(WC_HYPHEN_MINUS); if not Result then Exit; ValueNumber := -ValueNumber; -> HERE end; StartDiv := 1000000000000000000; -> HERE (Incompatible types) repeat i := ValueNumber div StartDiv; -> HERE if i > 0 then Break; StartDiv := StartDiv div 10; -> HERE if StartDiv < 10 then goto 1; -> HERE until False; repeat Result := WriteCharW(WA_NUM_TO_HEX[Cardinal(i)]); if not Result then Exit; Dec(ValueNumber, i * StartDiv); StartDiv := StartDiv div 10; -> HERE if StartDiv < 10 then Break; -> HERE i := ValueNumber div StartDiv; -> HERE until False; 1: Result := WriteCharW(WA_NUM_TO_HEX[ValueNumber]); -> (Incompatible types) end; -
Yes I need to rebuild dll in C++ but don't have right sources.