   [SlimDX] Error compiling effect
  Hello!Im creating my effects for my application. I use Effect.FromFile to create the effect. This is how my effect looks like:///////////////////////////////////////////////////// Textures & Samplers///////////////////////////////////////////////////texture baseTexture;sampler BaseSampler = sampler_state{texture = <baseTexture>; magfilter = LINEAR;minfilter = LINEAR;mipfilter=LINEAR;AddressU = wrap;AddressV = wrap;};///////////////////////////////////////////////////// Globals///////////////////////////////////////////////////float4x4 matrixViewProj;///////////////////////////////////////////////////// Shader structs (PixelInput and VertexInput)///////////////////////////////////////////////////struct PixelInput{float4 Position : POSITION0;float2 TextureCoords : TEXCOORD0;};struct VertexInput{float4 Position : POSITION0;float2 TextureCoords : TEXCOORD0;};///////////////////////////////////////////////////// Vertex-Shader///////////////////////////////////////////////////PixelInput TerrainBlendShader(VertexInput input){PixelInput retVal = (PixelInput)0;retVal.Position = mul(float4(input.Position.xyz, 1.0f), matrixViewProj);retVal.TextureCoords = input.TextureCoords;return retVal;}///////////////////////////////////////////////////// Pixel-Shader///////////////////////////////////////////////////float4 PixelBlendShader(PixelInput input) : COLOR0{float4 BaseColor = tex2D(BaseSampler, input.TextureCoords);return BaseColor;}///////////////////////////////////////////////////// Technique///////////////////////////////////////////////////technique Blend1Layer{pass Pass1{VertexShader = compile vs_3_0 TerrainBlendShader();PixelShader = compile ps_3_0 PixelBlendShader();}}I keep getting the exception, "There were no techniques" when compiling the effect. What is the reason for that? GreetingsPlerion   
  If you create your effect as a text file from within Visual Studio, it will have a Unicode BOM in it. The DirectX effect compiler can't handle Unicode, and you'll get all sorts of weird errors because of it.   ;  Thats true, thanks. I hate windows when it comes to the charsets...   