Search Results

Search found 955 results on 39 pages for 'dear jhon'.

Page 8/39 | < Previous Page | 4 5 6 7 8 9 10 11 12 13 14 15  | Next Page >

  • Is it possible to change HANDLE that has been opened for synchronous I/O to be opened for asynchrono

    - by Martin Dobšík
    Dear all, Most of my daily programming work in Windows is nowadays around I/O operations of all kind (pipes, consoles, files, sockets, ...). I am well aware of different methods of reading and writing from/to different kinds of handles (Synchronous, asynchronous waiting for completion on events, waiting on file HANDLEs, I/O completion ports, and alertable I/O). We use many of those. For some of our applications it would be very useful to have only one way to treat all handles. I mean, the program may not know, what kind of handle it has received and we would like to use, let's say, I/O completion ports for all. So first I would ask: Let's assume I have a handle: HANDLE h; which has been received by my process for I/O from somewhere. Is there any easy and reliable way to find out what flags it has been created with? The main flag in question is FILE_FLAG_OVERLAPPED. The only way known to me so far, is to try to register such handle into I/O completion port (using CreateIoCompletionPort()). If that succeeds the handle has been created with FILE_FLAG_OVERLAPPED. But then only I/O completion port must be used, as the handle can not be unregistered from it without closing the HANDLE h itself. Providing there is an easy a way to determine presence of FILE_FLAG_OVERLAPPED, there would come my second question: Is there any way how to add such flag to already existing handle? That would make a handle that has been originally open for synchronous operations to be open for asynchronous. Would there be a way how to create opposite (remove the FILE_FLAG_OVERLAPPED to create synchronous handle from asynchronous)? I have not found any direct way after reading through MSDN and googling a lot. Would there be at least some trick that could do the same? Like re-creating the handle in same way using CreateFile() function or something similar? Something even partly documented or not documented at all? The main place where I would need this, is to determine the the way (or change the way) process should read/write from handles sent to it by third party applications. We can not control how third party products create their handles. Dear Windows gurus: help please! With regards Martin

    Read the article

  • how to implement more functionality in webpage

    - by trans
    Dear All, I have a website in front page i m displaying 5 records ,for different options,i want that when user licks more he should be able to view next records.i would i keep track as whicg list has already been shown to user,since i m using an arraylist,can i ipmlement it through that.

    Read the article

  • invalid effective address calculation!

    - by Zia ur Rahman
    Hay Dear! Please look at the following program, the error is invalid effective address calculation and i have mentioned that line please tell me why its invalid effective address calculation here is the program [org 0x100] jmp start array1: dw 10,15,20,25,30,35,40,45,50,55 array2: dw 15,10,20,35,40,30,55,50,25,45 start: mov bx,0 mov dx,0 loop: mov ax,[array2+bx] cmp ax,[array1+cx]//here is the error invalid effective address calculation jne NextElementOfArray1 NextElementOfArray2: add bx,2 cmp bx,20 je end mov cx,0 jmp loop NextElementOfArray1: add cx,2 cmp cx,20 je NextElementOfArray2 jmp loop end: mov ax,0x4c00 int 0x21

    Read the article

  • MMS interception

    - by kamiomar
    Dear, is there any way to intercept MMS(not SMS). How to track outgoing and incoming MMS. i have completed SMS interception but not get any appropriate help to implement MMS interception. also provide links also if possible. thanks.

    Read the article

  • Windows 7 SDK RC & Beta version

    - by Sarath
    Dear All, I've download Windows 7 SDK which was downloaded at the time of the beta release. Now I upgraded to RC and trying with some Direct2D samples. But I can't create the factory pointer using D2D1CreateFactory API. It's always returns NULL. Even the samples downloaded from MSDN is also not working well. There are some changes from Beta - RC Is this because of the version mismatch of SDK?

    Read the article

  • shellcode is trunced by \x20

    - by marcelo carvalho
    Dear Masters Why my shellcode is trunced after "\x20" opcode, when it is copied by string to stack on a second vulnerable program? --cmd.exe-- char shell[]= "\xc7\x44\x24\x0c\x65\x78\x65\x20" <---only this line is put in stack, though hv a enough space "\xc7\x44\x24\x08\x63\x6d\x64\x2e" "\x31\xc0" "\x89\x44\x24\x04" "\x8d\x44\x24\x08" "\x89\x04\x24" "\x8d\x05\xad\x23\x86\x7c" "\xff\xd0"; --end shell--

    Read the article

  • Simulating a 6-faced die in Ada-2005

    - by Arkapravo
    Dear Friends ! I have very definitively come across the 'simulating a 6-faced die' (which produces a random integer between 1 and 6, all outcomes are equally probable) in Java, Python, Ruby and Bash. However, I am yet to see a similar program in Ada. Has anyone come across one ? Kind regards Arkapravo

    Read the article

  • Develop Windows Phone 7 on Windows XP

    - by jpartogi
    Dear all, I downloaded the Windows Phone 7 SDK yesterday but when I installed it on my Windows XP it complaint that it needs to be installed on Windows 7. My question is, is it possible to install the Windows Phone 7 SDK or develop for Windows Phone 7 on WinXP? Is there any workaround that has been made to overcome this? Thank you for your help.

    Read the article

  • image slideshow example in android?

    - by UMMA
    dear friends, i want to create image slideshow in android. i have many images in android gridview now i want to open manual slideshow if any image is clicked so that i could view it by moving finger left or right next and previous images like android built in gallery. any one guide me how to achieve this? any help would be appriciated.

    Read the article

  • PreparedStatement alternative within JPA ?

    - by worldpython
    Dear all, I am new to JPA, I used to used prepared statement in JDBC. Is there alternative to be used within JPA ? as there is a query which I call frequently see this for info about prepared statment http://java.sun.com/docs/books/tutorial/jdbc/basics/prepared.html thanks in advance,,,

    Read the article

  • RadAjaxManager Destroys My Design And Move My Controls (In Preview Mode) that are Inside It

    - by LostLord
    hi my dear friends : why radajax manager do this to me ? plz see these pictures beloaw... http://www.2shared.com/file/12426877/11c38fb4/WithOut_RadAjaxManager.html http://www.2shared.com/file/12426799/63a4c800/With_RadAjaxManager.html this problem exists about every control inside radajaxmanager i mean radajaxmanager displaces my controls... how can i fix this? thanks for your attention

    Read the article

  • Do I need to check capacity before adding an element to a vector in c++ ?

    - by Cassie
    Hi dear all, I am a newbie to c++ STL vectors so sorry for silly questions in advence. :) In my program, I have a vector which needs to store unknown number of elements. Do I have to check if the vector has achieved its max_size before adding an new element to it ? Will a c++ compiler throw an exception automatically when a program tries to add elements to a full vector ? Thank you very much, Cassie

    Read the article

  • Write-Through Cache

    - by Mubashar Ahmad
    Dear All I am trying to do an C# implementation of Write-through Cache to minimize the read hits on db i need your suggestions, articles or sample codes to fulfill this assignment. Initially this would be use only on one server but will be updated to work in clustered environment. I only able to get a worth reading article on Oracle Site. Please share your views Regards Mubashar

    Read the article

  • how can we check filetypes (formats such as jpg) without using file extensions before _-uploading t

    - by LostLord
    hi my dear friends: how can we check filetypes (formats such as jpg) without using file extensions before -uploading them- in asp.net with c# ? i am using vs 2008 + asp.net + c# + TELERIK Controls (RadUpload) ========================================================================================= imagine that some body change the text file extension to jpg and select in in a upload conrol such as radupload ... how can we recognize this file is truly jpg or not? thanks a lot

    Read the article

  • yahoo connectivity with java code

    - by sharma
    Dear all, I want to develop a yahoo client (core java) which connects to yahoo messenger ,checks for the authentication and login through java code. I have already used jymsg api ,but since yahoo changed its protocol after august 15,2009 i m not able to connect to yahoo server through java code.Is there any api or source available?Do i need to change the authentication method.help in this 2 resolve problem.

    Read the article

  • Capture console output in TestNG?

    - by Misha Koshelev
    Dear All: I am using TestNG+ReportNG per wiki instructions in gradle (I fixed on cookbook as default example did not work form me). http://docs.codehaus.org/display/GRADLE/Cookbook#Cookbook-addreporters I would like to somehow capture console output in TestNG. Is this possible? Thank you Misha

    Read the article

  • Strange groovy behavior when dealing with threads

    - by Misha Koshelev
    Dear All: I have an interesting dilemma. If I define my class as: class Browser { def swtException protected Object evaluate(script) throws SWTException { swtException=null display.syncExec() { try { result=swtBrowser.evaluate(script) } catch (SWTException swtException) { Browser.swtException=swtException } } } I get this rather interesting error: Exception in thread "Thread-5" org.eclipse.swt.SWTException: Failed to execute runnable (groovy.lang.MissingPropertyException: No such property: swtException for class : com.mksoft.fbautomate.browser.Browser Possible solutions: swtException) Any ideas??? Thank you! Misha

    Read the article

< Previous Page | 4 5 6 7 8 9 10 11 12 13 14 15  | Next Page >