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

Search:

Type: Posts; User: BobS0327

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. 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...
  2. Replies
    3
    Views
    411

    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. ...
  3. 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...
  4. Replies
    2
    Views
    427

    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...
  5. Replies
    2
    Views
    427

    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,...
  6. Replies
    1
    Views
    690

    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.
  7. Replies
    0
    Views
    267

    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...
  8. 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...
  9. Replies
    5
    Views
    3,918

    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.
  10. Replies
    18
    Views
    3,338

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

    How are you capturing the mic input??
  11. Replies
    4
    Views
    2,377

    Re: Problem detecting DBT_DEVTYP_VOLUME

    A quote from this thread
  12. Replies
    4
    Views
    2,377

    Re: Problem detecting DBT_DEVTYP_VOLUME

    Try changing this...

    NotificationFilter.dbcc_classguid = GUID_DEVINTERFACE_VOLUME;
    to this...

    NotificationFilter.dbcc_classguid = GUID_DEVINTERFACE_DISK
    ;
  13. Replies
    18
    Views
    3,338

    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...
  14. Replies
    18
    Views
    3,338

    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.
  15. Replies
    18
    Views
    3,338

    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.
  16. 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...
  17. Replies
    2
    Views
    597

    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.
  18. Replies
    18
    Views
    3,338

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

    A LAME Example
  19. Replies
    3
    Views
    1,364

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

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

    by BobS0327
    Replies
    2
    Views
    502

    Re: web page

    Try using SetCursorPos.
  21. Replies
    9
    Views
    1,007

    Re: Sincere help required! Kindly help guys.

    The links to the PDF's are broken.
  22. Re: Mouse hit test/know when mouse is over something.

    You can determine whether the left mouse button is down or up by trapping WM_LBUTTONDOWN or WM_LBUTTONUP messages.

    Also, assuming that the window background is one consistent color. Let's assume...
  23. Replies
    2
    Views
    749

    Re: How to using nmake to build

    You have to be in the C:\dgnLib directory and then execute nmake /f Makefile.vc from that directory. The makefile will only search the current directory for the cpl_config.h file. Thus, when you...
  24. Replies
    10
    Views
    1,795

    Re: GetCursorPos returns 0

    Actually, Microsoft recommends using heap functions instead of global and local functions.
  25. Replies
    10
    Views
    1,795

    Re: GetCursorPos returns 0

    You're not allocating any memory for lpPoint.


    lpPoint = (LPPOINT)GlobalAlloc(GPTR, sizeof(POINT));
Results 1 to 25 of 97
Page 1 of 4 1 2 3 4



HTML5 Development Center

Click Here to Expand Forum to Full Width