Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / For those who are incredibly lazy or cant get a VS 2005 project setup...

Author
Message
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 5th Aug 2006 12:50 Edited at: 5th Aug 2006 13:58
...I include my default testing project.

A couple of things to note about it :

* The SSE instruction set isn't activated. This is if you need to ship your program to an old machine. If this option is set, and the machine doesn't have SSE 1 or 2, it will crash.
* All optimisation is on, and its for Release mode. It seems to be the only mode that works (not that Debug mode is useful anyway).
* Its a 32-bit project. You cant use a 64-bit project unfortunately - GSDK is compiled to 32-bit libraries.
* Unicode is active. Whils GSDK is not unicode compatiable, it maybe useful for your own messages... or something... Its actually left over from when I was doing stuff on PDA's - unicode is the only option...

Come to the last Unofficial DBPro Convention (http://convention.logicstudios.net/)
Supplying "NO" since 1974...

Attachments

Login to view attachments
Zeal
22
Years of Service
User Offline
Joined: 10th Oct 2002
Location: Colorado Springs, CO
Posted: 5th Aug 2006 23:02
Quote: "(not that Debug mode is useful anyway)."


Boost array only does bounds checking in debug mode. Thats saved my ass more than once.

All you need is zeal
Miguel Melo
19
Years of Service
User Offline
Joined: 8th Aug 2005
Location:
Posted: 6th Aug 2006 01:08
Quote: "not that Debug mode is useful anyway"


Nick, you keep saying this... I really cannot see how anyone can debug in release mode with any amount of effectiveness. Do you rely solely on printf() debugging???

I have vague plans for World Domination
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 6th Aug 2006 01:08 Edited at: 6th Aug 2006 01:09
No, I use sprintf and MessageBox and/or dbText

Come to the last Unofficial DBPro Convention (http://convention.logicstudios.net/)
Supplying "NO" since 1974...
Miguel Melo
19
Years of Service
User Offline
Joined: 8th Aug 2005
Location:
Posted: 6th Aug 2006 01:12
Mate, that's dark ages stuff. How can anyone do without breakpoints with source debugging and variable watches in this day and age is beyond me.

I understand that a debug binary is different to the release and you can't always assume that something that works on debug will work on release. But for that I do occasional release builds to play around with an do sanity checks: I'd never use release mode while devaloping on a day in day out basis...

I have vague plans for World Domination
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 6th Aug 2006 01:38
Quote: "How can anyone do without breakpoints with source debugging and variable watches in this day and age is beyond me"

Quite easy really - had no need for variable watches or anything like that.

Come to the last Unofficial DBPro Convention (http://convention.logicstudios.net/)
Supplying "NO" since 1974...
Argon Knight
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Gastonia, NC, USA
Posted: 6th Aug 2006 07:25
Quote: "Quite easy really - had no need for variable watches or anything like that."


I take it then you've never worked on a project with 100+ files.
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 6th Aug 2006 12:04
And what do you think I do at work ? Currently 80 DLL workspaces, 30_+ executables and probably nearing at least half a million lines.

Come to the last Unofficial DBPro Convention (http://convention.logicstudios.net/)
Supplying "NO" since 1974...
Miguel Melo
19
Years of Service
User Offline
Joined: 8th Aug 2005
Location:
Posted: 6th Aug 2006 14:09
Well, you must have a brain the size of Kent then.

I would die if I only debugged via printf(). I only use that approach when having the debugger latched would interefere with results (threads, events etc).

For synchronous stuff I must admit my personal weakness of using all the wimpy facilities IDE's have provided since the early nineties.

I have vague plans for World Domination
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 6th Aug 2006 18:36
Quote: "Well, you must have a brain the size of Kent then"

But unfortunately no equivalent wages

Come to the last Unofficial DBPro Convention (http://convention.logicstudios.net/)
Supplying "NO" since 1974...

Login to post a reply

Server time is: 2024-11-19 07:27:39
Your offset time is: 2024-11-19 07:27:39