January 19th, 2013 08:15 PM
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:
January 18th, 2013 07:50 PM
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. ...
December 10th, 2012 10:40 PM
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...
December 1st, 2012 09:10 PM
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...
November 30th, 2012 11:51 AM
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,...
December 14th, 2011 04:11 PM
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.
March 31st, 2011 06:31 AM
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...
January 17th, 2010 08:43 PM
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...
January 17th, 2010 05:45 PM
One option would be to use SSDT hooking to hook zwCreateFile at the kernel level. This would require a driver.
January 9th, 2010 12:38 AM
How are you capturing the mic input??
January 5th, 2010 09:36 PM
January 4th, 2010 09:19 PM
Try changing this...
NotificationFilter.dbcc_classguid = GUID_DEVINTERFACE_VOLUME;
NotificationFilter.dbcc_classguid = GUID_DEVINTERFACE_DISK
January 3rd, 2010 08:15 PM
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...
January 3rd, 2010 03:44 PM
I would suggest that you download the source code for the DLL and review the beInitStream function to determine exactly how dwSamples is calculated.
January 2nd, 2010 10:54 PM
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.
January 1st, 2010 07:38 PM
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...
January 1st, 2010 06:20 PM
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.
January 1st, 2010 05:44 PM
December 29th, 2009 06:33 PM
Info from a USB manual...
December 29th, 2009 05:29 PM
December 29th, 2009 07:08 AM
The links to the PDF's are broken.
December 28th, 2009 06:03 PM
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...
December 28th, 2009 01:24 PM
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...
December 27th, 2009 08:14 PM
Actually, Microsoft recommends using heap functions instead of global and local functions.
December 27th, 2009 06:43 AM
You're not allocating any memory for lpPoint.
lpPoint = (LPPOINT)GlobalAlloc(GPTR, sizeof(POINT));