From: <EFu...@ne...> - 2005-07-17 06:01:03
|
Hello, We(wxCL project) are trying to use wxC to write Common lisp ffi bindings for wxWidgets. We are just starting and I have few basic questions about wxC. If I want to use wxC API's to create GUI frames, and stuff, if I understand correctly than first I need to initialize everything by calling ELJApp_initialize function. But this function calls wxEntry, and because in the call to wxEntry the fifth argument is not present, and so wxWidget goes into an event handling loop, and the function call never returns. The lisp implementation which I am using is single threaded, so how do I avoid this problem, or should I call some other function. Also if I try to use the bitmap functions, then do I need to initialize anything? I tried opening png/gif files using bitmap functions (without initializin anything), but the function was returning me a 0 value(indicating failure). Do I need to have png/gif dlls for things to work, or was it failing because wxC was not initialized. Note: I was linking to the dll distributed with window distribution of wxHaskell. I am new to haskell and would like to try wxHaskell, does it works on Hugs, or is GHC the only interpreter it supports? It will be nice if the mailing list can be archived on Gmane, this will make it much easier to read and search old mail archives. Thanks for your time. Sincerely, -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.htm __________________________________________________________________ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp |