Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!

Kostikov Stas

Member Since 03 Jul 2007
Offline Last Active Mar 15 2014 01:16 PM

Topics I've Started

Strange behavior of operator type

28 February 2014 - 09:00 AM

I wanted to make that my class can be converted to custom type: 

#include <iostream>
#include <string>

class SomeClass
      template< typename type >
      operator type() 
          return type();

int main()
    std::cout << "Hello, world!\n";
    SomeClass sc;
    std::string str = sc;
    return 0;   

This code is correct, compiled on gcc, vc 2010 but when i tried to build it on 2012 i get this error:


1>e:\test\operatortest\operatortest.cpp(22): error C2440: 'initializing' : cannot convert from 'SomeClass' to 'std::basic_string<_Elem,_Traits,_Alloc>'
1>          with
1>          [
1>              _Elem=char,
1>              _Traits=std::char_traits<char>,
1>              _Alloc=std::allocator<char>
1>          ]
1>          No constructor could take the source type, or constructor overload resolution was ambiguous
I missed something? Is there is some change in standart ? Or it just bug in compiler?

Problems with OpenSL ES

07 February 2014 - 04:11 AM



I have game where is audio subsystem written with OpenSL ES. It's works fine until 

i try to show dialog window, As soon as i show dialog sound is stop playing.


After show dialog activity recieve onWindowFocusChanged( false ).


I tried to set audiofocus, run dialog window in same activity. For now I'm out of ideas.

Can someone give me some ideas where I can take a look and what to try?

Need set up Screen Saver from game (Mac Os X)

12 January 2012 - 04:52 AM

Is it possible to set up Screen Saver from game? I know how do this in Windows but now need do the same in Mac Os.

PSP Development license

14 November 2011 - 07:44 AM

Just curious there exists some site or mail address where i could learn about license terms?
I found only postal address but before start i want to be sure i have all that neccessary.

Lua on Bada.

24 September 2011 - 11:19 AM

I have one problem, we porting our engine on Bada and there everything fine except Lua. Lua required exceptions or setjmp/longjmp functions. These functions didn't exists on bada.
There exists some solution?