I've had SOME success getting rid of compiler errors putting this macro redefinition in the project settings WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 but I'm still getting the message C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\stdlib.h(256): error C2381: 'exit' : redefinition; __declspec(noreturn) differs C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Windows.h(24): fatal error C1012: unmatched parenthesis : missing ')' This only happens when I try to open graphics projects using glut. Any ideas?:~ Normality is a weakness...
adonisv
Posts
-
WINVER and Graphics projects using glut -
wincrypt.h?Well I tried that with a project having only one source file and no stdafx.h and it didn't work. Normality is a weakness...
-
wincrypt.h?Where do I put these declarations? I put them in wincrypt.h and in winbase.h. Still no luck...:(( Thanks for your help. Normality is a weakness...
-
wincrypt.h?I keep getting compiler errors from this file wincrypt.h :confused: C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinCrypt.h(249): error C2501: 'HCRYPTPROV' : missing storage-class or type specifiers I've downloaded tutorials from this site..http://www.ultimategameprogramming.com/ The open gl tutorials for windows. :sigh: Normality is a weakness...
-
Character comparison NIGHTMAREWell, none of those solutions worked. pToken 0x00325360 {m_id=0xfffffcf7 m_name=0x003253c8 "–" m_eType=None ...} This is what is showing up in the debugger. Am I comparing a character here or not. It keeps failing pretty consistently. It looks like a string. Normality is a weakness...
-
Character comparison NIGHTMARENice solution, thanks! :-> Normality is a weakness...
-
Character comparison NIGHTMAREAny reason why this comparison should fail, CONSISTENLY??? Assuming the character at pToken->GetName()[stringIndex] is a - ???? :confused: else if (result = strchr("-",pToken->GetName()[stringIndex])) { // Equals Sign Operator = CNode::Minus; szIdString = "Minus"; bIsSymbol = true; } My other comparisons are working for semicolon and equals, for example. else if (result = strchr(";",pToken->GetName()[stringIndex])) { // Semicolon Operator = CNode::Semicolon; szIdString = "Semicolon"; bIsSymbol = true; } else if (result = strchr("=",pToken->GetName()[stringIndex])) { // Equals Sign Operator = CNode::Equals; szIdString = "Equals"; bIsSymbol = true; } I'm completely stuck on this... :~ Normality is a weakness...
-
Add a CTreeCtrl to a CTabCtrlHow do I add a tree control to the second or third tab of a tab control in c++? :doh: Normality is a weakness...
-
Has anyone used the SpareLib++ code?I downloaded their library package and attempted to make a project but my compiler complained that I was missing header files and I was. I have not been able to find the missing files or a work around. Has anyone successfully used this library? :doh: Sparselib++ Normality is a weakness...
-
Common Languge Runtime Debugging ServicesActually you are close, we figured it out. My program is using an Access database via a datasource connection. When the program begins to load, it attempts to connect to the datasource. Unfortunately the connection path is hardcoded and the installation computer did not have the same directory structure. So when the program started it could not find it's datasource. We changed the path and moved the database to the right directory and it worked. Ahhhh engineering! :-D Normality is a weakness...
-
Common Languge Runtime Debugging ServicesAfter creating an application in C# that runs fine on my computer and another developer's computer, we included it in an InstallShield project. When we try to run it we see the message box saying: X| Common Languge Runtime Debugging Services Application has generated an exception that could not be handled. Process id=0xb3c(2876), Thread=0xb40(2880) Click OK to terminate the application. Click CANCEL to debug the application. I've created a Release version but that didn't seem to matter. We have another program that's written in .NET that works fine. I've seen many postings on this error on the net but no solutions. Any ideas? :doh:
-
Is there a spawnlp function in c#?It's gone from C++ .NET apparently... _spawnlp, _wspawnlp Create and execute a new process. int _spawnlp( int mode, const char *cmdname, const char *arg0, const char *arg1, ... const char *argn, NULL );
-
Is there a spawnlp function in c#?Or something similar? :^)
-
Rotate Flip Image isn't working:->
-
Rotate Flip Image isn't workingI'm just trying to flip an image with the built in rotate flip function. I've put it in a case switch which gets called then I push a radio buttion. The function is getting called but nothing is happening! :( I push the nintey degrees flip radio button to set a class variable case to 0.
private void NinetyDegrees_CheckedChanged(object sender, System.EventArgs e) { this.m_iCase = 0; }
Then a push a button called transform image to call this switch.private void TransformImage_Click(object sender, System.EventArgs e) { switch (this.m_iCase) { case 0 : MainPictureViewer.Image.RotateFlip(RotateFlipType.Rotate90FlipNone); break; case 1 : MainPictureViewer.Image.RotateFlip(RotateFlipType.Rotate180FlipNone); break; case 2 : MainPictureViewer.Image.RotateFlip(RotateFlipType.Rotate270FlipNone); break; //....you get it. } }
Nothing happens... :(( -
Training CardsHas anyone seen a good tutorial on "training cards?" :omg:
-
Fun with compiler errorsThat actually gave me more errors. :doh: Where would you suggest putting this macro in the project settings? Under which tab?? :~
-
Fun with compiler errorsOk I'll try that thanks... :-D
-
Analyzing Kerry's acceptance speech...When we talk about "removing BS," are we including the "abstinence only," BS and the refusal to teach evolution? What about teaching "sex education?" Would this include the reinstatement of the P.E. class "dodgeball?" :omg: What is "exceptional student acheivement?" If I'm a really good at tests, going in, does the teacher get a bonus? Don't you mean "applied knowledge" not just great SCORES? I agree with your view on sports, its really just glorified P.E. :~
-
Analyzing Kerry's acceptance speech...What happens to the kids who don't get vouchers? :omg: What do we do with the schools that are "left behind," turn them into WalMarts? :~