Welcome to the CHICKEN Scheme pasting service

simple include issue added by kevinfish on Tue Mar 14 02:14:22 2017

(btw, this is all under cygwin under windows 7)

I have this program:

(require-extension bind)

(bind* "#include <windows.h>")

(bind  "HMODULE  LoadLibraryA ( char * )");

(set! foo (LoadLibraryA "cpuidsdk"))


-------------

the idea for the 2nd bind command comes from here:

http://stackoverflow.com/questions/6557028/how-to-call-a-kernel32-dll-function-gettickcount-using-loadlibrary-in-c

when I try and compile with csc -s test.scm I get:

Error: during expansion of (bind14 ...) - can not open include file: "windows.h"

So I locate a windows.h file that looks like its probably the right one here:

/usr/include/w32api/windows.h

So I change my compile command to be:

$ csc -s test.scm -I/usr/include/w32api

and get the same thing.

Why?

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Which procedure can be used to check whether its argument is a string?
Visually impaired? Let me spell it for you (wav file) download WAV