I use TC2.0,and I want to calculate address through
segment and offset,look:
unsigned long p;
p=MK_FP(0x20,0x100);
printf("p=%lx\n",p);
when it run,it display 200100,but I
think the...
Type: Posts; User: leetow2003
I use TC2.0,and I want to calculate address through
segment and offset,look:
unsigned long p;
p=MK_FP(0x20,0x100);
printf("p=%lx\n",p);
when it run,it display 200100,but I
think the...
Look:
/* machine code is:
push %ebp
mov %esp,%ebp
pop %ebp
ret
*/
unsigned char code[]=
I read a book,it said:
In Linux Shell,the address for ESP every program
is equal,and it supportes the codes:
unsigned long get_sp()
{
__asm__("movl %esp,%eax");
}
I get machine code for the function:
void ptr()
{
printf("Hello");
}
and I want to call them in another program,
Look:
I use VC6,you mean it is bug?
When I compile the project,it also display:cannot open Debug/dm.exe for writing,but in the task manager I don't find the process dm.exe,so I cann't end the process.How to solve this problem?
I want to simulate mouse moving,but I find it moves litter
and sometimes the display turns black screen,and after
a while the display recovers,why?how to solver?
Look:
void...
My English is poor,sorry.
I copy screen into a file,and then I open the file,
I couldn't see the mouse,why?How to solve it?
Look:
SetCursorPos(300,300);
Sleep(3000);
HDC hdc;
I want to study compression and decompression algorithm,thanks.
I write two programs:one is to send data,another is to receive
data,and I register a message function,Look:
WSAAsyncSelect(m_sock,m_hWnd,WM_RNET,FD_READ);
void CTcpFSDlg::OnRNet(WPARAM...
Sorry ,maybe my englis is very poor.
I create a socket using SOCK_STREAM,and I
want to transfer a big file,and I know I
must divide the big file,but I don't know
how many datas to divide it?and...
I write two programs:Server and Client,and they
create socket using SOCK_STREAM,and I set socket:
int nRecvBuf=600*1024;
setsockopt(m_sock,SOL_SOCKET,SO_RCVBUF,(const char*)&nRecvBuf,sizeof(int));...
what is the difference between SECURITY_DESCRIPTOR and SECURITY_ATTRIBUTES?
I want to know the SECURITY_DESCRIPTOR,and how to use it in
my codes,how to get them?Thanks.
If I want to write codes with RTP,
what files do I need?
I write codes using VC6
I wrote two programs:Server and Client,
they communicate by audio through TCP protocol,
but I find they couldn't communicate in real time,
How to transfer audio data in real time?
Could you...
but I don't know the rfc number,how to do?
I want to know some content about protocols in detail,
such as PPP,PPPOE,RDP,how to get them?
If I use 8-bit or 16-bit, what is the range about non-voice frequencies?
Could you tell me in detail?or some codes?Thank you.
I want to compress voice data for transfer over
network,who could tell me about algorithm?
I want to write remote control codes,
If I want to open or close "My Computer",
or open or close a disk,what commands
I must run?
I want to listen to voice,and when I
#define OUT_BUFFER_SIZE (44100*16*2/8*10)
I want to listen for 10 seconds,but I don't listen,
why?
but I define OUT_BUFFER_SIZE,look:
#define OUT_BUFFER_SIZE (44100*16*2/8*10)
it has no voice,too.
Why?
My english is poor,so I beg your pardon.
My codes are about playing voice,and it doesn't return error,
but it has no voice,why?
Look:
#define OUT_BUFFER_SIZE 6000
void main()
{