Original Post
Hi everyone. First of all, sorry for the unclear subject. Didn't know what title I should choose for my question. My question is that is there any way to hide the effect files (.fx) (embedd it in the application) so that when I give someone the release version, he/she can't see and change the effect file? Currently I use CreateEffectFromFile () which requires the effect file to be in the specified directory, hence, I need to include the effect file with the .exe and dlls. However, for some reason, I do not want to publish the effect file (it's not a ground breaking, outstanding, effect but still... I don't want to release it as a simple text file). I looked around in the net and found CreateEffectFromResourse () which can be the very function I am looking for. But I don't know how to use this function and google is not helping me much with it. Thus I would really appreciate if someone could point me to the right direction or perhaps show me an example on how this can be done. (If you provide an example, please tell me every step). Thank you very much in advance. Johnsss