Friday, September 11, 2009

OGRE, Visual studio and CEGUI

Today i spent whole day on setting up OGRE and Visual studio on my account.
This was highly frustrating experience. I am a Java developer and usually prefer Eclipse as my IDE. Eclipse is really simple and intutive in its setting. I found Visual studio to be highly complex and ridiculous at some points.

Just to mention, whenever i create a new project my old projects are automatically closed. If i want to keep both of them open then i need to put them in same solution scope which is poor. Moreover all the files are dumped in the same folder and i need to create folder in the actual disc location to put some structure to the application.
I don't see the use of filters as they just get flat when i open the actual project location.

Will keep you posted on this.

Cabinate files .. Invoking local files from Html page

I was stuck at work as i had to find some way so that i can execute local file system files from the application running in web browser.
started googling and my collugue stumbled across the concept of .cab file and Object tag in html page. As brwoser just understands few mime-type so i was not sure if it can execute some exeutable present on file system. I thought it might have security concerns and brwoser might not support that MIME type but we found that browser has this octet-stream mime type which can be used to execute the .cab file.

MSDN provide some platform SDK which can generate .cab file for set of executable. That can be used to generate .cab file. In order to run that file from browser, we need to change the browser's security settings. Browser's security settings can be changed or .cab file can be signed by using certificate generater program. One such program was also provided by microsoft MSDN library.

Finally we were able to generate cab file and execute a local file system application from a button click on HTML page.