Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - duduphysicist

Pages: [1]
1
Sorry, I typed it wrong, I'm passing the font by reference. I got the error, was forgetting to initialize the font :p  Thanks!

2
General / Access violation on initializing sf::Text and, may I ask a favor?
« on: November 03, 2012, 05:36:10 pm »
Hello!
I'm a begginer, in fact that's my first real project; it's a birthday card to one friend (it's TODAY in fact...) and I am having some problems with access violations. I'm using Visual Studio 2012 under windows 7, I will try to upload it somewhere, could someone give a look to help me? The error ocurrs on the constructor of my message class, on the Text constructor:

Message::Message(string text, Font font)
     : message(text,font) // 'message' is sf::Text; the debugger brought me there
{
      // Other initializations
}

Thanks in advance!

Pages: [1]