-
Content Count
1167 -
Joined
-
Last visited
-
Days Won
16
Everything posted by FPiette
-
What is a software registration company?
-
Export the Excel sheet as a CSV file which is a text file that you can easily parse with Delphi. Or automate Excel from your Delphi application to get the cells. Probably other solutions exists.
-
I have and Array of Word issue. Help me understand.
FPiette replied to Bernard's topic in Algorithms, Data Structures and Class Design
You have an array of word. Each array cell has to be a word, that is a 16 bit unsigned integer (0..65535). When you try to assign 73232, you are outside of the range 0..65535 giving the error you see. When you assign word(73232), you ask the compiler to convert 72232 to a word (will simply be truncated to the lower 16 bits) and it works. -
You could create your own function MyStrLCopy() which simply call the original one. If you make it inline, then it will be as fast.
-
WSocketReceive.Port := '0'; This is clearly wrong. Use a valid port number. procedure TMainForm.WSocketSessionAvailable(Sender: TObject; ErrCode: Word); begin // This is never called MemoReceive.Lines.Add('Port: ' + WSocketReceive.Port); end; UDP is a sessionless protocol.
-
Stratched image is wrong if bmp dimention >32767 (RAD2007)
FPiette replied to AlexBelo's topic in VCL
I don't know if it will help you but recently I wrote an application to display radiography images which are huge (more than a CD for a single image). I had to load the image in a 2D array much like BMP does and then handle parts of that bitmap according to the zoom factor selected by user (mouse wheel or button or keyboard, doesn't matter) and pan (mouse drag, cursor keys, doesn't matter). The computation shrink or stretch the part of selected image to create a bitmap that can fit on screen. I made a CPU computation (works well but not that fast for the gigantic images) and also on GPU (Stay fast). I must admit that this is not simple code. Nor it is very complex.That's more or less what Google is doing for its satellite images. Unfortunately I can't share the code since it is copyrighted. But I can discuss the topic if you have questions. -
Is it possible to get a list of all global variables, consts, types (non RTL)?
FPiette replied to Mike Torrettinni's topic in General Help
Try Pascal Analyser Lite. -
StackOverflow annual developer survey needs Delphi developers answering the survey
FPiette posted a topic in General Help
There is annual developer survey going on on Stack Overflow. Delphi is in the language list, now we need Delphi developers answering the survey and ticking Delphi to show it is relevant. https://meta.stackoverflow.com/questions/407914/take-the-2021-developer-survey -
StackOverflow annual developer survey needs Delphi developers answering the survey
FPiette replied to FPiette's topic in General Help
I did. -
Installing ICS v8.58 on CBuilder 10.1
FPiette replied to Anubis_68's topic in ICS - Internet Component Suite
I suggest that one of you create a new topic to discuss MQTT. -
Sorry but it looks you have an English layout. What did I miss in your post?
- 5 replies
-
- delphi
- ttouchkeybaord
-
(and 1 more)
Tagged with:
-
You have to consider the content of your VM exactly like you would consider it if it was installed on a separate physical machine connected to the same LAN.
-
How to handle delphi exception elegantly with logging feature.
FPiette replied to HalfBlindCoder's topic in Algorithms, Data Structures and Class Design
Search the web for a tutorial about Delphi Exception Handling. -
ERR_CONNECTION_CLOSED with SSL TSslHttpServer
FPiette replied to Andriy's topic in ICS - Internet Component Suite
It is better you open a new message thread for that other subject. -
On that computer, using RegEdit, search if the key "HKEY_CLASSES_ROOT\Outlook.Application" exists. There could also be version specific keys such as "HKEY_CLASSES_ROOT\Outlook.Application.16".
-
Is there any way to install delphi 10.4 package into Delphi 10.3?
FPiette replied to HalfBlindCoder's topic in VCL
You have to recompile the 10.4 package source code with 10.3 hoping that the code doesn't use any new feature. -
Do bug fix patches really require active subscription?
FPiette replied to David Heffernan's topic in General Help
That is at least partly wrong. Google can found a page or file only if the is a link to it or it is submitted to Google or is a the file each website has for all robots. Google has no way to find the existence of a file not mentioned anywhere. In HTTP, a directory cannot be listed. Now that the link has been mentioned in this forum, it could be indexed by Google (No idea if this forum is indexed by Google). -
Delphi Community Edition Debugger vs Windows 10 Pr o
FPiette replied to Egil's topic in General Help
Not an issue with Windows 10 Pro: I use it (64 bits) all the time with all updates installed. Is your Windows up-to-date (Verify optional updates, latest release is Version 20H2). Did you had any issue while installing Delphi? Try running "as administrator". Try disabling any security product (Anti-virus or other. Do'nt forget to re-enable it quickly after test and before connecting to the Internet). -
Several F2084 Internal Error on Delphi 10.4.2
FPiette replied to Davide Angeli's topic in Delphi IDE and APIs
I suspect someone did those "invisible" (Spaces) changes inadvertently and put it in version control making it to appears in the patch. -
Several F2084 Internal Error on Delphi 10.4.2
FPiette replied to Davide Angeli's topic in Delphi IDE and APIs
I would add patches in the order of publication date. -
I have no "documentation.htm" file anywhere in C:\Program Files (x86)\Embarcadero\Studio\21.0 and subfolders.
-
You want to check if the modification has been done using TMemIniFile properties or methods, or do you want to check for modification done outside of your application, for example when someone change the associated file using NotePad.
-
Which kind of file? For which purpose? You can consider using FindFirstChangeNotification to get notified when the file changes.
-
Help Understanding SQL Parameters Utilization
FPiette replied to Gary Mugford's topic in General Help
@Gary MugfordI was talking about the string constant "ZZ" and not the Checkbox named xZZ. I tried to say that yoyr SQL request built with Delphi code is OK and DO NOT suffer of SQL injection risk. I was trying to say that if instead of the constant "ZZ" you want to use a value from a TEdit, then suddenly your code becomes at SQL injection risk and to avoid it you have to use a parametrized SQL request. -
Help Understanding SQL Parameters Utilization
FPiette replied to Gary Mugford's topic in General Help
This website is in English. Please translate to English before posting.