Procedure InjectDLL(DllFileName$,ProcessID.l)
Protected Result.l,DllFileName$,Size.l,Process.l,RemoteMem.l,BytesWritten.l,LoadLibrary_Address.l,hThread.l
Result=#False
Size=Len(DllFileName$)+1
Process=OpenProcess_(#PROCESS_ALL_ACCESS,0,ProcessID)
If Process
RemoteMem=VirtualAllocEx_(Process ...
Search found 22 matches
- Thu Nov 17, 2005 7:26 pm
- Forum: Coding Questions
- Topic: anyone familiar with DetourCreateProcessWithDllA() Sparkie?
- Replies: 21
- Views: 4887
- Tue Nov 15, 2005 9:38 pm
- Forum: Announcement
- Topic: Irrlicht 3D Engine for PureBasic! *Official Thread*
- Replies: 80
- Views: 31665
Cannot Compile Irrlicht in PB-
Nevermind, problem solved... it compiled.. I needed to update pb to latest version.
However, the "ship" and "planet" aren't very ship or planet looking and the textures on them don't make sense. anyone else agree?
ALso, are there any more examples or tutorials to use this?
best,
mike
Source ...
However, the "ship" and "planet" aren't very ship or planet looking and the textures on them don't make sense. anyone else agree?
ALso, are there any more examples or tutorials to use this?
best,
mike
Source ...
- Tue Nov 15, 2005 8:56 pm
- Forum: Coding Questions
- Topic: how to write mouse hook procedure with all application !!
- Replies: 3
- Views: 1750
- Tue Nov 15, 2005 8:53 pm
- Forum: Coding Questions
- Topic: anyone familiar with DetourCreateProcessWithDllA() Sparkie?
- Replies: 21
- Views: 4887
- Thu Nov 10, 2005 5:26 pm
- Forum: Coding Questions
- Topic: anyone familiar with DetourCreateProcessWithDllA() Sparkie?
- Replies: 21
- Views: 4887
- Wed Nov 09, 2005 11:46 pm
- Forum: Coding Questions
- Topic: anyone familiar with DetourCreateProcessWithDllA() Sparkie?
- Replies: 21
- Views: 4887
- Tue Nov 08, 2005 5:56 pm
- Forum: Coding Questions
- Topic: anyone familiar with DetourCreateProcessWithDllA() Sparkie?
- Replies: 21
- Views: 4887
anyone familiar with DetourCreateProcessWithDllA() Sparkie?
Anyone who has any knowledge of how to do the following:
I want to be able to inject a .dll into a program when it launches.
The .dll needs to be injected pretty much right at the moment the program .exe runs.
at any rate i found the DetourCreateProcessWithDllA() WINAPI function.
can someone ...
I want to be able to inject a .dll into a program when it launches.
The .dll needs to be injected pretty much right at the moment the program .exe runs.
at any rate i found the DetourCreateProcessWithDllA() WINAPI function.
can someone ...
- Tue Nov 08, 2005 5:28 pm
- Forum: Coding Questions
- Topic: to sparkie or winapi gurus- mouse events and winapi-
- Replies: 7
- Views: 2956
- Tue Nov 01, 2005 10:40 pm
- Forum: Coding Questions
- Topic: to sparkie or winapi gurus- mouse events and winapi-
- Replies: 7
- Views: 2956
- Tue Nov 01, 2005 9:34 pm
- Forum: Coding Questions
- Topic: to sparkie or winapi gurus- mouse events and winapi-
- Replies: 7
- Views: 2956
- Tue Nov 01, 2005 8:27 pm
- Forum: Coding Questions
- Topic: to sparkie or winapi gurus- mouse events and winapi-
- Replies: 7
- Views: 2956
to sparkie or winapi gurus- mouse events and winapi-
is there a winapi command that i can use to send to a window mouse commands?
let's say that there is a program called "test" that is running (not a program that i created).
what i want to do is when i press the left mouse button (no matter when or what window or program has the focus) then the ...
let's say that there is a program called "test" that is running (not a program that i created).
what i want to do is when i press the left mouse button (no matter when or what window or program has the focus) then the ...
- Mon Sep 12, 2005 7:33 pm
- Forum: Windows
- Topic: Why does this not work and make an error?
- Replies: 5
- Views: 2429
- Mon Sep 12, 2005 7:24 pm
- Forum: Windows
- Topic: Why does this not work and make an error?
- Replies: 5
- Views: 2429
- Mon Sep 12, 2005 5:30 pm
- Forum: Windows
- Topic: Can someone help me to convert the following c++ code?
- Replies: 1
- Views: 1605
Can someone help me to convert the following c++ code?
I need help converting the following code so that it works in pb..
I am not a complete newb with winapi, but i will say that i haven't got much experience trying to make api calls and converting things to pb. this would be a learning experience for me and also help with my api calls in the future ...
I am not a complete newb with winapi, but i will say that i haven't got much experience trying to make api calls and converting things to pb. this would be a learning experience for me and also help with my api calls in the future ...
- Mon Sep 12, 2005 5:21 pm
- Forum: Windows
- Topic: Why does this not work and make an error?
- Replies: 5
- Views: 2429
Why does this not work and make an error?
ws_psapi_lib = 1
ws_psapi_h.l = OpenLibrary(ws_psapi_lib,"PSAPI.DLL")
*ws_EnumProcessModules = IsFunction(ws_psapi_h,"EnumProcessModules")
CloseLibrary(ws_psapi_lib)
Enter that code into your pb and run it.... I get a Windows runtime error. I am trying to use that .dll call ...
ws_psapi_h.l = OpenLibrary(ws_psapi_lib,"PSAPI.DLL")
*ws_EnumProcessModules = IsFunction(ws_psapi_h,"EnumProcessModules")
CloseLibrary(ws_psapi_lib)
Enter that code into your pb and run it.... I get a Windows runtime error. I am trying to use that .dll call ...