Search found 10 matches

by end7
Fri Mar 09, 2007 10:06 am
Forum: Coding Questions
Topic: Function forwarders to functions in pb
Replies: 0
Views: 594

Function forwarders to functions in pb

Visual C++ can do it

Code: Select all

 #pragma comment(linker, "/export:okok=NTDLL.RtlAllocateHeap")
when call "okok",it will formarders to NTDLL.RtlAllocateHeap

and how do it in pb?
by end7
Sun Feb 11, 2007 9:58 am
Forum: Coding Questions
Topic: how to connect a remote mssql database in PB?
Replies: 1
Views: 834

how to connect a remote mssql database in PB?

how to connect a remote mssql database in PB?
anybody can help me?
by end7
Wed Jan 24, 2007 9:41 am
Forum: Coding Questions
Topic: hide Process code, good !
Replies: 22
Views: 6715

Beside that point that this is absolutly hacker-stuff
(and you ask only such and TCPIP questions ) ,
it seems you want code some bot-stuff/viri .

Anyway,
your code did not work ( W2k SP4 ), wxp did.
Seems like a lot of peek&pokes for
writing in the PID-LIST at real memory........

You will find ...
by end7
Mon Jan 22, 2007 7:35 am
Forum: Coding Questions
Topic: hide Process code, good !
Replies: 22
Views: 6715

Tranquil wrote:Where is the question? Or does your posting belong to the Tips&Tricks section?
how to hide Process in windows 2003
by end7
Mon Jan 22, 2007 6:03 am
Forum: Coding Questions
Topic: hide Process code, good !
Replies: 22
Views: 6715

hide Process code, good !

the code can hide any process in win2000 and winxp as well

OpenWindow(0, 100, 200, 195, 260, "PureBasic Window", #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget)
Repeat
EventID = WaitWindowEvent()

If EventID = #PB_Event_CloseWindow ; If the user has pressed on the ...
by end7
Mon Jan 22, 2007 4:58 am
Forum: Coding Questions
Topic: NetworkServerEvent() help!
Replies: 0
Views: 551

NetworkServerEvent() help!

CreateNetworkServer() create ten ports(9900-9910). some clients conneted 9900,some clients conneted 9901....,then the connetion lost,i use the NetworkServerEvent(),but it can't get all #PB_NetworkEvent_Disconnect Structure LIVEDATA
thread.l;线程号
connetid.l;连接ID
targetid.l;目标连接ID
memory.l;缓存指针 ...
by end7
Mon Jun 05, 2006 11:56 am
Forum: Coding Questions
Topic: Help!! Can't call the ZwOpenSection_
Replies: 6
Views: 1254

Thanks ABBKlaus so much,
Now i have anther question. I call the"MapViewOfFile_ "failed, and the "GetLastError_()"return 5,why?
Status.l
Attributes.OBJECT_ATTRIBUTES
PhysmemString.UNICODE_STRING
g_hMPM.l
RtlInitUnicodeString_(PhysmemString, @"\Device\PhysicalMemory")
With Attributes
\Length ...
by end7
Sat Jun 03, 2006 6:18 am
Forum: Windows
Topic: Help!! Can't call the ZwOpenSection_
Replies: 0
Views: 1004

Help!! Can't call the ZwOpenSection_

when i call "ZwOpenSection_" ,is failed,and return "C0000005".why?
I creat it unicode
I know success if it retrn "0",how to do?
anybody can help me!!

#STATUS_ACCESS_DENIED = $C0000022
#STATUS_INVALID_HANDLE = $C0000008
#STATUS_SUCCESS = $0

#SECTION_MAP_WRITE = $2
#SECTION_MAP_READ = $4 ...
by end7
Sat Jun 03, 2006 6:12 am
Forum: Coding Questions
Topic: Help!! Can't call the ZwOpenSection_
Replies: 6
Views: 1254

Thanks ABBKlaus

But now the Status return "C0000005",what mean it?


#STATUS_ACCESS_DENIED = $C0000022
#STATUS_INVALID_HANDLE = $C0000008
#STATUS_SUCCESS = $0

#SECTION_MAP_WRITE = $2
#SECTION_MAP_READ = $4
Structure UNICODE_STRING
Length.w
MaximumLength.w
Buffer.l
EndStructure
Structure OBJECT ...
by end7
Thu Jun 01, 2006 9:20 am
Forum: Coding Questions
Topic: Help!! Can't call the ZwOpenSection_
Replies: 6
Views: 1254

Help!! Can't call the ZwOpenSection_

when i call "ZwOpenSection_" ,is failed,and retune "-1073741819".why?
i creat it unicode
anybody can help me!!
#SECTION_MAP_WRITE = $2
#SECTION_MAP_READ = $4
Structure UNICODE_STRING
Length.w
MaximumLength.w
Buffer.l
EndStructure
Structure OBJECT_ATTRIBUTES
Length.l
RootDirectory.l ...