how can i get windows explorer current directory and when it doesn't have any window only explorer.exe is running i should receive desktop directory?
Type: Posts; User: baccardi
how can i get windows explorer current directory and when it doesn't have any window only explorer.exe is running i should receive desktop directory?
the third parameter or WriteFile should be the result of recv
well i've read about mtu, and the minimum i could find was 1492 as i remember, so i succesfully use 1400 byte datagrams
i'm writing udp server on windows xp, the problem is i can't send large buffers. Many websites say that i should check the maximum datagram size with getsockopt(), i do so and receive 65507, using...
i suppose, firstly you have to accept connection and then to close it, because you get information about the client only after accept
cylinder surface area calculates with formula: 2*pi*R*h + 2*pi*R^2, so the input should be h and R values of cylinder. The program code:
float area, R, h;
area = 2*3.14*R*h + 2*3.14*R*R;
...
so i guess you haven't studied it, because programming with assembly involves computer architecture knowledge which is very good in understanding how really pointers work
the best way to understand pointers is to study a little bit of assembly language
write a loop to copy all the bytes above space symbol to the lower index, sample:
for (i = spaceIndex; i <= strlen(str); i++)
str[i] = str[i] + 1;
str[strlen(str) - 2] = 0; //string end symbol
check the strlen() of received string and do the loop:
for (i = 1; i <= 4 - strlen(itoa(...))); i++)
printf("0");
find the com port address, usually they are:
com1 0x3f8
com2 0x2f8
com3 0x3e8
com4 0x2e8
then in turbo c you can use inport() and outport() functions that are declared in dos.h
well i thought he ment loop as a syntax concept, but i agree with you, its impossible to compare the elements of array without a loop
use recursion
if you still need it pm me, i have written one some time ago, but i cant tell you now how much it is reliable
typedef struct
{
int a;
} STR;
STR Func()
{
STR str;
str.a = 5;
try including ws2_32.lib
check pm
It's true, but programming with java you probably won't need soon to know how things work, because there are many classes already written for you the same thing with delphi, so i would suggest you...
wm_paint works fine for all windows except menus and pop up menus, what messages are sent when a menu is redrawn? win api documentation says it is WM_DRAWITEM but i've done some research and i didnt...
thanks, setting a global hook works for me fine, because i want to detect evey paint message of all running windows
is there any way to know when a window is repainted? I assume i should capture wm_paint messages or maybe somehow EndPaint() function (i think this would be better). So, does anyone know any methods...
but the thing is I have only 65536 different buffers(strings), so theoreticaly every buffer is able to have a different value, but the buffers arent fixed size and every char is in the range 0..255
how to count a 16 bit number from a buffer that has a unique value, crc doesnt fit me because it returns the same value for 'ab' and 'ba' and what i need is two different values. Is it at least...
want to know how i solved the problem? Because i'm going to convert several bitmaps a second (i'm writing desktop viewer) i need to make it fat but program initialization may be slow, so i made a...
GetNearestPaletteIndex is very slow, are there any algorithms that i could implement in order to optimize these actions and get the same results as with GetNearestPaletteIndex?