<?xml version="1.0" encoding="UTF-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">Hossam</title><subtitle type="html" /><id>http://spellcoder.com/blogs/hossam/atom.aspx</id><link rel="alternate" type="text/html" href="http://spellcoder.com/blogs/hossam/default.aspx" /><link rel="self" type="application/atom+xml" href="http://spellcoder.com/blogs/hossam/atom.aspx" /><generator uri="http://communityserver.org" version="2.0.60217.2664">Community Server</generator><updated>2007-06-21T04:19:00Z</updated><entry><title>Silverlight and WCF</title><link rel="alternate" type="text/html" href="http://spellcoder.com/blogs/hossam/archive/2008/05/12/13475.aspx" /><id>http://spellcoder.com/blogs/hossam/archive/2008/05/12/13475.aspx</id><published>2008-05-12T17:54:00Z</published><updated>2008-05-12T17:54:00Z</updated><content type="html">today i had to make silverlight call WCF service so i made a normal wcf service and try to consume it with silverlight and it didn't work ,so i start the debug jury and it lead to no where ,then i serve the forums , blogs ,and documentation but no solution&lt;br&gt;you can check on silverlight forum.&lt;br&gt;&lt;a href="http://silverlight.net/forums/p/1119/2597.aspx"&gt;http://silverlight.net/forums/p/1119/2597.aspx&lt;/a&gt;&lt;br&gt;then i suspected that maybe silverlight client access policy is a must to connect to web service even in debug mode&amp;nbsp; so i added&amp;nbsp; clientaccesspolicy.xml&amp;nbsp; to my wcf&amp;nbsp; service and it works fine now&lt;br&gt;&lt;br&gt;the code for clientaccesspolicy.xml :&lt;br&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;br&gt;&amp;lt;access-policy&amp;gt;&lt;br&gt;&amp;nbsp; &amp;lt;cross-domain-access&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;policy&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;allow-from&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;domain uri="*"/&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/allow-from&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;grant-to&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;resource path="/" include-subpaths="true"/&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/grant-to&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/policy&amp;gt;&lt;br&gt;&amp;nbsp; &amp;lt;/cross-domain-access&amp;gt;&lt;br&gt;&amp;lt;/access-policy&amp;gt;&lt;img src="http://spellcoder.com/aggbug.aspx?PostID=13475" width="1" height="1"&gt;</content><author><name>Hossam</name><uri>http://spellcoder.com/members/Hossam.aspx</uri></author></entry><entry><title>Vista side-by-side configuration Error </title><link rel="alternate" type="text/html" href="http://spellcoder.com/blogs/hossam/archive/2008/03/06/9786.aspx" /><id>http://spellcoder.com/blogs/hossam/archive/2008/03/06/9786.aspx</id><published>2008-03-06T14:19:00Z</published><updated>2008-03-06T14:19:00Z</updated><content type="html">just today i had to make a demo for some augmented reality application for a customer&lt;br&gt;my development machine has windows XP SP2 and my demo machine has Vista&lt;br&gt;i developed the application using VS 2008 C++ so xcopy should work fine but not with Vista !&lt;br&gt;i keep getting the error:&lt;br&gt;"&lt;i&gt;&lt;b&gt; &lt;/b&gt;&lt;/i&gt;&lt;b&gt;The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail &lt;/b&gt;"&lt;br&gt;&lt;br&gt;that doesn't make sense, my application doesn't have any side-by-side configuration&lt;br&gt;i tried to change the application compatibility and it didn't work&lt;br&gt;so i googeld the error and found link to the msdn&lt;br&gt;yes that should be it&lt;br&gt;but no&lt;br&gt;so i searched the msdn and found&lt;br&gt;&lt;br&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/ms235291.aspx"&gt;How to: Deploy using XCopy&lt;/a&gt;&lt;br&gt;&lt;br&gt;that should be it&lt;br&gt;what i need is to copy &lt;br&gt;%WindowsSdkDir%\Bootstrapper\Packages\vcredist_x86\vcredist_x86.exe&lt;br&gt;to the demo machine and it should work&lt;br&gt;&lt;br&gt;but no the error still the same&lt;br&gt;&lt;br&gt;i noticed while installing vcredist_x86.exe that it say vs2005 run time !&lt;br&gt;&lt;br&gt;i found that the new runtime fro vs2008 dose not came with vs2008 instead ms ship vs2008 with the old run time &lt;br&gt;so i download the new run time from&lt;br&gt;&lt;a href="http://download.microsoft.com/download/1/1/1/1116b75a-9ec3-481a-a3c8-1777b5381140/vcredist_x86.exe"&gt;http://download.microsoft.com/download/1/1/1/1116b75a-9ec3-481a-a3c8-1777b5381140/vcredist_x86.exe&lt;/a&gt;&lt;br&gt;and that is it&lt;br&gt;it works :)&lt;br&gt;i don't know who i should blame for this wasted time&lt;img src="http://spellcoder.com/aggbug.aspx?PostID=9786" width="1" height="1"&gt;</content><author><name>Hossam</name><uri>http://spellcoder.com/members/Hossam.aspx</uri></author></entry><entry><title>Game Development</title><link rel="alternate" type="text/html" href="http://spellcoder.com/blogs/hossam/archive/2007/06/21/7319.aspx" /><id>http://spellcoder.com/blogs/hossam/archive/2007/06/21/7319.aspx</id><published>2007-06-21T11:19:00Z</published><updated>2007-06-21T11:19:00Z</updated><content type="html">hi every body,&lt;br&gt;&lt;br&gt;the chosen title for this post "Game Development" not "Game Programming" because making a game is not just about Programming or writing code.&lt;br&gt;&lt;br&gt;since that is the first post, here is a list some topics i will write about in this blog&lt;br&gt;&lt;ol&gt;&lt;li&gt;Game Programming&lt;/li&gt;&lt;li&gt;Game Engines&lt;/li&gt;&lt;li&gt;3D Programming&lt;/li&gt;&lt;li&gt;3D Modling&lt;/li&gt;&lt;li&gt;Optmization&lt;/li&gt;&lt;li&gt;2D Graphics&lt;/li&gt;&lt;li&gt;Simulation&lt;/li&gt;&lt;li&gt;Visualization&lt;/li&gt;&lt;li&gt;AI&lt;/li&gt;&lt;li&gt;Stereoscopic&lt;/li&gt;&lt;li&gt;Augmented Reality&lt;/li&gt;&lt;li&gt;Game development tools&lt;/li&gt;&lt;li&gt;WPF&lt;br&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br&gt;&lt;img src="http://spellcoder.com/aggbug.aspx?PostID=7319" width="1" height="1"&gt;</content><author><name>Hossam</name><uri>http://spellcoder.com/members/Hossam.aspx</uri></author></entry></feed>