Emu42 class registration failed


Hi all!

I have now, finally, got hold of a copy of Visual Studio and I am trying to compile the alpha version of Emu42 that was posted at this forum by Christoph Giesselink a few weeks ago.
However, although it all compiles fine it exits at one of the
very first lines of the code when it (I guess) tries to register the main window - and returns with the message: "CEMu42 class registration failed"

I know a fair bit of C/C++ but very little of specific windows programming so any hints of what can be wrong would be highly appreciated!?

Christoph says in his posting that "with additional work it
will be possible to use the MinGW package for it" - any clues
of what kind of work he is suggesting?

Best regards,
Erik Ehrling

(Please remove NOSPAM from my email address if you answer by email!)


I guess that I am doing something fundamentally wrong... the same thing happens when I try to build Emu48 from the source code ("CEmu48 class registration failed")...

Anyone that has successfully built Emu48 from the source code? What am I doing wrong?


Hello Eric,

I compiled Emu48 with MSCV++ v5.0 (SP3), v6.0 and .net (v7.0) without problems. The official binary distribution is compiled with v6.0 SP1. Some development I done with v6.0 SP5. The SP of the compiler doesn't matter.

I created Emu42 under v5.0 and v6.0 without problems. To your question about MinGW. The "additial work" is a new makefile, a modified Emu42.rc file, and a modified PCH.H file for the workarounds. For Emu48 I'm doing the additional work, the MinGW additional files can be found on my Emu48 homepage. The biggest problem of the MinGW compiler package is the resource compiler "windres". It's not "hust, arrgh" --- up to date.



Possibly Related Threads...
Thread Author Replies Views Last Post
  How do you reply to this? [What are the benefits of a graphing calculator outside of class?] Pier Aiello 12 1,444 08-28-2013, 07:34 AM
Last Post: Eddie W. Shore
  Update of Emu42 to v1.17 Christoph Giesselink 1 467 05-15-2013, 09:30 AM
Last Post: CompSystems
  Update of Emu42 to v1.16 Christoph Giesselink 2 577 10-30-2012, 05:39 PM
Last Post: aurelio
  2013 CES - free registration ends August 31 Eric Smith 3 612 08-15-2012, 08:58 AM
Last Post: Eddie W. Shore
  Emu42 v1.15 available Christoph Giesselink 3 668 05-30-2012, 01:46 AM
Last Post: Nick_S
  Repurposing the HP20b in an engineering class Peter Murphy (Livermore) 4 730 12-31-2011, 10:02 AM
Last Post: Marcus von Cube, Germany
  [WP34S] SLV returns "Failed" when it finds a root just fine. Les Wright 6 919 11-27-2011, 04:31 PM
Last Post: Paul Dale
  Emu42 for IoS / Android Vincent Weber 9 1,170 11-02-2011, 08:52 PM
Last Post: Howard Owen
  HHC2011 Registration List Now at 80 Jake Schwartz 1 445 09-12-2011, 08:36 PM
Last Post: Namir
  In class today Tommy 4 678 08-27-2011, 01:16 PM
Last Post: Walter B

Forum Jump: