Thanks for the reply. I got it working.
Using CreateProcess to spawn the second instance worked - it attaches to the console no problem.
I also accidentally found out that when you compile with LinkSwitches=/SUBSYSTEM:CONSOLE, you don't need to call AttachConsole or AllocConsole - you can...
I have a little console app I wrote called FFMemMon.exe that monitors the memory used by ffmpeg.
I also have another little app called Wait.exe that simply waits x seconds before exiting.
When FFMemMon runs, it attaches to the console and stores the current cursor position. It then starts...
Escape it the same way you did with the hyphen:
[^a-zA-Z0-9\-]
becomes
[^a-zA-Z0-9\-\.]
Another thing is that you don't need to escape the hyphen if you place it at the start:
[^-a-zA-Z0-9\.]
will work fine.
Heaven doesn't want me, and Hell's afraid I'll take over!
XP rocks - best Microsoft OS ever and by far the fastest.
Everyone keeps saying "get rid of it because of security blah blah", but for power users who know what they're doing and know the OS inside out, security is no problem at all. I totally agree with your observations about updates too - no...
If the size of the files is the issue, then I would recommend generating the files and then notifying the client by email when they are ready for download:
1. Client makes request.
2. Respond by informing client that they will receive an email when the files are ready for download.
3. Server...
With a compiled exe you should get a fatal dependency error. Since you have a "form.log" file containing the error you mention, I assume that you have VB6 installed on computer #2 and are getting this error when loading or running the project in the IDE.
There may be several reasons for this...
Okay. I found a Butterworth filter here.
I've done some experimenting, and this filter works very well. So the next step is to be able to calculate on the fly the cutoff frequency to use for the low pass filter. Here's what I'm thinking might work:
[ol 1]
Perform FFT on the buffer.
Get the 2...
I've already checked all the examples at PSC that I can find. Nothing I've found can return the dominant frequency with any accuracy. The closest I've found is the code I posted earlier.
I'm currently following up Hypetia's idea of filtering out the harmonics. So now I'm having trouble finding...
@Hypetia
Re #1: That's already been explained in detail, however filtering out the harmonics might be the solution. I'll look into that.
Re #2: That's pretty much what I've discovered. FFT tells us the strength of a series of frequency bands in the signal. The number of bands and their...
G'day Strongm, been a long time. Hope all is well.
I already have that zip. It contains a whole bunch of *.bas modules that I couldn't get to work. They heavily cross reference each other (with types and so on), and I had nothing but problems when I tried to use it. They don't even use Option...
You might want to take a closer look at your app.
vs_ideredist.exe is for Visual Studio 2008 - not VB6.
Visual Studio 2008 Shell (integrated mode) with Service Pack 1 Redistributable Package
Heaven doesn't want me, and Hell's afraid I'll take over!
Thanks for the reply. I apologise for my oversight of not providing enough info about the source signal - that obviously would have helped.
What you've suggested, is essentially what I'm doing now. I've got this working for one purpose, but not another. So I'll try to explain the exactly what...
This is the simplest code that I've been able to find so far, and for what does, it does well. But just like all the other so-called "frequency detection" examples I've found, this code relies on comparison, not detection - which are two entirely different things.
Public Function Power(Wave()...
A very generalized title, but quite frankly I'm lost altogether with this.
Here's what I want to do: Monitor the soundcard input, analyze it, and get the frequency of the input signal in Hertz (as a Double).
All the reading I've done seems to point to using FFT to acomplish this. However all...
It looks to me (from the screenshot) that the only controls which can have Read Only Text properties are the ComboBoxes.
With ComboBoxes, the Text property is read only if ComboBox.Style = 2 (Dropdown List). In this case, you can only set the Text property if the text you are trying to set...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.