Stratos: Punto de Encuentro de Desarrolladores

¡Bienvenido a Stratos!

Acceder

Foros





Menu

Mostrar Mensajes

Esta sección te permite ver todos los posts escritos por este usuario. Ten en cuenta que sólo puedes ver los posts escritos en zonas a las que tienes acceso en este momento.

Mostrar Mensajes Menu

Temas - erkka

#1
CRM32Pro / no console output / netchat-demo
18 de Diciembre de 2010, 06:44:17 PM
Hello again  :)

I'm running windows; installed dev-c++ and crm32pro-package.
I manage to compile and run some of the basic examples,
so this far it is all way much better than with vc++.

But I'm having problems with netchat-demo. Even when I run from the
terminal the ready-made netchat.gnu.exe from the examples, it says nothing.
From the source code I assume that it should print help on console screen,
if  I run it with no command-line parameters.

I tried following:
 netchat2.gnu > test.txt

and it succesfully prints all the help into text.txt - file.

There must be something very basic I'm now missing, and any help is greatly welcomed  :D

---

EDIT: My brain-fart, maybe... Instead of trying the ready-made .exe, I opened the source with dev-c++,
and checked the project options. It had "type : Win32 GUI" - I changed that to "Win32 console",
recompiled the source, and magically it managed to output text to console screen.  :D
#2
CRM32Pro / with MS VC++ 2010 Express
18 de Diciembre de 2010, 04:47:41 PM
Hello there,

I'm an old fart looking for easy-go C++ IDE for simple game-programming.
CRM32Pro was the library I chose, as it seems to best suit my needs.

Then I installed Microsoft Visual C++ 2010 Express -edition, as it was easy to obtain.

Unfortunately I'm having hard times to succesfully compile and run CRM32Pro examples.
After several trials and errors I managed to get the GUI-example to compile and link with no errors.
But when I run it, it opens a blank window and complains about access violation.

[
EDIT:

I tried both BasicCode and NetChat -examples. I succesfully compiled them in debug and release -modes.
But when I run it, with or without debugger it crashes in the very beginning, complaining

 Unhandled exception at 0x004016b8 in crmtest5.exe: 0xC0000005: Access violation reading location 0x0802f9d0.

I closed VC++ and ran the exe from command line prompt - same result.
I currently have no antivirus installed - just windows firewall. (I remember that there was an issue with Comodo, as it didn't like
Lazarus debugger. So comodo had to go.)

I googled for quite a while, and tried altering many of the project options in VC++, always the same result.
So, please, anyone - are you succesfully using crm32pro with visual studio 2010 express edition ?

]

D'oh.

Anyone out there willing to help me out?

Also, nothing forces me to use M$-products, so if there is a smoother alternative around, please do recommend.

-Erkka





Stratos es un servicio gratuito, cuyos costes se cubren en parte con la publicidad.
Por favor, desactiva el bloqueador de anuncios en esta web para ayudar a que siga adelante.
Muchísimas gracias.