|
Interesting. I've never heard of that. Learn something new from CP everyday.
Logifusion[^]
|
|
|
|
|
I'm not sure what the c++/cli construct is, but in C# you can do this.
[Flags]
private enum FlagEnum
{
Foo = 0,
Bar = 4,
Baz = 2,
Qux = 1
}
|
|
|
|
|
You probably are right; I only see this construct in VB and C#.
Anyway, Flags Enum is about bit-field masking, AND/OR type of things. But in a C bit-field structure, you can declare a field of any type and of any number of bits in size.
- It's easier to make than to correct a mistake.
|
|
|
|
|
You are probably looking for either the System.Collections.BitArray[^] class or the System.Collections.Specialized.BitVector32[^]class.
The BitArray manages a compact array of bit values, which are represented as Booleans, where true indicates that the bit is on (1) and false indicates the bit is off (0).
The BitVector32 provides a simple structure that stores Boolean values and small integers in 32 bits of memory.
|
|
|
|
|
Hi,
What I require is some idea / hint how to do this.
a program to pass a string(template) to a C++ function. It should parse the template and call function function_A or function_B.... etc with the parameters.
x = "some value";
// x is created and defined within the C++ program
// similarly y and z are variables within this program.
string = ".... {if(x=="value1") function_A(x,y,z) else function_B(x,y,z)} .... ";
// string may be read from an external file...
.... denotes that this could appear anywhere within the string and there could be multiple appearance within the same string.
Any help would be greatly appreciated.
Regards
Vikash
|
|
|
|
|
|
Hello, does anybody have detailed information about bar code PDF 417?
I need to make control generating this code, but can not find any appropriate information just some common words. This code is described in ISO 15438 but I can not find it either. Please help.
My best regards
|
|
|
|
|
Hi,
I've always had a problem listening mu musics. It was that some of them had been recorded too loud and some ...
Is it possible to write a tool to get information from a file(I don't know if it is possible at all) or check the waveout or wave in to control sound output volume? so if we select 30, all files will be played this loud.
I hope, with this english, some one realize this!
|
|
|
|
|
Wow, very interesting. Do you know how exactly it is doing that?
Thanks.
P.S.I did not give you 1.
//This is not a signature
while (I'm_alive) {
printf("I Love Programming");
}
|
|
|
|
|
|
The Osmosian Order wrote: Now if you add or subtract the same number from all the samples it will still sound the same, only louder or softer (unless you've lost a sample because it went to zero, or you clipped because you exceeded the limits). I'm pretty sure that's essentially what the Apple thing does: it just looks at the average of all the samples and then adds or subtracts a number from them to "normalize" the average volume to some pre-determined number.
You'd want to multiply by a constant instead of adding. Otherwise your sound waves would have vertical discontinuities in the waves instead of just being twice as tall.
|
|
|
|
|
Thanks again. very interesting that sound is like that. perhaps you have been working on a game and decided to play sound working directly with sound cards
I had not the chance to see iTunes, but from what I saw above I thought it is probably done while converting a file to another format. Now do you think if it is possible to write something like a filter, (Perhaps a driver), that does this normalization on the fly? So using that we'll be sure that we can sefely play a sound list, and the output sound has a boundry that will not exceed that and we'll not awake an asleep child with our mp3 musics .
It might be good to use a similar hardware even for our TV's, If there is not any already, so that we'll not engage changing volume all the time moving from one chanel to another.
//This is not a signature
while (I'm_alive) {
printf("I Love Programming");
}
|
|
|
|
|
Hamed Mosavi wrote: I had not the chance to see iTunes, but from what I saw above I thought it is probably done while converting a file to another format. Now do you think if it is possible to write something like a filter, (Perhaps a driver), that does this normalization on the fly? So using that we'll be sure that we can sefely play a sound list, and the output sound has a boundry that will not exceed that and we'll not awake an asleep child with our mp3 musics.
Yes. There're multiple winamp plugins that do normalization.
|
|
|
|
|
Can anybody tell me, Is it possible to use .NET or COM dlls from java code? If yes, how?
Rajesh Kumar V
|
|
|
|
|
|
Hi, I'm not sure which discussion board to put this request on but...
As an owner of a iPAQ, I really wanted to try the ToDoListPPC application posted here (http://www.codeproject.com/netcf/TodoListPPC.asp?msg=1511999#xx1511999xx).
However the source that is posted has not been updated and is missing a reference dll. The author has posted a link to his own server where an updated file can be obtained. But just my luck the server is down.
Anyways, if anyone has the updated source and can provide it, please reply to this message.
Thanks,
Rick
|
|
|
|
|
I don't think that'll help you. He also wrote he sent this to CP and the article was updated on the same date so I assume the downloadable code is the same as it was on his homepage. Beside the missing reference (which only causes a warning - no error) some compile errors are contained which don't make any sense to me. Somehow also some resource files are corrupt.
|
|
|
|
|
Hi all,
I wanted to use AS400(green screen) program to access as it is without changing anything in AS400. I heard that it is possible with Host Integration Server 2004. Is it true? If so could anybody tell me how to configure and setup Host Integration Server 2004 to acchieve this task?
Thank u all in advance.
Rgds,
Sam J
|
|
|
|
|
I'm a questioner. Not a programmer with the level of expertise generally found here. Please excuse me being here. I'm here only to ask.
The problem is copying scratched dvd's. Commercial software won't do it because of problems 'reading' the dvd.
But these dvd's will play, either on the computer or on a dvd player. They may have some 'artifacts' - splotches of raw colour, maybe, or periods of blank darkness. Manifestations of the bad condition they are in.
But they play. Video RAM gets refreshed. A movie is played.
It seems it should be possible to simply save the contents of video RAM and save that as a file.
And then play that file back into video RAM to reproduce the movie.
But no one seems to know how to do it and no one seems to know of any software that currently does this. Though some say it is the way that dvd's were originally copied back in the dark ages.
I am hoping this forum can shed some light on the subject.
regards,
abrogard.
|
|
|
|
|
If I understood you right, you need a program that reads bad or damaged disks. BadCopy can read whole disk and replace damaged sectors with random data. So when you will play this video you'll see some artifacts, but this isn't critical if disk has a few damaged sectors.
Video from the screen can be captured by SnagIt or Corel Capture,.. not sure about second program
|
|
|
|
|
Anybody knows aglets programming(java based mobile agent toolkit)
montu
|
|
|
|
|
Hi
I am intersted in developing projecton search engine in local area network .what is the best search criteria can be designed.Is the search engine can be designed in java....
Regards,
Patta
|
|
|
|
|
i want to develop a menu and form based Add-in for MS outlook. i have found some material but was unable to get the real way for visual studio.net can anyone please help me actually i want the complete process from developing to deploying.
Thanks and regards
|
|
|
|
|
Hi, I am Hendry. I just want to ask the article about control devices through sms (short message services). I need the articles for my thesis. I plan to make a control system with a microcontroller. So, the idea is:
I use a handphone as the sms receiver. Then after it receive a sms, it will send the sms to the micro. After the micro read the sms, it will do any task, for example turn on/off the light.;)
Btw, is this idea impossible to implement?
Thak you.
|
|
|
|
|
I need another project…
There are numerous commercial antispyware resources and virus detection applications.
I have not seen much code in here.
Where does one start to learn how to roll my own?
Any suggestions – books, links etc.
Vaclav
|
|
|
|