flat assembler
Message board for the users of flat assembler.

Index > Main > using fasm with wxWidgets, possible?

Author
Thread Post new topic Reply to topic
sleepsleep



Joined: 05 Oct 2006
Posts: 8975
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
hi,
is there examples on how to use fasm with wxwidgets library?
wxbase28.lib ?
Post 15 Dec 2008, 01:34
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
Since wxWidgets is C++ library, I would say no. You *could* build your own wxWidgets lib in particular compiler, and hardcode all decorated names and all OOP stuff in assembly, but that would really be overkill. You are bound to use some C window library.
Post 15 Dec 2008, 01:43
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 2914
Location: [RSP+8*5]
bitRAKE
Should be able to build some kind of adapter lib?
Post 15 Dec 2008, 01:59
View user's profile Send private message Visit poster's website Reply with quote
kas



Joined: 16 Jan 2008
Posts: 36
Location: UK
kas
Hi all,

Hope this helps:

http://wxc.sourceforge.net/

Kas

EDIT: After more research I found that that project doesn't offer any downloads yet - but is trying to join the C work done - it says - from the Haskell and Eifel projects that do the same. When I checked out said projects (I was familar with wxhaskell) it seemed that the haskell version was actually using Eiffel's wx interface.

Thus there is (if I've read it right)... only one interface out of all this that's been built and usable: http://elj.sourceforge.net/projects/gui/ewxw/

Also, as an aside... I even found on Google reports by C developers complaining about having to use Python! bindings to work with wxWidgets!!!

Don't know if that's just one bizarre project - or a testiment of difficulty with using C.

Anyway good luck - please post about any success you get SleepSleep with this - I think I've got to go down the WxWidgets highway at some point soon myself Smile


Last edited by kas on 15 Dec 2008, 04:16; edited 2 times in total
Post 15 Dec 2008, 03:34
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4633
Location: Argentina
LocoDelAssembly
This could not be very helpful but have a look at it anyway: http://board.flatassembler.net/topic.php?p=63391#63391
Post 15 Dec 2008, 04:01
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
Quote:
Don't know if that's just one bizarre project - or a testiment of difficulty with using C.

Testament of difficulity using C to access OOP-based interfaces. Microsoft worked it out with COM technology, and it is *hell* to work with from C. Similar with opensource copy of COM: GTK and GObject.

I would instead focus on other windowy libraries, ones that provide C interface without any hacks.
Post 15 Dec 2008, 10:59
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8975
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
Quote:

I would instead focus on other windowy libraries, ones that provide C interface without any hacks.

mind to suggest any C typed library UI + framework that worth learning & exploring?
Post 16 Dec 2008, 05:39
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
That's a hard one... only thing i can think of is Win32 API. Technically speaking, GTK and some windows COM stuff (hmm, MFC is COM-based or C++ based?) are usable in C, but I think their headers are heavily macroed, so converting headers to asm would be somewhat hard.
Post 16 Dec 2008, 11:23
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.