|
knight
|
 |
« Reply #1980 on: April 02, 2011, 05:22:28 PM » |
|
here it is if (!(hWnd=CreateWindowEx(dwExStyle, windowName, //converted from a char* to a wchar_t* title, dwStyle | WS_CLIPSIBLINGS | WS_CLIPCHILDREN, 0, 0, WindowRect.right-WindowRect.left, WindowRect.bottom-WindowRect.top, NULL, NULL, hInstance, NULL)))
|
|
|
|
|
Logged
|
|
|
|
|
mcc
|
 |
« Reply #1981 on: April 02, 2011, 11:48:04 PM » |
|
Can't play Super Meat Boy. Writing documentation.
|
|
|
|
|
Logged
|
|
|
|
|
Average Software
|
 |
« Reply #1982 on: April 03, 2011, 07:00:02 AM » |
|
here it is if (!(hWnd=CreateWindowEx(dwExStyle, windowName, //converted from a char* to a wchar_t* title, dwStyle | WS_CLIPSIBLINGS | WS_CLIPCHILDREN, 0, 0, WindowRect.right-WindowRect.left, WindowRect.bottom-WindowRect.top, NULL, NULL, hInstance, NULL)))
Show me the declaration of windowName. If your system is demanding unicode, it should be something like: const wchar_t *const windowName = L"my_window_class";
|
|
|
|
|
Logged
|
|
|
|
|
st33d
Guest
|
 |
« Reply #1983 on: April 03, 2011, 07:01:45 AM » |
|
Can't play Super Meat Boy. Writing documentation.
Can't play Super Meat Boy. Own a mac.
|
|
|
|
|
Logged
|
|
|
|
|
wademcgillis
Guest
|
 |
« Reply #1984 on: April 04, 2011, 05:28:26 AM » |
|
Can't play Super Meat Boy. Writing documentation.
Can't play Super Meat Boy. Own a mac. I don't play Super Meat Boy, but I could. Own a mac. Bootcamp-ing Vista. I like it better.
|
|
|
|
|
Logged
|
|
|
|
|
st33d
Guest
|
 |
« Reply #1985 on: April 04, 2011, 05:41:35 AM » |
|
I fail to see how using Vista on a Mac is an improvement.
|
|
|
|
|
Logged
|
|
|
|
|
Skomakar'n
|
 |
« Reply #1986 on: April 05, 2011, 09:55:52 PM » |
|
I fail to see why anyone would use Vista in any computer.
|
|
|
|
|
Logged
|
|
|
|
|
mcc
|
 |
« Reply #1987 on: April 05, 2011, 10:36:30 PM » |
|
I fail to see why anyone would use Vista in any computer.
Obviously, to test whether your software is compatible with Vista.
|
|
|
|
|
Logged
|
|
|
|
Ludophonic
Level 1
|
 |
« Reply #1988 on: April 05, 2011, 11:10:28 PM » |
|
Wasted hours trying to figure out why my project dependencies in visual studio 2010 weren't working and I was getting link errors. Just discovered that they changed the way it works and dependencies don't link automatically anymore. Despite there being a linker option called Link Library Dependencies.
I also notice they finally got around to re-writing the C++ parts of the visual studio UI in managed code. Now I can enjoy a spinning ring randomly pausing everything for a couple seconds when clicking on a tab just like my C# mates. blah.
|
|
|
|
|
Logged
|
|
|
|
|
JMickle
|
 |
« Reply #1989 on: April 06, 2011, 02:52:00 AM » |
|
I fail to see why anyone would use Vista in any computer.
Obviously, to test whether your software is compatible with Vista. is it even worth it? if someone uses vista, do you want them playing your game?
|
|
|
|
|
Logged
|
|
|
|
|
bateleur
|
 |
« Reply #1990 on: April 06, 2011, 03:26:47 AM » |
|
if someone uses vista, do you want them playing your game? Yes, definitely. Just because someone's using it, doesn't mean they like it. The most likely reason is that their pooter came with Vista. Modern machines don't need upgrading often. There will still be a significant section of the market with Vista machines five years from now.
|
|
|
|
|
Logged
|
|
|
|
|
wademcgillis
Guest
|
 |
« Reply #1991 on: April 06, 2011, 04:26:57 AM » |
|
if someone uses vista, do you want them playing your game? Yes, definitely. Just because someone's using it, doesn't mean they like it. The most likely reason is that their pooter came with Vista. Modern machines don't need upgrading often. There will still be a significant section of the market with Vista machines five years from now. I have three Windows install discs in my house. Vista, XP, and 7. I installed 7 on the family computer, XP on my netbook, and Vista on my Mac. Plus, almost everything I do on the computer is either cross platform (Minecraft / Web browsing), or Windows only (VS 2010). The only reason I got a Mac was for XCode, so I could do Mac/iOS dev.
|
|
|
|
|
Logged
|
|
|
|
|
motorherp
|
 |
« Reply #1992 on: April 06, 2011, 10:22:53 AM » |
|
Causing myself future head-aches  // HACK-TASTIC - get ogl texture id private member // WARNING - make sure to check / re-calc member offset when getting new versions of library return *(unsigned int*)((char*)&m_sfImage + 40); Edit: Just added a static assert on library version so the compiler will remind me to check this if/when I upgrade my libraries. Much better  // HACK-TASTIC - get ogl texture id private member // WARNING - make sure to check / re-calc member offset when getting new versions of library STATIC_ASSERT(SFML_VERSION_MAJOR == 2 && SFML_VERSION_MINOR == 0); return *(unsigned int*)((char*)&m_sfImage + 40);
|
|
|
|
« Last Edit: April 06, 2011, 10:47:56 AM by motorherp »
|
Logged
|
|
|
|
|
st33d
Guest
|
 |
« Reply #1993 on: April 06, 2011, 02:00:23 PM » |
|
Today's amazing Flash CS4 bug:
I was not allowed to create a local variable called "shape" in a function block. It simply refused to be assigned to a value.
Yep. You read that right. I spent an hour confirming it. No local variables called shape allowed, everything else compiled fine.
Solution: roll back to last week's backup, compile identical code, problem vanishes.
After that a completed game I've done suddenly exhibits an error on only my boss's computer and on no other. Evidently a Flash Player version bug.
I will find the man at Adobe responsible for CS4 and I will skin his genitals before stamping on them with boots made of salt.
|
|
|
|
|
Logged
|
|
|
|
|
st33d
Guest
|
 |
« Reply #1994 on: April 07, 2011, 08:30:20 AM » |
|
Finally an answer: http://bugs.adobe.com/jira/browse/ASC-3620Vector.unshift is broken in 10.0 Which means I have to refactor all use of Vector.unshift to Array.unshift or else I'm going to be plagued by bug reports from users who don't update their Flash Player like my boss. AAARRRRGGGHHHHH!!!!
|
|
|
|
|
Logged
|
|
|
|
|