The following web page describes querying Windows Search programmatically:
http://msdn.microsoft.com/en-us/library/aa965362.aspx
Does anyone have examples using Delphi/Pascal?
Examples I have in mind are fairly simple:
Search for certain file types.
Search for specific text within files.
Limit these above searches to a certain path....
I wish to do simultaneous variable assignment in Pascal.
As far as I know, it's not possible. Googling on the issue, I can see that many programming languages implement that, but I can't find how to do it in Pascal.
For example, in Python I can do this:
(x, y) = (y, x)
In Pascal, I need an additional variable to hold the value of x ...
I've heard that the advantage of java is that people can write code, compile it for the JVM, and run it anywhere. Each person just needs a JVM app for their platform.
Of course, it looks similar to the current situation, where everybody has a compiler specific for their platform. So the advantage isn't explained by that. But I think I...
Hi
Please, anyone help me to solve my problem "who can I get the image data in pascal language", I mean who can I read or display an image in pascal language
...
Program ConstTest;
Const constVar = 1;
Begin
constVar := 3;
WriteLn(constVar);
End.
It's pretty obvious that the above code will not compile, because it's not right to change the value of a constant.
However, following code will compile, and will return "1; 5; 3;", even though the array is a const:
Program ConstTest;
...
Hi
please, any one help me to solve my peoblem:
I have struct of array containing image file name and color histogram and save it in mat file. How can I use this file in pascal program
...
Hi
Please, I need to measure the search time in my pascal program in order to measure the performance efficient.. if there is any function or code to measure the search time?
thanks
...
I have written a recursive Tree Function in pascal ( or delphi ) but i had an 'Out of Memory' message when I ran it.
I need to turn the Calculate recursive function in this code to non-recursive function, can you tell me how please :
program testing(input,output);
type
ptr = ^tr;
tr = record
age:byte;
left,right:ptr;
end...
Hi!
Can anyone help me to protect a selection group or component.
For examples
If ('Readme.txt').selected or ('compact').selected = True then
begin "Password wizard page";
else
result := true;
end;
Something like that to this working script :P
function CheckPassword(Password: String): Boolean;
begin
result := false;
if (Password=...
I know I can easily get messages inside
[CustomMessages]
AdditionalIcons=blablabla
using this code:
ExpandConstant('{cm:AdditionalIcons}');
which gets the AdditionalIcons string message. However, how can I get messages inside this?
[Messages]
ButtonNext=huhu
ButtonInstall=bubu
What I need is to get the ButtonNext, ButtonInstall ...
I'm pretty sure this is possible but I'm not sure how to go about it. I'm very new to building with GCC in general and I have never used FreeRTOS, but I'd like to try getting the OS up and running on a TI ARM Cortex MCU but with a slight twist: I'd like to get it up and running with Pascal. I'm curious:
Is this even possible to get wor...
I wish to multiple .wav files simultaneously in delphi.
When I open and plat the first things are fine.
However the second one causes a error when it tries to open.
It would appear that i can only use one media player at a time.... is there any way around this what do i do?
...
Can I work with large numbers (more than 10^400) with built-in method in Delphi?
...
Is there a snippet file or something to plug into Eclipse in order to be able to use autocompletion?
...
I need to write a SOAP service for Linux (CentOS).
I need to do this using Lazarus/FreePascal. The service needs to be a binary (daemon) that runs in the background.
Questions:
1. Is this possible (as a standalone executable)?
2. If not, what are the alternatives?
3. How do I start?
4. What additional tools/libraries do I need?
...
I can fill a TreeView control with particular Registry keys by enumerating registry keys recursively and put them in the TreeView control; then for performance reason, I attempt to
use a nonrecursive/iterative approach to enumerate registry keys, but how can I fill the TreeView since a "tree" is naturally recursive (at least, in my under...
Hi,
Have a bit of a weird one and hopefully someone can help out.
The company I work for is doing an ad and we are looking for a Pascal programmer and we thought we'd incorporate some Pascal code into the ad itself. The only problem is we do not have any knowledge regarding Pascal. So after a little research the code we have come up wi...
While SysUtils.StrScan() takes PWideChar const as the parameter, is there a StrScan() like built-in function for string/Unicodestring type?
Thanks in advance.
...
hi
how to check whether user connected to internet or not ?
regards
...
I am trying to create a function with a variant record-type parameter that allows inline-casting or assignment, as such:
type rectype = ( VT_INT, VT_CHAR, VT_BOOL );
rec = record
case t : rectype of
VT_INT : ( i : integer );
VT_CHAR : ( c : char );
VT_BOOL : ( b : boolean );
end;
procedure h...