Re: [racket] Windows FFI Problem

2015-01-16 Thread Ben Goetter
On 1/16/2015 11:00 AM, Lehi Toskin wrote: Good news is it's giving me a new error! Yay! "%1 is not a valid Win32 application.; errno=193" This is /the/ classical 32-versus-64-bit mismatch error. Most likely, once of the DLLs that your DLL in turn depends on is loading in the wrong flavor. B

Re: [racket] Windows build problems on 5.90.0.7

2013-08-17 Thread Ben Goetter
r skimmed "something something" text. Just go to the root of the repo and do a 'git submodule init' then 'git submodule update'. I think it would be helpful if these instructions were added to the install readme (unless it is there and I missed it). On Saturday, August

[racket] Windows build problems on 5.90.0.7

2013-08-17 Thread Ben Goetter
I apologize for the semi-clueless nature of this message. I know that Racket's been going through a lot of changes in the last few months. Rip van Winkle here is trying to come back up to speed. I did a fresh git clone, then built Racket's core on Windows with VS2008 via the script in racket

Re: [racket] Racket access 4 Assemblies

2013-02-02 Thread Ben Goetter
No. The FFI does not currently support CLR assemblies. On 2/1/2013 7:44 AM, herak...@gmx.de wrote: I have a question. Is it possible to acces an assembly for example Microsoft.SqlServer.Management.Smo.dll through racket? Racket Users list: http://lists.racket-lang.org

Re: [racket] Behavior of file-exists? and directory-list

2012-12-06 Thread Ben Goetter
On 12/6/2012 2:13 PM, Tim Nelson wrote: I'm stumped. I even tried to track directory-list to its source, but lost the scent in pre-base.rkt. pre-base.rkt makes my head hurt, too. It's in racket\src\racket\src\file.c. Ben Racket Users list: http://lists.racket-lang.org/u

Re: [racket] how can I save screen to a file?

2012-12-04 Thread Ben Goetter
You're going to have to synthesize a PrtSc keystroke and send that directly to the PC's keyboard driver. Take the code in Q240653 (http://support.microsoft.com/?kbid=240653) and translate it from VB to Racket's FFI. On 12/4/2012 6:02 PM, 김태윤 wrote: Hello, I am using DrRacket on Windows 7 I w

Re: [racket] 80-bit precision in Racket

2012-11-14 Thread Ben Goetter
Hugh: > (/ 10 6) 1.7 this is what SICP says will happen (pg 5) /First edition/ of SICP. Copyright 1985, thus predating even R3RS. The language has evolved somewhat since then. Do not take the contents of SICP as Scheme canon. Ben Racket Users list: http://lis

Re: [racket] unwrapping a list

2012-06-11 Thread Ben Goetter
(define-values (year month day) (apply values (regexp-split #rx"/" "2012/06/06"))) On 6/11/2012 12:24 PM, Jordan Schatz wrote: Is there a way to unwrap or explode a list? I don't see it in the docs, but it seems like it would be a common thing. Racket Users list: htt

Re: [racket] MysterX error message

2011-11-30 Thread Ben Goetter
e is actually the first one the list of available methods and its name is "Add". I was thinking that perhaps AutoCAD registered all types necessary to reach the "Layers" property but they forgot to register the type of "Layers". Is that the problem? Regards, José

Re: [racket] MysterX error message

2011-11-29 Thread Ben Goetter
That is TYPE_E_CANTLOADLIBRARY, and it indicates a problem with the registered typelib (or lack thereof). Precisely what object are you retrieving? Are you using win32 mysterx, or win64? Is the retrieved object win32, or win64? On 11/28/2011 1:37 AM, José Lopes wrote: Hello everyone, I am

Re: [racket] Poll: Does anybody besides Doug use 'plot'?

2011-10-01 Thread Ben Goetter
"plotz" On 10/1/2011 12:24 PM, Jay McCarthy wrote: I really like omgraph Jay On Sat, Oct 1, 2011 at 1:20 PM, Sam Tobin-Hochstadt wrote: On Sat, Oct 1, 2011 at 2:51 PM, Neil Toronto wrote: You know what would convince me the most? Find me a great name for the new library that contains the w

Re: [racket] Cross-compilation

2011-07-27 Thread Ben Goetter
On 7/27/2011 12:43 PM, Eli Barzilay wrote: Is there any real need to support pre-SP2 versions? IIRC, it's been a while since it went out, no? That service pack was released seven years ago; and indeed, Microsoft considers XP SP2 itself at end-of-life, unsupported for the last year. http://su

Re: [racket] Cross-compilation

2011-07-27 Thread Ben Goetter
On 7/27/2011 11:34 AM, Eli Barzilay wrote: Eli: Does the build use VS 2010? Yes. Is some security feature enabled that might inject uses of DecodePointer() into the code? There's nothing that I did explicitly. Also all the solution files are just converted from the older version and tidied up

Re: [racket] Cross-compilation

2011-07-21 Thread Ben Goetter
I would not expect an x64 distribution to run on ia32 Windows platforms. On 7/21/2011 8:41 AM, Robby Findler wrote: I think our intention is that a windows-created distribution should run on all windows platforms, tho, so maybe there is something fixable here. Robby On Thu, Jul 21, 2011 at 10:

Re: [racket] Racket and .NET

2011-06-22 Thread Ben Goetter
On 6/21/2011 6:40 PM, José Lopes wrote: Is there a way of interfacing with Racket from a .NET language? I would like to write a program in F# to use the libraries I have in Racket. Try loading mzcom via F#'s COM interop. Something like let racket = Activator.CreateInstance(Type.GetTypeFrom

Re: [racket] preference: 32-bit or 64-bit racket?

2011-03-09 Thread Ben Goetter
Please keep political and religious tirades off of this alias. Thank you. On 3/9/2011 3:47 PM, Neil Van Dyke wrote: Forgive me, but this could stand to be mentioned at least once a year, as a reminder... PC hardware tends to become more useful for most technical work if one erases Windows and

Re: [racket] OpenGL sgl GL_TEXTURE_3D glTexImage3D

2010-11-29 Thread Ben Goetter
Andrej, glTexImage3D is not a GLUT entry point, but rather is a standard GL 1.2 entry point. However, Windows uses GL 1.1, and only defines the 1.1 entry points in its system DLLs opengl32.dll and glu32.dll. Hence you must use wglGetProcAddress to access glTexImage3D as a non-standard (on 1