Search Results - CodeGuru Forums
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: 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...
  2. 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:


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

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

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

    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,...
  8. Replies
    1
    Views
    932

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

    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...
  10. 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...
  11. Replies
    5
    Views
    4,932

    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.
  12. Replies
    18
    Views
    4,114

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

    How are you capturing the mic input??
  13. Replies
    4
    Views
    2,970

    Re: Problem detecting DBT_DEVTYP_VOLUME

    A quote from this thread
  14. Replies
    4
    Views
    2,970

    Re: Problem detecting DBT_DEVTYP_VOLUME

    Try changing this...

    NotificationFilter.dbcc_classguid = GUID_DEVINTERFACE_VOLUME;
    to this...

    NotificationFilter.dbcc_classguid = GUID_DEVINTERFACE_DISK
    ;
  15. Replies
    18
    Views
    4,114

    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...
  16. Replies
    18
    Views
    4,114

    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.
  17. Replies
    18
    Views
    4,114

    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.
  18. 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...
  19. Replies
    2
    Views
    654

    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.
  20. Replies
    18
    Views
    4,114

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

    A LAME Example
  21. Replies
    3
    Views
    1,759

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

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

    by BobS0327
    Replies
    2
    Views
    545

    Re: web page

    Try using SetCursorPos.
  23. Replies
    9
    Views
    1,185

    Re: Sincere help required! Kindly help guys.

    The links to the PDF's are broken.
  24. 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...
  25. Replies
    2
    Views
    822

    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...
Results 1 to 25 of 99
Page 1 of 4 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center