My program calls the avi.dll to initialize, write into and close an avi-file. Now, when initializing it, a pop-up window is shown so you can choose the codec to use. My question is, can I pre-define the codec, so the pop-up window won't show up? The program is meant to write several files, some starting without the user having to control them, so the pop-up window really isn't helping. Any ideas?
I attached the avi.dll in case you need it to look at the problem.
Also helpful would be, if someone could tell me, how I can take a closer look at the structure of the dll. Is there a program I can do that with?
I have used this DLL before and wasn't asked to choose a codec. Maybe if you use all three functions (init, write, close), it works without problems. Here's a example that uses IMAQ hardware to acquire an 8-bit image at 30fps and writes each image to an avi file.
There are utilities to examine dlls (see what functions are exported and what the dependencies are, but you can't see source code since it is compiles.) Check out QuickView or DependencyWalker.