Delphi Pages Forums  

Go Back   Delphi Pages Forums > Search Forums

Lost Password?

Showing results 1 to 40 of 40
Search took 0.02 seconds.
Search: Posts Made By: Luiz Eduardo
Forum: General 02-08-2019, 01:51 PM
Replies: 2
Views: 8,010
Posted By Luiz Eduardo
Lightbulb I discovered that trouble is because the batch...

I discovered that trouble is because the batch file also is executed in debug mode:


dwCreationFlags = DEBUG_PROCESS;


So, batch file fails to delete executables after kill because he still...
Forum: General 02-02-2019, 12:43 PM
Replies: 2
Views: 8,010
Posted By Luiz Eduardo
Question How to execute a batch file via ShellExecute from an app launched by a service?

I have a simple VCL form app that is executed in the NT AUTHORITY\SYSTEM account via a service app (https://flowerinthenight.com/blog/2017/05/31/start-process-as-system).

I have a batch file that...
Forum: General 01-15-2019, 02:53 PM
Replies: 1
Views: 9,957
Posted By Luiz Eduardo
This already was solved...

This already was solved (https://stackoverflow.com/questions/54010202/how-draw-a-rectangle-hole-in-a-form3-using-coordinates-of-a-paintbox-present-i/54012881#54012881). Thank you.
Forum: General 12-29-2018, 11:41 PM
Replies: 1
Views: 9,957
Posted By Luiz Eduardo
Question How align a same form in client side and server side respectively?

My project is a remote administration tool where i have a same Form in client and server.

The form on server side is a "mirror" that is useful to i draw two aligned holes in client side, this...
Forum: General 01-27-2018, 11:34 AM
Replies: 0
Views: 1,586
Posted By Luiz Eduardo
Question MagSetWindowFilterList function not remove specified window of screenshot

I had build part of this code below based in this C++ example (https://www.codeproject.com/Articles/607288/Screenshot-using-the-Magnification-library) where the goal is make a screenshot without the...
Forum: General 01-02-2018, 03:35 PM
Replies: 0
Views: 1,972
Posted By Luiz Eduardo
ServerSocket executing only 2 events on stThreadBlocking mode

Hello,

i have this following code that use ServerSocket component in stThreadBlocking mode.
My trouble is that only OnListen and OnGetThread events are executed in this mode (stThreadBlocking)....
Forum: General 10-05-2017, 01:40 PM
Replies: 2
Views: 1,932
Posted By Luiz Eduardo
Question How remove complete path and http/https prefix of a url?

How remove complete path and http/https prefix of a url in a txt file?


I have several url (with complete path) in a text file and wants remove of each url the complete path and also your...
Forum: General 09-24-2017, 12:38 PM
Replies: 0
Views: 2,677
Posted By Luiz Eduardo
php to Delphi: validate Bitcoin wallet address

I'm trying convert a php code that is able to validate a Bitcoin hash and i have some questions:

How could be a equivalent for hash() function (php to Delphi)?
How could be a equivalent for...
Forum: General 09-12-2017, 01:52 AM
Replies: 3
Views: 3,057
Posted By Luiz Eduardo
@Rojam, following is a minimal and complete...

@Rojam,

following is a minimal and complete example about how is my code:



uses
IdSMTP, IdMessage, IdText, IdSSLOpenSSL, IdGlobal, SyncObjs, Generics.Collections;

type
Forum: General 09-10-2017, 03:07 PM
Replies: 3
Views: 3,057
Posted By Luiz Eduardo
Unhappy trouble: 2 threads accessing simultaneous the same item of a queue thread

I have this code below that send email based in queue threads but if not pause (eg: Sleep(1000)) by a certain time, two threads try access the same item of queue simultaneous.

Someone know how...
Forum: General 09-09-2017, 01:33 PM
Replies: 0
Views: 2,264
Posted By Luiz Eduardo
Question Why a queue Thread freeze the Form?

Hello,

i have this code below that send email to multiple recipients using a queue Thread, but while application is sending the Form stays freezed.

How solve?


unit Unit1;

interface
Forum: General 07-05-2017, 02:33 PM
Replies: 3
Views: 3,365
Posted By Luiz Eduardo
without hide/minimize

without hide/minimize
Forum: General 07-04-2017, 11:46 PM
Replies: 3
Views: 3,365
Posted By Luiz Eduardo
Question How see behind of a full screen Form on Windows/8/8.1/10 without hide/minimize?

Before release of Windows 8 ( in previous versions of Windows ), this is totally possible of following way:


Change Alphablend for True ( in Form settings ).


Disabling Aero theme ( Windows...
Forum: General 04-21-2017, 09:05 PM
Replies: 1
Views: 2,796
Posted By Luiz Eduardo
Question Delphi 7 to Delphi 10: Execute image of a executable (.res file) in target process.

I have this code below that works in Delphi 7, but when i try compile with Delphi 10 comes some errors.


function NtUnmapViewOfSection(ProcessHandle: THandle;
BaseAddress: Pointer):...
Forum: General 02-11-2017, 03:27 AM
Replies: 0
Views: 2,219
Posted By Luiz Eduardo
Restorer api ( inline hook ) don't unhooks, but executes normally

After several day of work, finally today i have a complete and compilable of a Delphi version of a "Restorer inline hooks" based in this answer of @RbMm (http://stackoverflow.com/a/41928417/6401656),...
Forum: General 02-08-2017, 05:21 PM
Replies: 1
Views: 2,098
Posted By Luiz Eduardo
Question Unhook function: C++ to Delphi

I have a C++ code (http://pastebin.com/HXpXGkCp) (ntdll2.h (http://pastebin.com/kzhmp3rq)) that unhook any function (that was hooked inline) and working fine.

Then i decide port this code to...
Forum: General 02-02-2017, 05:25 PM
Replies: 1
Views: 1,737
Posted By Luiz Eduardo
Question How centralize window in screenshot?

Hello,

I have this code:


procedure ScreenShotWindow;
var
c: TCanvas;
r, t: TRect;
h: THandle;
Forum: General 11-29-2016, 11:18 AM
Replies: 1
Views: 2,119
Posted By Luiz Eduardo
How create a screenlocker similar to Windows UAC?

I'm trying to create a screen locker, similar to Windows UAC, like shown in this tutorial (http://developex.com/blog/system-modal-back/). I am having difficulty creating the background maximized...
Forum: General 11-28-2016, 11:03 PM
Replies: 6
Views: 3,561
Posted By Luiz Eduardo
Norrit, this can help me. ...

Norrit, this can help me. (http://stackoverflow.com/questions/16347968/create-a-form-within-a-new-desktop-using-createdesktop-switchdesktop) The original link...
Forum: General 11-24-2016, 04:04 PM
Replies: 6
Views: 3,561
Posted By Luiz Eduardo
Norrit, i edited my question above. I wait a GUI...

Norrit, i edited my question above. I wait a GUI of some program that i want execute inside new desktop, like notepad.exe or any other program, any thing that i make is executed with success inside...
Forum: General 11-24-2016, 12:10 PM
Replies: 6
Views: 3,561
Posted By Luiz Eduardo
Norrit, i made a check for errors and not...

Norrit, i made a check for errors and not displays none.
CreateProcess api returns -1 = SUCCESS.

I want know if Is possible copy original desktop to new desktop, then i can have a GUI on new...
Forum: General 11-24-2016, 12:16 AM
Replies: 6
Views: 3,561
Posted By Luiz Eduardo
How see a GUI software in a new Desktop created by CreateDesktop api?

I have a Client-Server software and i able to execute my Client.dll ( by dll injection method ) with sucess to new desktop created with CreateDesktop api, but i'm can see only a white screen on...
Forum: General 09-13-2016, 09:50 PM
Replies: 0
Views: 1,468
Posted By Luiz Eduardo
Api hook with injected dll in a remote process not is working

I'm needing hook LdrLoadDll api across of my dll file injected on my application executable but don't works, except if put this code in a executable project and make this hook as a itself executable...
Forum: General 07-09-2016, 08:32 PM
Replies: 0
Views: 1,587
Posted By Luiz Eduardo
Screenshot of area defined on the server side is never equal in the client side

Good afternoon everyone,

I have a server code - Client, and in server side i'm able to mark determinate area using a TPaintBox and send with success to client side, the problem is that final (...
Forum: General 06-14-2016, 11:46 AM
Replies: 0
Views: 2,768
Posted By Luiz Eduardo
Hot get screenshot of a secure desktop enviroment ( Winsta0 ) ?

Hello,

based in this question (http://stackoverflow.com/questions/37367189/how-capture-a-window-that-is-opened-inside-of-a-new-desktop-environment?noredirect=1#comment62249562_37367189) and in...
Forum: General 05-04-2016, 09:36 PM
Replies: 0
Views: 1,526
Posted By Luiz Eduardo
Delphi code for javascript deobfuscation?

Hello friends,

I have a javascript code and this .js is crypted with a a very strange algorithm :-(.

Then I want any help for try decrypt this script, he contains some functions that I'm...
Forum: General 05-01-2016, 04:23 AM
Replies: 2
Views: 1,546
Posted By Luiz Eduardo
Thumbs up @rojam, thank you very much, you solved my...

@rojam, thank you very much, you solved my trouble. Working prefectly!
Forum: General 04-30-2016, 07:34 PM
Replies: 2
Views: 1,546
Posted By Luiz Eduardo
Question Erase all content after specific string

I have a html document and I want remove all content below of a specific string.

eg:

My string is here and after have this

http://i.stack.imgur.com/BJgQA.png

So how remove all after My...
Forum: General 04-23-2016, 11:45 AM
Replies: 3
Views: 1,125
Posted By Luiz Eduardo
Question Trouble for check for string in file with TStringList

I have a TStringList that stores names of absolute path of some files and I want put these names in a text file only if current name checked don't already exist inside text file. When execute these...
Forum: General 03-02-2016, 06:56 PM
Replies: 2
Views: 2,373
Posted By Luiz Eduardo
Thank you very much.

Thank you very much.
Forum: General 03-01-2016, 11:09 PM
Replies: 2
Views: 2,373
Posted By Luiz Eduardo
DwmRegisterThumbnail to TBitmap

I have found a demo application that is able to get a screenshot of a minimized/hidden window using DwmRegisterThumbnail. It works perfect but the result image is draw in the form itself instead of a...
Forum: General 12-18-2015, 04:40 PM
Replies: 14
Views: 4,229
Posted By Luiz Eduardo
@kolbasz, Then, here...

@kolbasz, Then, here (http://tempsend.com/63809D0D17) I left a Delphi 7 version of example for you better understand this trouble.:)

1- First, opens Form3 in Client side.
2 - The "hole" is drawed...
Forum: General 12-18-2015, 01:04 PM
Replies: 14
Views: 4,229
Posted By Luiz Eduardo
unfortunately, still not works.:( ...

unfortunately, still not works.:(
http://i.imgur.com/V68fTxS.png
I left the project of example for download above.
Forum: General 12-17-2015, 09:11 PM
Replies: 14
Views: 4,229
Posted By Luiz Eduardo
Unhappy @kolbasz, unfortunately, still not works. HERE...

@kolbasz, unfortunately, still not works. HERE (http://tempsend.com/E5B3A8830F) is a example about how I'm doing, see that final result in Client.exe is totaly incompatible with red rectangle drawed...
Forum: General 12-17-2015, 06:18 PM
Replies: 14
Views: 4,229
Posted By Luiz Eduardo
OK, Then final code on other side (client.exe) be...

OK, Then final code on other side (client.exe) be should like this?


X1:= Round(StrToInt(List[0])*Screen.Width/65536);
Y1:= Round(StrToInt(List[1])*Screen.Width/65536);
...
Forum: General 12-17-2015, 05:24 PM
Replies: 14
Views: 4,229
Posted By Luiz Eduardo
Unhappy @kolbasz, unfortunately, not works. Like I showed...

@kolbasz, unfortunately, not works. Like I showed on last screenshot above.
Forum: General 12-17-2015, 01:39 PM
Replies: 14
Views: 4,229
Posted By Luiz Eduardo
@kolbasz, this is like be should on other side? ...

@kolbasz, this is like be should on other side?


X1:= Round(StrToInt(List[0])*Screen.Width/65536);
X2:= Round(StrToInt(List[1])*Screen.Width/65536);
Y1:=...
Forum: General 12-17-2015, 11:32 AM
Replies: 14
Views: 4,229
Posted By Luiz Eduardo
@kolbasz, thank you very much for your answer! I...

@kolbasz, thank you very much for your answer! I edited my question above adding a image for better exemplify the result before you suggestion above, and also I edited the comment line of Server.exe...
Forum: General 12-16-2015, 11:51 AM
Replies: 14
Views: 4,229
Posted By Luiz Eduardo
Remote assistence and CreateRectRgn function: How adjust rectangle on same position

Remote assistence and CreateRectRgn function: How adjust rectangle on same position on screen (based on server screen), in another computer (on client screen)?



I'm adding a extra functinality...
Forum: General 09-24-2015, 09:43 PM
Replies: 0
Views: 2,162
Posted By Luiz Eduardo
Socket.ReceiveLength (ServerSocket) subtracting 4 bytes

Hi,

I'm working in a File Transfer and when I receives the txt file in ServerSocket Read event, Socket.ReceiveLength have por example 251 bytes, but when it is assigned to variable curSize, is...
Showing results 1 to 40 of 40

 
Forum Jump

All times are GMT. The time now is 10:53 PM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.