AVISaveOptions without AVIStream [closed] - winapi

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am coding a program which exports AVI files into directories, is it possible to get an AVISaveOptions dialog without having access to an avistream? The AVICOMPRESSOPTIONS already has all the data, doesn't it? I am not able to create a stream using AVICreateStream because I do not know its parameter and the documentation does not explain them.

AVISaveOptions API passes call to ICCompressorChoose and the API looks up ICM codec from the stream you provide as an argument. This is why streams are required input. You need ICCompressorChoose instead if you don't have [yet] a stream.

Related

How to debug RED code? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
What is the preferred way to debug the RED prog lang code? Is there a RED debugger?
There's no debugger AFAIK, but there are functions that can help you with debugging. Take a look at these two articles, they should help you:
https://github.com/red/red/wiki/Debugging
https://github.com/red/red/wiki/How-to-Debug:-A-use-case-by-#DocKimbel
Basically you should use inbuilt functions like probe, ??, dump4, stack/dump or print-symbol.
You can also turn various debugging info with system/preprocessor/debug?: on, system/view/debug?: on and system/reactivity/debug?: on.

Is there a way to programmatically avoid EA trading under major FOREX news? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
May I know is there a way to programmatically detect major FOREX news and avoid trading in those time frame?
You need Forexfactory news indicator, "FFCal", that reads data from the website and returns true/false depending on time in minutes before/after major/mid/minor news events. you can download it on fxfactory website, use is rather simple
int result = (int)iCustom(Symbol(),0,"FFCal", (parameters),0,0);
Oh sure, sir, it is!
Let me share an example of such a fully automated / scripted approach:

Expanding DL in outlook [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
If we send a mail to a DL and at the other end that DL gets expanded(will show all the names in it).
Does this causes a performance issue on the outlook server?
DL is not expanded on the receiving side. DL is expanded when you send the message - the receiving server will have no idea what your DL contains. Expanding DL is not expensive - it is expensive to deliver messages to multipel recipients.

What's the difference between methods and messages in Ruby? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
What are the "under the hood" differences? What are the practical differences?
Is there any difference from a users perspective?
I know you could use def to define a method, but could you define a message?
When you send a message to an object, the object will (usually) respond by executing a method with the same name as that message.
You cannot define messages. You just send them.

What is the difference between Ntxxx and ZWxxx? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I tried to find the usage of NtqueryDirectoryFile() function.
http://msdn.microsoft.com/en-us/library/windows/hardware/ff556633%28v=vs.85%29.aspx
I refered the above link for this. But, They mentioned about Zwxxx (). I couldn't understand Ntxx and ZWxxx. Can anyone explain about this.
Basically Zw functions are equivalent of Nt functions except they don't do security checks, so are used inside kernel mode only, to avoid the performance penalty.
You can only call Nt functions from user mode, through ntdll.dll. As Michael pointed out Zw functions are just mnemonics to Nt counterparts in user mode.
#Adriano provided a nice link: http://msdn.microsoft.com/en-us/library/windows/hardware/ff565438(v=vs.85).aspx

Resources