Search found 5 matches

by Velatus
Wed May 04, 2011 7:14 am
Forum: newLISP in the real world
Topic: How do I access functions within a host application?
Replies: 7
Views: 3040

Re: How do I access functions within a host application?

I'll post a template as soon as I get something working. Promise. :) Actually I don't use any GUI, save a couple of calls to the win32 API in order to get the user's screen resolution (ya know, that GetSystemMetrics thing). The rest is all done in FB, which has its own built-in gfx library. The game...
by Velatus
Wed May 04, 2011 12:06 am
Forum: newLISP in the real world
Topic: How do I access functions within a host application?
Replies: 7
Views: 3040

Re: How do I access functions within a host application?

Oh well don't bother answering my question: I googled (lazy bastard me...). It will be stdcall then.
by Velatus
Wed May 04, 2011 12:04 am
Forum: newLISP in the real world
Topic: How do I access functions within a host application?
Replies: 7
Views: 3040

Re: How do I access functions within a host application?

Thanks very much HP. You're my new hero. I think I sort of figured it out. I'll start coding tomorrow when i'm off work (it's 2 pm here in France). It seems that with some hackery, you can get newLISP to call a function from an FB exe. BTW, which calling convention does newLISP use? (FreeBASIC suppo...
by Velatus
Tue May 03, 2011 7:08 pm
Forum: newLISP in the real world
Topic: How do I access functions within a host application?
Replies: 7
Views: 3040

Re: How do I access functions within a host application?

Sorry for the lack of precision. The program is developed on Windows. FreeBASIC is able to import functions from a DLL with ease. Actually, someone on the FB forum has already writen a header for NewLISP. Regarding whether or not FB can export functions, I don't know what to say. As a matter of fact...
by Velatus
Tue May 03, 2011 1:13 pm
Forum: newLISP in the real world
Topic: How do I access functions within a host application?
Replies: 7
Views: 3040

How do I access functions within a host application?

Hi everyone! Since this is my first post, let me introduce myself. My (real) name is Guillaume Rangheard. I'm a french student in architecture, and a freelance web developer (mostly in JS). I'm currently working on a turn-based strategy game project, loosely based on Battle For Wesnoth and Vantage M...