From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: jblazi Newsgroups: gmane.lisp.guile.bugs Subject: Runtime error (already posted to the main group, sorry) Date: Thu, 14 Nov 2002 14:56:39 +0100 Sender: bug-guile-admin@gnu.org Message-ID: <200211141456.39504.jblazi@gmx.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1037298401 7020 80.91.224.249 (14 Nov 2002 18:26:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 14 Nov 2002 18:26:41 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18COhK-0001of-00 for ; Thu, 14 Nov 2002 19:26:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18COio-0003LX-00; Thu, 14 Nov 2002 13:28:10 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18CLk7-0000fX-00 for bug-guile@gnu.org; Thu, 14 Nov 2002 10:17:19 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18CLjz-0000eU-00 for bug-guile@gnu.org; Thu, 14 Nov 2002 10:17:14 -0500 Original-Received: from mail.gmx.net ([213.165.64.21]) by monty-python.gnu.org with smtp (Exim 4.10) id 18CLjy-0000eF-00 for bug-guile@gnu.org; Thu, 14 Nov 2002 10:17:10 -0500 Original-Received: (qmail 26813 invoked by uid 0); 14 Nov 2002 13:45:53 -0000 Original-Received: from dsl-212-144-223-041.arcor-ip.net (HELO linux) (212.144.223.41) by mail.gmx.net (mp006-rz3) with SMTP; 14 Nov 2002 13:45:53 -0000 Original-To: bug-guile@gnu.org X-Mailer: KMail [version 1.4] Errors-To: bug-guile-admin@gnu.org X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GUILE, GNU's Ubiquitous Extension Language List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.bugs:566 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.bugs:566 I getting the following runtime error when my code is running: ERROR: In procedure eval-string: ERROR: Wrong type argument in position 1: 1050843 Here is the code. I use Cygwin on Win2K and wxWindows and the code is in = a cpp=20 file. static SCM test_function(SCM n) { printf("Die Zahl ist %d\n",SCM_INUM(n)); return SCM_UNSPECIFIED; } bool KApp::OnInit() { wxFrame *frame =3D new wxFrame((wxFrame*)NULL,-1,"Konstruktionsprogramm= "); widget =3D new MainWidget(frame); setupMenus(); frame->Show(true); SetTopWindow(frame); dateiname =3D NULL; geo_init(); scm_init_guile(); scm_c_define_gsubr("test_function", 1, 0, 0,(SCM (*)())test_function); scm_eval_string((scm_unused_struct*)"(test_function 4)"); return true; } Can anybody help me? TIA, --=20 Janos Blazi _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://mail.gnu.org/mailman/listinfo/bug-guile