CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: BobS0327

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    513

    Issue reading from Serial Port class

    I have developed a very basic app to write and then read from the serial port. I can successfully write to the Com port but I cannot read any return data. I have used a serial port sniffer to...
  2. Replies
    0
    Views
    1,334

    Reduce brightness of Windows tablet screen

    I'm developing a .Net C# app for a HP Stream 7 tablet with Windows 8.1 installed. I've successfully prevented the tablet from locking by using a SendKeys.Send("{CAPSLOCK}") from within a timer. But...
  3. Replies
    1
    Views
    3,222

    Re: read every entry of a zip file

    Have you tried something like this to get the number of entries in a zip file?


    import java.util.zip.ZipFile;
    .
    .
    .
    final ZipFile file = new...
  4. Re: How to resolve a PInvokeStackImbalance was detected issue

    Single stepping thru the code and using the variable watch window indicates that iRet is always zero. But as the documentation below indicates, as long as the function returns successfully, iRet...
  5. How to resolve a PInvokeStackImbalance was detected issue

    I have started converting a C SDK to C# and have encountered a PInvokeStackImbalance was detected error that I just can't figure out how to resolve.

    The details of the message is as follows:


    ...
  6. Re: running balance does not update - newbie question

    Java in general is pass by value instead of pass by reference. I believe this article will provide an excellent description of the issue.

    But anyway, one possible alternative would be:


    public...
  7. Replies
    3
    Views
    1,191

    Re: serious help needed, java code

    IMHO, you should read the input using readLine. Thus, your input string would look as follows: 10:13:21

    You would then parse out the hours, minutes and seconds using the Scanner useDelimiter. ...
  8. Re: Reversing letters of a words in a sentence keeping the words in the same order

    Another option would be to tokenize your input string and send each token to a reverse method. The reverse method would be called recursively using the Java API substring as input to the reverse...
  9. Replies
    2
    Views
    1,457

    Re: Perplexed by video streaming latency

    Thanx for the link. I've tried implementing it but it doesn't seem to stream the video to my Windows client. I don't believe WebRequest can handle h.264 video streaming.

    I'm using clear text...
  10. Replies
    2
    Views
    1,457

    Perplexed by video streaming latency

    I am developing a windows client app that accesses a CCTV video stream from a Linux based back end server app called ZoneMinder. I am using a Web browser control in my Windows client. Specifically,...
  11. Replies
    1
    Views
    3,757

    Re: Get Video Card Shader Model

    Maybe the Pixel Shader 2.0 example at http://www.flipcode.com/archives/Pixel_Shader_20_Example-A_Simple_Example_of_Using_Pixel_Shader_Version_20.shtml can be of some help to you.
  12. Replies
    0
    Views
    553

    DataGridView issue

    I'm using Chris Holmes' excellent blog on WCF as a tutorial. The blog can be found at http://www.chrisholmesonline.com/2009/03/05/winforms-wcf-duplex-services/. Unfortunately, I attempted to change...
  13. Re: Issue with NetUserAdd() and NetLocalGroupAddMembers()

    No, it's the name of the account you're adding to the group which is not necessarily the name that is logged into the computer. It is in the form of DomainName\AccountName where DomainName in this...
  14. Replies
    5
    Views
    10,965

    Re: How can I hook CreateFile Api?

    One option would be to use SSDT hooking to hook zwCreateFile at the kernel level. This would require a driver.
  15. Replies
    18
    Views
    6,840

    Re: [win 32] loading dll (lame encoder)

    How are you capturing the mic input??
  16. Replies
    4
    Views
    6,117

    Re: Problem detecting DBT_DEVTYP_VOLUME

    A quote from this thread
  17. Replies
    4
    Views
    6,117

    Re: Problem detecting DBT_DEVTYP_VOLUME

    Try changing this...

    NotificationFilter.dbcc_classguid = GUID_DEVINTERFACE_VOLUME;
    to this...

    NotificationFilter.dbcc_classguid = GUID_DEVINTERFACE_DISK
    ;
  18. Replies
    18
    Views
    6,840

    Re: [win 32] loading dll (lame encoder)

    If you carefully read Lame's source code, you'll see that Lame calculates dwSamples as 1152 x 2 = 2304, where 2 is the number of channels. One would be mono and two would be stereo. The 1152 at...
  19. Replies
    18
    Views
    6,840

    Re: [win 32] loading dll (lame encoder)

    I would suggest that you download the source code for the DLL and review the beInitStream function to determine exactly how dwSamples is calculated.
  20. Replies
    18
    Views
    6,840

    Re: [win 32] loading dll (lame encoder)

    Judging from the Wav file format it probably has something to do with Wav block alignment. I.e. 4 x 12 x 48 = 2304 in the Layer 1: nBlockAlign of the Wav format.
  21. Re: Writing directly on a harddisk without using File

    I would definitely NOT recommend writing to a hard drive with the following code. What I would suggest is that you do a bit for bit copy from one USB device to another USB device to verify that the...
  22. Replies
    2
    Views
    952

    Re: Read contents of flash file

    Reading a flash file is not a trivial task by any stretch of the imagination. But anyway, Here is a link explaining the flash file format.
  23. Replies
    18
    Views
    6,840

    Re: [win 32] loading dll (lame encoder)

    A LAME Example
  24. Replies
    3
    Views
    3,072

    Re: "Rom" / "rom byte" keywords?

    Info from a USB manual...
  25. Thread: web page

    by BobS0327
    Replies
    2
    Views
    647

    Re: web page

    Try using SetCursorPos.
Results 1 to 25 of 102
Page 1 of 5 1 2 3 4





Click Here to Expand Forum to Full Width

Featured