Search found 11 matches

by charl3s7
Wed Mar 06, 2013 3:41 am
Forum: Beginners Help
Topic: [Solved] Disable CMD console
Replies: 15
Views: 2078

Re: Disable CMD console

#include <windows.h>

use

Code: Select all

 
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR CmdLine, int nCmdShow) 
 
instead of

Code: Select all

 
int main() {
 
by charl3s7
Fri Apr 15, 2011 8:11 pm
Forum: Beginners Help
Topic: EventListener Issue
Replies: 3
Views: 387

So how could I potentially go about fixing it?
by charl3s7
Fri Apr 15, 2011 7:46 pm
Forum: Beginners Help
Topic: EventListener Issue
Replies: 3
Views: 387

EventListener Issue

When I add the event listener, App->run() breaks.

Code:

main.cpp:
#include "Device.h"

int main()
{
Device * D = new Device(dimension2du(800,600), L"My Render Window", EDT_DIRECT3D9, 4U);

if(D)
D->BeginLoop();
return 0;
}

Device.h:

#pragma once
#include <irrlicht.h>

#include <Windows.h ...
by charl3s7
Tue Apr 12, 2011 11:57 pm
Forum: Beginners Help
Topic: EventListener
Replies: 6
Views: 501

No, I didn't delete anything. Once I instance the class, it breaks.
by charl3s7
Tue Apr 12, 2011 10:51 pm
Forum: Beginners Help
Topic: EventListener
Replies: 6
Views: 501

I was only testing the event receiver

EventReceiver:

class EventReceiver : public IEventReceiver
{
virtual bool OnEvent(const SEvent & event)
{
return false;
}
};


And it would crash in absolutely random spots.

Once here:


IrrXMLReader * Xml = createIrrXMLReader("main.xml");
while(Xml ...
by charl3s7
Tue Apr 12, 2011 10:32 pm
Forum: Beginners Help
Topic: EventListener
Replies: 6
Views: 501

EventListener

When I insert create an EventListener, I get random memory errors all over the place. It only makes an error when I initialize the class. Help? :/
by charl3s7
Sat Oct 09, 2010 4:00 pm
Forum: Project Announcements
Topic: irrWeatherManager 0.0.5 - weather system for Irrlicht
Replies: 100
Views: 74501

I can't get it to work!

It keeps giving me errors like 1>main.obj : error LNK2019: unresolved external symbol "public: void __thiscall irrWeatherManager::updateWeather(void)" (?updateWeather@irrWeatherManager@@QAEXXZ) referenced in function _main
by charl3s7
Thu Aug 12, 2010 8:18 am
Forum: Project Announcements
Topic: Water Demo - Now OpenGL and DX supported
Replies: 39
Views: 30568

Wow, that looks amazing!
by charl3s7
Mon Oct 05, 2009 1:32 am
Forum: Beginners Help
Topic: IrrXML : Help loading model
Replies: 1
Views: 294

IrrXML : Help loading model

Code:
while(xml && xml->read())
{
if(!strcmp("mainwindow",xml->getNodeName())){
messageText = xml->getAttributeValue("title");
fullscreen = xml->getAttributeValueAsInt("fullscreen");
}
if(!strcmp("mdl",xml->getNodeName())){
std::string map = xml->getAttributeValue("src");
IMeshSceneNode ...
by charl3s7
Mon Oct 05, 2009 1:30 am
Forum: Beginners Help
Topic: Irrlicht + Newton Game Dynamics
Replies: 4
Views: 747

I tried IrrNewt but it errors. D:

And thanks. :)
by charl3s7
Sat Oct 03, 2009 3:21 am
Forum: Beginners Help
Topic: Irrlicht + Newton Game Dynamics
Replies: 4
Views: 747

Irrlicht + Newton Game Dynamics

I'm having trouble making the world...

I just got it included successfully, but now I don't know how to like, make the world activated.

I did
NewtonWorld* nWorld = NewtonCreate(NULL,NULL);

But got the result:
main.obj : error LNK2019: unresolved external symbol __imp__NewtonCreate referenced ...