|
deleting the exe will NOT get rid of the virus... its never that simple. Use proper antivirus/antispyware software(s) to scan your system and use it/them to delete the virus.
|
|
|
|
|
|
good luck and happy hunting
|
|
|
|
|
i once got this same type of issue.
by hit and error, first i deleted another process which creates this process. then i remembered that parentprocess name and repeated the same each time i booted my pc.
i suggest you to find out the process that creates your targeted process first and kill it.
--------------------------------------------
Suggestion to the members:
Please prefix your main thread subject with [SOLVED] if it is solved.
thanks.
chandu.
|
|
|
|
|
That is a good idea.
Thank you.
|
|
|
|
|
Deepu Antony wrote: Even if i delete that process form taskmanager it will start again.
Which means there are likely two running in tandem. If you have the path/name of the files in question, you could try adding them to HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations and reboot the machine.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Start windows in safe mode. Run various tools to see if they can uninstall the offender. If not, track down the offending app and the one that starts in and delete them. (If you know the name of the EXE, that can help in searching for a cleaner.)
Also look in both the services module in administrative tools, but also the registry for a service that is likely restarting this (the google updater program does this.)
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|
|
How to find weather the thread is alive when using
somthing like..
hThread = (HANDLE)_beginthread()
while (hThread==Alive)
{
// do some thing
}
|
|
|
|
|
may not be an exact answer, but you can try this
make a flag 1 at the begining of the thread and make it 0 while returning.
use this in your primary thread.
while(flag==1)
{
//do some thing
}
--------------------------------------------
Suggestion to the members:
Please prefix your main thread subject with [SOLVED] if it is solved.
thanks.
chandu.
|
|
|
|
|
That may not work for me because I use BASE_ASSERT in thread fucntion
is there any work around
hThread = (HANDLE)_beginthread(ThFunction)
bDone=FALSE;
while (bDone != TRUE)
{
}
unsigned __stdcall ThFunction (void* param)
{
..........
..........
BASE_ASSERT(SomeFunction);
bDone = TRUE;
return 1;
}
|
|
|
|
|
could you find out what happens to the thread handle value when the thread is not running?
also explore getexitcodethread api in msdn
--------------------------------------------
Suggestion to the members:
Please prefix your main thread subject with [SOLVED] if it is solved.
thanks.
chandu.
|
|
|
|
|
Hello Electron,
You can use GetExitCodeThread()[^]. If the function returns STILL_ACTIVE, then your thread is alive.
Regards,
Jijo.
_____________________________________________________
http://weseetips.com[ ^] Visual C++ tips and tricks. Updated daily.
|
|
|
|
|
But Can I use GetExitCodeThread() with out using AfxBeginThread(), becasue in this case I am using _beginthreadex()..
Is that safe ?
|
|
|
|
|
Hi Electron,
Sure you can. GetExitCodeThread() just needs thread handle and _beginthreadex() will return handle if it creates thread successfully. Have a look at the documentation from MSDN.
If successful, each of these functions returns a handle to the newly created thread.
Regards,
Jijo.
_____________________________________________________
http://weseetips.com[ ^] Visual C++ tips and tricks. Updated daily.
|
|
|
|
|
Yes I did, Thank you
|
|
|
|
|
A negative vote for help?
Just kidding.
Regards,
Jijo.
_____________________________________________________
http://weseetips.com[ ^] Visual C++ tips and tricks. Updated daily.
|
|
|
|
|
I am using Visual Studio 2008 on a 64 bit XP Machine.
I have been trying to use a DFT or FFT library for C++ for a couple of days. I have had no luck.
I tried using FFTW from fftw.org but when i try to link against it..the functions below always seem to undefined. I build the project as a 64 bit Static and 64 bit Dynamic.
error LNK2019: unresolved external symbol fftw_execute referenced in function main Temp.obj Temp
error LNK2019: unresolved external symbol fftw_plan_dft_1d referenced in function main Temp.obj Temp
Ererror LNK2019: unresolved external symbol fftw_malloc referenced in function main Temp.obj
fatal error LNK1120: 3 unresolved externals C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\Temp\x64\Debug\Temp.exe Temp
These errors are from running a simple FFTW Program
#include "stdafx.h"
#include "fftw3.h"
#pragma comment(lib,"libfftw.lib");
//#include <complex.h>
#define N 100
int _tmain(int argc, _TCHAR* argv[])
{
fftw_complex *in,*out;
fftw_plan p;
in=(fftw_complex*) fftw_malloc(sizeof(fftw_complex)*N);
out=(fftw_complex*) fftw_malloc(sizeof(fftw_complex)*N);
p=fftw_plan_dft_1d(N,in,out,FFTW_FORWARD,FFTW_ESTIMATE);
fftw_execute(p);
return 0;
}
Even the Dynamic version created these errors. Can anybody help me?
Are there any easy to use FFT librarys that you are aware of? It needs to run on a 64 bit machine.
Thanks
|
|
|
|
|
jobin007007 wrote: I tried using FFTW from fftw.org
Why don't you try to compile the library on your system?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Thats what I did!!.
If you have any fftw that compiles fine in 64 bit computer in Visual Studio 2008 EITHER STATIC OR dynamic, could you send it to me?
|
|
|
|
|
Hai:
Any body help me
i m working in c# application. i need algorithm to our application. but i have that algorithm in c++. so i converted c++ to Vc++ application using Vc++ console wizard Express Edition 2008 .after that created a dll then used in c# application . but put Entry point Exception occurred. i thing, i was used wrong wizard. which wizard want to used. and what are step are followed to this scenario..
Please Help me soon....
|
|
|
|
|
anishkannan wrote: but i have that algorithm in c++. so i converted c++ to Vc++ application using Vc++ console wizard Express Edition 2008 .
You may also convert it (crafting by hand) in C# , I suppose.
anishkannan wrote: but put Entry point Exception occurred.
What was exactly the error? When it occurred? You should be detailed and precise when reporting error (you should also possibly report both the DLL and the calling relevant code).
anishkannan wrote: what are step are followed to this scenario..
One simple path is what you've actually done: build a DLL (compliant with system ones) and then use Platform Invoke , see, for instance [^].
anishkannan wrote: Please Help me soon....
Do you know, you loosed man points for this?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Thank you for the replay
I was created a dll using Console application of Vc++ Express Edition. After that i used the dll in sample C# application (Used in same system and also same platform)
My code is
[DllImport("Hash.dll",EntryPoint = "getHashCode" ) ]
static extern int getHashCode();
static void Main(string[] args)
{
try
{
Console.WriteLine(getHashCode());
Console.ReadKey();
}
catch (Exception e)
{
Console.WriteLine(e.Message);
}
I got this Exception
Unable to find an entry point named 'getHashCode' in DLL 'Hash.dll'.
Thankyou
|
|
|
|
|
Can you see the exported getHashCode with, for instance, Depends tool?
What I mean: Is the function correctly exported? Could you show, please, the relevant DLL code?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
yes, same function name used here.
This is the Vc++ code.
#include "stdafx.h"
#include "HashTable.h"
int main(array<System::String ^> ^args)
{
Console::WriteLine(L"Hello World");
return 0;
}
static int getHashCode()
{
const char* name="bhjbhj";
HashTable g;
return g.hashPJW(name);
}
Thank you
|
|
|
|
|
That doesn't look like an ordinary DLL exporting functions like system libraries do.
AFAIK DLL should have a DLLMain entry point (instead of main) and so on.
Why are you building a DLL with managed C++ ? Cannot you simply code it using C# ?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|