|
I'm wondering about the speed, I need that should be in real time, like when you see the mobile phone camera.
I don't know if I have to compress video before send it to socket. If I have to, so I need to compress and decompress video, the speed will be slow, I think.
If I don't compress them, so the data packet should be very big, I don't know if I can make a stream.
I see that youtube, dailymotion ... doing a stream. So I think the 2nd solution should be ok. That why in the first post I talk about a simple RTSP server.
I prefer a common buffer/shared memory like when you make a communication between threads in one application, this solution is more efficient and simple. But I don't know if we can do the same way with some independent applications.
|
|
|
|
|
Hmm, i just checked the GlobalAlloc method and found out that GMEM_SHARE is obsolete and ignored by the method (and is provided for backwards compatibility with 16 bit windows), i guess i was living in the past, as i could have sworn this would still work. Anyways, here's[^] a list of (some) interprocess communication methods, maybe one of these could be used on a mobile device too.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> "It doesn't work, fix it" does not qualify as a bug report. <
> Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <
|
|
|
|
|
thanks your helpful reply
|
|
|
|
|
Yourwelcome, i hope it did help. Could you tell me (and others who are reading this conversation maybe) which method you decided to use? Just curious...
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> "It doesn't work, fix it" does not qualify as a bug report. <
> Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <
|
|
|
|
|
I'm thinking about Pipes, File Mapping and a simple rtsp server (it means that TCP/UDP). I will do a/some test and tell you (not now, but when I done the test) which one I will use.
If RTSP is "enough" simple, I prefer it, because it's a standard, so I can reuse for my other projects.
|
|
|
|
|
The "Using a File Mapping for IPC" part seems to be promising. (see the link in my other post)
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> "It doesn't work, fix it" does not qualify as a bug report. <
> Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <
|
|
|
|
|
|
Do you see the "reply" link, down to the message ??
If you want to thank someone, just "reply". Don't start a new thread for that.
Otherwise we cannot figure out what are you talking about to whom.
2 bugs found.
> recompile ...
65534 bugs found.
|
|
|
|
|
Strange problem: in order to check some securities issues in the organization I need to deploy a sample program that need to be recognized as a known virus or Trojan.
The idea is to deploy simple program to all user's machines and check who will recognized it as virus and to log what was done by the user after it.
Its must be recognized as a well known virus so the standard anti virus applications we have will catch it, but of course wont make any damage to the host machine.
Any ideas?
|
|
|
|
|
alto wrote: I need to deploy a sample program that need to be recognized as a known virus or Trojan.
How could be recognized as known, if you're freshly developing it?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
I thought maybe its possible to add some code or known recognition string that the anti virus program looks for, or other idea like this, but i don' know how to do it or if its possible
|
|
|
|
|
As far as I know, there are 'innocuos' real viruses around. Cannot you just use one of them?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
maybe I can actually, but I'll have to add it to my program since I need it to log the user action (I make it with simple hook on the anti viruses applications)
Can you point me to such 'nice' virus? thanks
|
|
|
|
|
This is up to you (I don't want such a responsibility...).
There are many online virus databases.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Here use this software, it gives false positive in many virus scanners (they don't like self extractors).
|
|
|
|
|
Thanks, but at list Avira & avg don't have any problem with that application
|
|
|
|
|
Strange, my Avira complains loud about it. I gonna check it....
Virus or unwanted program 'TR/Crypt.ZPACK.Gen2 [trojan]' with latest Avira signature.
The software itself is no virus, but triggers their generic self extractor pattern.
/M
Chat in Europe Now with 24% more Twitter
modified on Tuesday, June 22, 2010 8:28 AM
|
|
|
|
|
Perhaps you could neuter a real virus and hope it still gets recognised (and that you really did neuter it!).
Steve
|
|
|
|
|
|
I am working on dialog in which data is populated after selecting some type of symbols and in this data the two columns are having null values ,and this is my condition.If two columns are having null value than that row which contains this null valued columns will not be display.for this i had added the submenu item .
|
|
|
|
|
This is a forum - you can reply to messages already posted.
Did you read my reply to your previous post? Have you made any progress with the small pieces of the puzzle?
If you don't respect people who are trying to help you enough to reply to them, the chances of being helped again drop very fast.
Read my previous message, and good luck,
Iain.
I am one of "those foreigners coming over here and stealing our jobs". Yay me!
|
|
|
|
|
If you continue to repost this same question you will continue to get the same answer.
E don't see what's on your screen, we don't know what's in your mind, we don't know what your data are.
Hence we cannot answer you.
Let me give you an analysis on your question, tust to let you figure out why we're messed up.
jt_snjy07 wrote: I am working on dialog
OK. That's a well defined concept ...
jt_snjy07 wrote: in which data is populated ...
HIC... Dialog don't host data. They host controls. Some control may host data ... or better "representation of data". The subject of the post is ctrllist ... may be he's using MFC CListCtrl ?? Or just working on WIN32 raw API with a LISTCONTROL ? Or just using a CListBox, or working directly on a LISTBOX ? What the environment he is in?
jt_snjy07 wrote: ... after selecting some type of symbols ...
Uhmm some types of symbols ... How is this relevant ?!?
jt_snjy07 wrote: ...and in this data the two columns are having null values
Columns? So you have colums! What do they represent?
What are the data? Strings? Pointer to some structures?
What is a "null value" respect to the data you're talking about?
jt_snjy07 wrote: If two columns are having null value than that row which contains this null valued columns will not be display
In general terms, if the control does not contain your original data but just representation ... don't insert null values.
If they are already inserted, iterate the items, check the null condition ad remove them. The documentation of the control you are using should describe a function to add or remove an item.
It the words in italic are meaningless to you ... your problem is not the ctrllist, but programming in general.
jt_snjy07 wrote: for this i had added the submenu item
Uhmm ... how is this relavant to the question?
2 bugs found.
> recompile ...
65534 bugs found.
|
|
|
|
|
Hi,
I have a formview in MFC application.
There I have to add check boxes dynamically.
how to create check boxes dynamically on the form view?
|
|
|
|
|
You have to create it by calling the CButton::Create[^] method and pass the BS_CHECKBOX in the dwStyle parameter (with additional styles if needed).
|
|
|
|
|
yaah I got it. thank you.
|
|
|
|