is there any one who can guide me how to make an exe programatically. hmmm, an example can be the exe generated of flash animation ...
what i want is a very simple thing to explain. i want to provide an option in my project to generate an executable file, that can provide the user all the viewing features. and then no more need to carry the software on the other machine.
clear?
i think it should be clear. so please any one who knows any thing about it, guide me.
Ahmed: having a mad soul...
<<-TAG: 3-D Architecture Guide (Sourceforge)->>
need help again.
What you should do is create an application that views a flash animation that is stored in a resource (like the standard resources like bitmaps and icons). I believe i read somewhere you can simply modify resources so i think you should look that up.
WWW.TREEPENGUIN.TK
WWW.TREEPENGUIN.TK
hmmm, a resourse DLL can be created and resources can be modified too. but this thing is a bit different, this is like injecting own code into an EXE. let me explain a little more. My Project is a modeling tool. a user can generate a model for its architecture(home etc...). the generated file can be opened only in TAG(My Project Name). what i want is provide an option to the user to generate an exe. and when any one runs that exe, he gets all the viewing features that tag provides(Drawing, modeling, walk through, etc...) with all the interactivity.In a broader sense, the generated exe will be an OpenGL+MFC based demo/program with user interactions through keyboard of menus. like in games a user can walk through architectures using keyboard or mouse. Difficult part is, i dont want to code each time complete openGL to provide an executable demo of architecture but i want it to be generated at runtime and carried away any where.
does this all makes any sense? or i should kill my wishes.
Ahmed: having a mad soul...
<<-TAG: 3-D Architecture Guide (Sourceforge)->>
does this all makes any sense? or i should kill my wishes.
Ahmed: having a mad soul...
<<-TAG: 3-D Architecture Guide (Sourceforge)->>
Well, as i said you could make a standard program that includes all that functions and all data stored in a recource (just a simple binary resource probably) and store it as some sort of dummy. When the user wants the exe, you can simply copy the file and then replace the default model (or world or however you''d call it) data with the requested. The program will automatically load the resource (which now contains the new data).
So, am i completely missing something or does it actually make sense?
So, am i completely missing something or does it actually make sense?
quote:Original post by pagal2k2
Difficult part is, i dont want to code each time complete openGL to provide an executable demo of architecture but i want it to be generated at runtime and carried away any where.
This is the part I don''t understand. What do you mean with "code each time complete openGL"? If you do as Tree Penguin said you''ll have to code two programs: the modeler and the viewer. Now, if you have made reusable code the viewer should be quite easy to code as you have loading/rendering/etc. functions done already. Basically it''s just writing a simpler UI.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement