This the code i found in Stack Overflow but in Delphi not C++:
uses
SysUtils,
ActiveX,
ComObj,
Variants;
procedure AddExceptionToFirewall(Const Caption, Executable: String;Port : Word);
const
NET_FW_PROFILE2_DOMAIN = 1;
NET_FW_PROFILE2_PRIVATE = 2;
NET_FW_PROFILE2_PUBLIC = 4...
Hello,
I'm using the code below to capture desktop screen, but the problem is that the screenshot is taken from the MainForm, and i want to take it from the Secondary TForm instead:
TBitmap* __fastcall TCaptureContainer::CaptureImage()
{
HDC hdcDesk;
try
{
this->bitbmp->Width =...
I created a thread for continuously reading from the TIdTCPServer, but it blocks all my client form, after a moment will go not responsive.
Maybe the problem with the way i created the thread, anyway here is my code for the thread...
hello,
i'm using c++ builder for a quite some time now, i'm having problems including files in order to use some apis like "PcapPlusPlus" for network sniffing,
the problem is when i successfully put my files in the project directory and include them, it always show me 100 thousands of errors...
Thank you, but i already found the solution, the problem is i get the base address of my application module, but when i go ahead to display in label i forgot to convert the DWORD value to HEX.
Now i get the desired results.
Still, how to write to process memory with offsets, because i already...
hello i want to get the base address of my application, so that i can write to it's memory, here is my code below:
DWORD dwGetModuleBaseAddress(TCHAR *lpszModuleName, DWORD ProcessID) {
DWORD dwModuleBaseAddress = 0;
MODULEENTRY32 ModuleEntry32 = {0};
HANDLE hSnapshot =...
sorry for late response, but you didn't understand my question.
I need some kind of trick to use SSMS database without the installing the client.
or if there is any kind of other solutions to use instead of SSMS.
Sorry for Less Details, what i exactly want is to "Query Data" from already created database without installing SSMS in the user Machine.
For Ex: the user install my application on his/her Computer machine and use it without the need to install SSMS.
Also my databases could reach 50 GB in size.
Hello,
Does anyone know how to use SQLSERVER database without Microsoft SQL SERVER Management Studio?
because i saw tons of applications don't use the database client.
can any one help me?
I forgot to post the Error sorry :),
I'm getting this message "Failed to set data for 'EMPD'", Also the key already Exists.
By the way, the "KISKey" reads the Registry key value, the problem is when i write to 'EMPD' not when reading, the error comes from this line:
KISReg.WriteString('EMPD'...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.