|
how did that guy know god is a CPian. now he'll tell everyone god's first name is chris. and all this while people thought it was antony
Nish
Sonork ID 100.9786 voidmain
www.busterboy.org
If you don't find me on CP, I'll be at Bob's HungOut
|
|
|
|
|
Nish guess what God has a Sonork ID too but you'll have to guess it though !
Now I bet this all puts your
Beliefs in doubt Nish !
Regardz
Colin J Davies
Sonork ID 100.9197:ColinI live in Bob's HungOut now
Click here for free technical assistance!
|
|
|
|
|
out here in india half the people thing it's a cow. donno abt the rest of the world. here they call it Nandi. even have temples for that.
Nish
Sonork ID 100.9786 voidmain
www.busterboy.org
If you don't find me on CP, I'll be at Bob's HungOut
|
|
|
|
|
It doesn't make sense. you can't worship your god and eat it too.
here the god has sunglasses on. does his own light bothers him?
|
|
|
|
|
It's not just Hindus who eat and believe thing for their God.
What about those Christians with the Bread and Wine.
This is my body ... etc
Now thats like a sympathetic cannabilistic hangup !
Regardz
Colin J Davies
Sonork ID 100.9197:ColinI live in Bob's HungOut now
Click here for free technical assistance!
|
|
|
|
|
You're thinking of Catholics - they call that the transsubstatiation, or something.
The (unleavened) bread and (unfermented) wine are a *reminder* of Christ's body and blood, they don't become it.
Christian
After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
Sonork ID 100.10002:MeanManOzI live in Bob's HungOut now
|
|
|
|
|
Anyone know of a way of making GDI draw code go fast?
The project specs state that we can't use DirectX or OGL, despite the fact that they specify that we need an $800 video card...
Anyways, we're doing full screen isometric views of some ultrasonic data. Right now, I've avoided using GDI LineTo and just replaced all the draw code with direct memory access into a DIB. Then we blit the DIB where we need it.
Is there a better way? Faster? I've got it going pretty fast, but I'd love to see if it can go faster.
J
J
|
|
|
|
|
Did they say you can't use GDI+ ? Do you need to run on W95 ?
Christian
After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
Sonork ID 100.10002:MeanManOzI live in Bob's HungOut now
|
|
|
|
|
I thought GDI+ was something newish. Is is available on NT4? If so, what would it give me that GDI doesn't?
Re: 95, I only need to run on NT4. They'll probably upgrade to 2000 or something over the next few years, but definitely not right away.
J
J
|
|
|
|
|
You can actually get good frame rates using DIBSections or SetDibBitsToDevice(). The main problem with GDI is you do not have access to the VSync which means you cannot prevent tearing.
Chris Hafey
|
|
|
|
|
hello, how do i make a dynamic link library????
do i just put the function prototypes in a .h file and the functions in a .cpp file??? anything else i need to do???? please help, i'd like to use dll's, they seem handy
Or perhaps, does anyone know a good, simple tutorial on making a dynamic library?
Thanks
Kuniva
|
|
|
|
|
You need to export the fucntion.
using extern "C" __declspec( dllexport ) in the definition of the function (in your cpp file)....
For example
extern "C" __declspec( dllexport ) BOOL MyFunction(LPSTR lpstrVal)
{
.
.
.
}
Best Regards!!!
Carlos Antollini.
Sonork ID 100.10529 cantollini
|
|
|
|
|
It is very easy. Use new project wizard of visual c++ to create a MFC AppWizard(dll) project. That is all you need to do.
|
|
|
|
|
so i've spent well over $200 on books so far trying to get some understanding of VC++6 to no avail. i've taken a course on it and still no gain. does anyone out know of a book that will actually help me learn it or do they all read like stereo intructions? ultimately i want to get into writing my own games so i started with the course, it helped a little but now i'm finished the course and the only thing i can code without copying step by step instructions from a book is an mfc messagebox. it's pitifull!! the first book i got is beginning vc++6 by ivor horton, it seems to explain alot but nothing really partaining to game construction, the second book was isometric game programming with directx 7, it would appear it does the trick but then i stumble onto a website, gamedev.com and read. it tells me that i won't learn a thing until i can make a simple tetris and a couple of other simple? games. the iso book starts with breakout which is the last step at gamedev. it's recomended book is windows game programming for dummies, so i get that and start reading. it's old and according to it windows 98 is the latest version. the code inside works fine if i copy the included files into my projects but when trying to write the code directly i get a ton of errors. so now i'm thinking of gettin vc6 for dummies to see if that will help and i thought i'd stop by here first to see if anyone had a better suggestion.
thanx if anyone can help out. i heard squirrel's game programming book is good, anyone know?
|
|
|
|
|
hey. go to school -> http://www.digipen.edu
it's where i went. you'll learn exactly what you want....
i could only afford 2 years... $6000 a semester) and it's in Redmond, WA.
sorry about your luck... you probably shouldnt have gotten Beginning VC++ 6.0.... i would have suggested beginning C by Ivor Horton, which was amazing and helped me alot when i was starting from scratch 3 years ago, but you probably think Ivor sucks now. You should play with structs and classes alot more than you probably have... try just doing a text based game in DOS or something and design some good efficient structs or classes and try not to worry about pictures and stuff quite yet until you've got C or C++ down pretty decent, i struggle with having things just pictured in my head (at least with code) just from reading about how to do things. feel free to show some error messages too though, i'm sure i've encountered just about all of them 10 times trying to learn C, and libraries and header files...
SHABBA!!
|
|
|
|
|
Tricks of the Windows Game Programming Gurus is a great beginner game programming book.
But I'd suggest you learn some console C++ programming and some other windows stuff before tackling a game.
Christian
After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
Sonork ID 100.10002:MeanManOzI live in Bob's HungOut now
|
|
|
|
|
My suggestion is that you play around with VC, and try to fix any errors you don't understand at first. Make sure that you get a grip on the windows API before trying to use DirectX. It is much simpler to learn to program by trial and (finding and fixing) error than by reading any book. When you have a basic understanding of windows, you could start blitting and flipping using OpenGL (somewhat simpler to learn) or DirectX (cooler and faster).
Another thing - if you have taken prevoius programming courses, forget anything they might have said about clean code. Game programming is not clean - it is fast. Read "T&T of the game programming gurus" from SAMS. It is one of few gameprogramming books that are affordable and really useful for beginners.
Hope to see your name on the box of the next bestselling game;)
/moliate
|
|
|
|
|
my program gets a assertion error when i try to fire an event from my (made with VC) OCX, the reason why i get it is because at the beginning of a method in the ocx, i make a thread so multiple controls can run at once, and i think what the event is doing is trying to Fire the event, but since it's in a new thread, there isnt that control to catch the event... ? Am i right?
But how do i fix it!?! CWinThread? I NEED this to be multithreaded, is there any way to make sure the event gets fired to the correct thread? Am I way off base? Help me!!!!!
<sigh> desperate.
|
|
|
|
|
Hi!
I've written a shell extension which allows you to browse your Linux ext2 filesystem from windows explorer on NT/2000. A new icon will pop up below My Computer.
It has full read-capability, you can copy and paste from your Linux filesystem to C:, D: or for example to a network resource.
Since not a single write command exists in the code, it is impossible for the extension to destroy anything.
The reason for writing this letter is that it needs beta testing. If you are interested, mail olowo726@student.liu.se. If there is any interest, I will release it as freeware in the future.
//Olof Wolgast
|
|
|
|
|
When compiling a regular dll in Beta2, it gives the following error:
error C2065:'ILS_NORMAL':undeclared identifier c:\program Files\...\atlmfc\include\afxcmn.h line 1336
It seems 'ILS_NORMAL' is not defined in any of the header files in beta2. It is more like ILS_??????? has something to do with the internet than with the image lists. Defining ILS_NORMAL as 0x0 (re: cmnctl.h) at the top of afxcmn.h makes the compile go through, but are there better solutions?
|
|
|
|
|
#define ILS_NORMAL 0x00000000
#define ILS_GLOW 0x00000001
#define ILS_SHADOW 0x00000002
#define ILS_SATURATE 0x00000004
#define ILS_ALPHA 0x00000008
from commctrl.h in RC1...
- Anders
Money talks, but all mine ever says is "Goodbye!"
|
|
|
|
|
You mean to say to include commctrl.h besides afxcmn.h?
|
|
|
|
|
Ernest wrote:
You mean to say to include commctrl.h besides afxcmn.h?
Yep, the following is from the latest Platform SDK (in the buttom it says what header to include)
ILS_NORMAL (0x00000000)
The image state is not modified.
ILS_GLOW (0x00000001)
Adds a glow effect to the icon, which causes the icon to appear to glow with a given color around the edges. The color for the glow effect is passed to the IImageList::Draw method in the crEffect member of IMAGELISTDRAWPARAMS.
ILS_SHADOW (0x00000002)
Adds a drop shadow effect to the icon. The color for the drop shadow effect is passed to the IImageList::Draw method in the crEffect member of IMAGELISTDRAWPARAMS.
ILS_SATURATE (0x00000004)
Saturates the icon by increasing each color component of the RGB triplet for each pixel in the icon. The amount to increase is indicated by the frame member in the IMAGELISTDRAWPARAMS method.
ILS_ALPHA (0x00000008)
Alpha blends the icon. Alpha blending controls the transparency level of an icon, according to the value of its alpha channel. The value of the alpha channel is indicated by the frame member in the IMAGELISTDRAWPARAMS method. The alpha channel can be from 0 to 255, with 0 being completely transparent, and 255 being completely opaque.
Constants Information
Header commctrl.h
Minimum operating systems Windows XP
- Anders
Money talks, but all mine ever says is "Goodbye!"
|
|
|
|
|
|
Does anyone know how to fix the bars of a CSplitterWnd bar so the user cannot resize them? I can't find any info in the MSDN, CP, or CodeGuru. Thanks for any help.
Mark
Sonork ID 100.10778:Waxy
------------------------------------------------
I am not discouraged because every wrong attempt discarded is another step forward
-- Thomas Edison --
|
|
|
|