yes, I catched that info about your implementation of that _SC Wrapper in the VB Thread. But Purebasic can access in regular all dll's without wrapper so I thought that's not the reason. Well now it works :) btw. Im working with dgmpgdec140. @ Prodater 2 ways via avisynth.dll are possible: - feeding the API commands AviFileXXXX() using a pre-builded avs script. - directly accessing the Avisynth dll but thats a harder work as first I would have to convert the avisynth.h Headerfile for a proper usage of the dll if not working in c++. And .... over all: I wanted to crack that nut by try and error. Also I catched that thread about the Avisynth C interface wrapper by T.Barry but even if I know the commands, I would have to know how a simple api routine would have to be build for getting frames out of for example a simple avisource or mpeg2source (via invoke?).