PDA

Click to See Complete Forum and Search --> : windows c++ programs


tazjam
December 1st, 2001, 07:53 PM
i've tried making programs in c++ for windows, the hard way, not using a visual basic like interface. i realize that when you compile the program it's processor specific but then how do all these programs you go and buy run? is there something i'm missing? icq is/was written in c/c++, i know because my old copy crashed and it dumped code out, but one download will run on any computer regardless of the CPU type. i'd appreciate any help, i've only been working with windows programming for a little while.

freeOn
December 1st, 2001, 08:27 PM
Have you ever looked at the MFC app wizard. You should realize what's going on when it starts asking you questions. Use that as a reference guide to help you out. I personally just use the App wizards. It's less time consuming.

dspeidel
December 14th, 2001, 07:19 PM
If your writing it to be non-visual be sure to set up your project as console applications. If you want to use graphics/windows i would recommend using the MFC wizard (see previous post)

oblio
December 14th, 2001, 07:52 PM
It is not 'processor specific' per say. When you compile a program on a P2 processor, it won't only work on other P2's, it will run on all intel PLATFORMS. C++ is PLATFORM SPECIFIC, if compiled on an Ultra Sparc processor, it will run on a great deal of Ultra Sparc processors, not just the one it was compiled on. I'm not sure how this exactly related to hand coding windows API calls, maybe you can be more specific.

Manish
December 28th, 2001, 10:33 PM
Agree with oblio. Just compile your C++ code, and what you should be worried about is your code running on older versions of Windows...not processors. Make sure you use Win32 API calls that are present in older Windows versions too....or try substituting them as the situation demands. e.g. Windows 2000 includes a lot of new API calls which earlier versions don't support.

intruder
January 3rd, 2002, 10:05 AM
Originally posted by Manish
Agree with oblio. Just compile your C++ code, and what you should be worried about is your code running on older versions of Windows...not processors. Make sure you use Win32 API calls that are present in older Windows versions too....or try substituting them as the situation demands. e.g. Windows 2000 includes a lot of new API calls which earlier versions don't support.


hello manish,
my name is bhargav and i am also from india(bombay) .
i am working as a system programmer with C and UNIX but have started just three months back and hence does not know C in that deep.
i have heard that we can embed or attach an .exe file with a jpg image. i asked one of my friend and he told me that this is done in C . he told me that u have to append the exe file to the image but first have to convert the format of exe as that of image. he laso don't know about this. i don't know exactly how to go about it.
can u tell me how to do that...i willl be very grateful to u..

thank u ...waiting for your reply...

bhargav...

intruder
January 11th, 2002, 12:39 PM
ohhh no answers on this..yet....pls anybody....

just pushing this up......

intruder...

cybermonk
August 12th, 2003, 03:01 PM
what exactly do you mean by embedding an exe in a jpg file. To the best of my knowledge this cannot be done!! Probably thats why nobody's talking!

antionline_76
August 18th, 2003, 02:15 PM
It's not what you write or how you write. It's the way you write.

myhk
August 18th, 2003, 07:52 PM
yes i do
help yun