Search found 49 matches

by ira
Thu Jan 29, 2015 7:38 am
Forum: madKernel
Topic: Terminate process, wrong path?
Replies: 3
Views: 6746

Re: Terminate process, wrong path?

Tried on Windows 7 Ultimate SP1 x64.

Rename any program to explorer.exe and put it on d:, run it, kill with Processes('d:\explorer.exe').Terminate;

Explorer.exe in C:\Windows folder also got killed.
by ira
Tue Dec 23, 2014 10:23 am
Forum: madKernel
Topic: Terminate process, wrong path?
Replies: 3
Views: 6746

Terminate process, wrong path?

Processes(fn).Terminate;

fn is d:\explorer.exe

Run the program, explorer.exe in C:\Windows also got killed.

Solution?

Thanks.
by ira
Fri May 03, 2013 3:14 pm
Forum: madCodeHook
Topic: Acess Violation in LpcWorkerThread
Replies: 3
Views: 3574

Re: Acess Violation in LpcWorkerThread

Bad state? Can you give me an example of bad state?

I only receives this bug from my costumers. I can't reproduce the crash.
by ira
Fri May 03, 2013 2:11 pm
Forum: madCodeHook
Topic: Acess Violation in LpcWorkerThread
Replies: 3
Views: 3574

Acess Violation in LpcWorkerThread

Sorry, but I have no idea why this can be happen and how to prevent the bug? madExcept version : 4.0.6 callstack crc : $a8b2e170, $78a36543, $78a36543 exception number : 1 exception class : EAccessViolation exception message : Access violation at address 007A0CF0 in module 'Program.exe'. Read of add...
by ira
Wed Aug 01, 2012 3:22 am
Forum: madCollection
Topic: Adding madxxx into bpl?
Replies: 7
Views: 6880

Re: Adding madxxx into bpl?

I have tried to add madcrypt.pas and madtypes.pas. Delphi 2007 always asks for madBasic_. Delphi XE2 works fine (no need to use madBasic_).
by ira
Fri Jul 27, 2012 8:40 am
Forum: madCollection
Topic: Adding madxxx into bpl?
Replies: 7
Views: 6880

Re: Adding madxxx into bpl?

1) runtime package
2. yes, it uses runtime package. rtl and mybpl are on the list of runtime packages.

I am missing something?
by ira
Thu Jul 26, 2012 3:53 am
Forum: madCollection
Topic: Adding madxxx into bpl?
Replies: 7
Views: 6880

Re: Adding madxxx into bpl?

But my bpl does not use runtime package ( "Build with runtime packages" is not checked)?
by ira
Mon Jul 23, 2012 7:08 am
Forum: madCollection
Topic: Adding madxxx into bpl?
Replies: 7
Views: 6880

Adding madxxx into bpl?

I create a bpl project. I add madcrypt to uses clause. I compile than IDE ask me to "Add madbasic_...." so madBasic_.dcp exist in Required list.

If my exe use the bpl file/run-time package, it will need madBasic_.bpl, right? How to prevent bpl from using madBasic_ in required list?
by ira
Thu Mar 22, 2012 9:47 am
Forum: madKernel
Topic: Get process parameter
Replies: 3
Views: 7019

Re: Get process parameter

I mean, I only get c:\windows\system32\wscript.exe but I need the path of vbs file. My purpose is if the active processes contain running specific vbs file, my program will terminate wscript.exe. Just wanna know if I miss about madkernel that can list the process's parameter or not.
by ira
Tue Mar 20, 2012 9:26 am
Forum: madKernel
Topic: Get process parameter
Replies: 3
Views: 7019

Get process parameter

I want to enumerate all running processes. I create a vbs file and execute it. Can get the process path of vbs file instead of getting wscript.exe? Any clue?

Thanks
by ira
Fri Jan 13, 2012 4:52 pm
Forum: madExcept
Topic: The application seems to be frozen in initialization
Replies: 13
Views: 8169

Re: The application seems to be frozen in initialization

The callstack indicates that the freeze happened in the middle of the application lifetime, after initialization was complete. How to "read" the callstack ? I mean how do you know that "The callstack indicates that the freeze happened in the middle of the application lifetime". ...
by ira
Tue Jan 10, 2012 8:42 am
Forum: madExcept
Topic: The application seems to be frozen in initialization
Replies: 13
Views: 8169

Re: The application seems to be frozen in initialization

The callstack of your first and last bug report do not indicate that the freezing was during initialization. For my last bug report, so in which part the freezing was occur? I think this is my last question for this thread. Okay madshi, I will follow your suggestion to create a secondary thread. Th...
by ira
Tue Jan 10, 2012 6:40 am
Forum: madExcept
Topic: The application seems to be frozen in initialization
Replies: 13
Views: 8169

Re: The application seems to be frozen in initialization

TMainForm.GetXXX contain function that create some OLE/COM/ShellWindows object. This function is called by timer in uQuery 661 +23 TForm2.TimerQuery. If the code in timer is stack, it can produces frozen because timer run in main thread? Here is another example frozen in initialization from my past ...
by ira
Mon Jan 09, 2012 7:01 pm
Forum: madExcept
Topic: The application seems to be frozen in initialization
Replies: 13
Views: 8169

Re: The application seems to be frozen in initialization

The problem often occurs after program ran in a few hours, so the occur is in the middle of the runtime. My program works in background and it stays on tray icon. It use timer, IPC, MCHook. I don't really understand about frozen app, the only thing that I know frozen can happen if a program/thread b...
by ira
Mon Jan 09, 2012 3:25 am
Forum: madExcept
Topic: The application seems to be frozen in initialization
Replies: 13
Views: 8169

Re: The application seems to be frozen in initialization

No, I'm sure this is a bug from my program. which is just properly detected and reported by madExcept. The only thing that confuses me a bit is the callstack That's why I asked about this :? It seems my problem is same with problem at http://forum.madshi.net/viewtopic.php?=&p=11387 In that link ...