03-01-2005, 11:08 AM
Quote:just a simple question. do you guys actuly read all the code in those huge posts?.
I do. :o
1.) Copy, paste, and compile the code :barf:
2.) Read through the code... :???:
3.) ...and learn :oops:
:wink:
GUI: Proof of concept with wx-c.dll
|
03-01-2005, 11:08 AM
Quote:just a simple question. do you guys actuly read all the code in those huge posts?. I do. :o 1.) Copy, paste, and compile the code :barf: 2.) Read through the code... :???: 3.) ...and learn :oops: :wink:
03-01-2005, 11:33 AM
one suggestion, there's devcpp devpaks ( i send dumbledore the link ) on the wxwidgets site there's a link to "how to use wxwidgets in devc++" or something. from what i can tell there's already precompiled .a and dlls in there so you could just use that and write a wrapper around the crap, so you'd get rid of the .net framework
03-01-2005, 01:27 PM
The .net framework is not needed when using wx-c.dll (i don't have the framework installed), forget about a new wrapper.
Btw, i'm writing a small C parser (in FB :P) to translate the wx-c's .cxx to .bi (only the prototypes), so translating by hand now may be, well, worthless ;) I will work on it when i release the FB v0.12, i got #define's with arguments working, i need to do more tests.. cya..
ew FreeBASIC forums: http://www.freebasic.net/forum/index.php
03-01-2005, 08:13 PM
eh? then why wouldn't it run on my windows 98 machine? :/
nice idea with the auto converter, i'm sure it'll be handy.
ttp://m0n573r.afraid.org/
Quote:quote: "<+whtiger> you... you don't know which way the earth spins?" ... see... stupidity leads to reverence, reverence to shakiness, shakiness to... the dark side...phear
03-01-2005, 09:01 PM
Quote:one suggestion, there's devcpp devpaks ( i send dumbledore the link ) on the wxwidgets site there's a link to "how to use wxwidgets in devc++" or something. from what i can tell there's already precompiled .a and dlls in there so you could just use that and write a wrapper around the crap, so you'd get rid of the .net framework I have devC++ and MinGWStudio installed (besides other stuff...). The wx libs are preinstalled with MinGWStudio and a simple 'wxMinimal' exe is about 1.2Mb in size, compiled as release (compiled as debug 17Mb). Because I don't have experience with wx, I don't know if 1.2Mb is the real minimum that can be done. Suppose it is. :barf:
03-01-2005, 09:06 PM
Quote:The .net framework is not needed when using wx-c.dll (i don't have the framework installed), forget about a new wrapper.All I can say is that on WinXP it works without .NET installed. Maybe on Win98 there are some Windows dll's missing... Quote:Btw, i'm writing a small C parser (in FB ) to translate the wx-c's .cxx to .bi (only the prototypes), so translating by hand now may be, well, worthless8) The bad thing about wx-c is that OpenGL is not implemented yet and it could be difficult to make lillo's gfx lib work with wx.
03-01-2005, 09:41 PM
According with tdump, wx-c.dll has imports from the following dll's:
KERNEL32.DLL ADVAPI32.dll COMCTL32.dll comdlg32.dll GDI32.dll MSVCR71.dll ole32.dll SHELL32.dll USER32.dll Problem in 9x is probably with msvcrt71, as everything else is pretty standard. Compiling wx-c statically won't be possible with FB as FB doesn't include the c++ initialization that calls the static construtors (and when finishing the static destructors), i guess wxW gotta many of them. OpenGL apps use to have their own GUI's anyway, unless they always run in windowed mode.
ew FreeBASIC forums: http://www.freebasic.net/forum/index.php
03-02-2005, 07:07 AM
Blargh, I'm working on an h2bi utility... really crappy right now, though - originally written (and almost working) in VB-DOS, but with FB, some things are broken, and I'm too lazy to fix them right now...
03-02-2005, 08:07 AM
ok, i was missing the msvcr71.dll, now fsw's test works, but mine doesn't. probably because i'm screwing up the menus. (what is wxmenubase? it's not in the wx docs but is in the wx.net docs)
ttp://m0n573r.afraid.org/
Quote:quote: "<+whtiger> you... you don't know which way the earth spins?" ... see... stupidity leads to reverence, reverence to shakiness, shakiness to... the dark side...phear
03-03-2005, 10:32 AM
v1c:
this should work most of the time for converting the cxx prototypes. (note: most of the time. sometimes it's pretty bad, such as line 517 of the output ) hope it helps you get yours working faster, maybe you could merge some of the code if it's general-purpose enough :wink: Code: declare function c2qbtype$(ty$)
ttp://m0n573r.afraid.org/
Quote:quote: "<+whtiger> you... you don't know which way the earth spins?" ... see... stupidity leads to reverence, reverence to shakiness, shakiness to... the dark side...phear |
« Next Oldest | Next Newest »
|