1. Visual Win32lib 0.3, ListServ, W32Mod problem, DiskMag

[Visual Win32lib 0.3]
First of all, I have spent the past couple of days (my exams are now
over!) working on the new version of Visual Win32lib, which, I'm happy
to say, is now finished and is a -LOT- easier to use than the previous
version. Dragging and resizing is now done with handles (as you'd
expect), properties are now all in one box, and loading and saving has
been revamped, including loads of error-detection code. Grab v0.3 from
my website:
           http://members.xoom.com/sspencer/euphoria.html


[ListServ Settings]
I thought I'd alert you all to the fact that you might want to turn off
the header that the ListServ automatically sticks at the top of each
message:
> ----------------- Information from the mail header ------------------
> Sender:       Euphoria Programming for MS-DOS
> Poster:       "Someone" <someone at somewhere.com>
> Subject:      Euphoria
> ---------------------------------------------------------------------
With this listserv-added message at the start of everybody's postings,
many mailreaders (including Netscape Messenger) will think that the
message is text and not try to decode the attachments. The came to my
attention when some people said in reply to Luis' unintentional
mini-mailbomb that they couldn't read it without passing it through
WinCode. I also experienced this problem when I joined the list with
attachments appearing as UUed text and HTML-format mails also coming
through as text even though I had an HTML-compatable e-mail program. If
you also get the same problems, I suggest you change you listserv
settings by sending a message to:
           mailto:LISTSERV at MIAMIU.ACS.MUOHIO.EDU
containing the text (no subject):
                       SET EUPHORIA FULLHDR


[Playing Mods in EXW]
I have the ModPlug Plugin (from the ModPlug homepage -
http://www.castlex.com/modplug/home.html), and I was trying to sort out
all the functions and procedures in its DLL so that I could use them in
Euphoria (the readme has a section on using the plugin DLL in your own
programs). I programmed it all and all of the functions and procedures
work (Init, SetWindow, etc) except the Load (reads a mod) procedure.
>From the readme:
> - BOOL WINAPI ModPlug_Load(LPVOID plugin, LPCSTR lpszFileName)
>   This function loads a module.
Excerpts from my code:
> szModName = allocate_string("Bbobble.mod")
> modplugdll = open_dll("npmod32.dll")
> ModPlug_Load = link_c_proc(modplugdll,"ModPlug_Load",{C_INT,C_INT})
> ModPlug_CreateEx =
>               link_c_func(modplugdll,"ModPlug_CreateEx",{C_INT},C_INT)
> modplugpointer = c_func(ModPlug_CreateEx, {szModParams})
This line crashes the program (first EXW causes error in NPMOD32.DLL
then another error in Kernel32.dll):
> c_proc(ModPlug_Load,{modplugpointer, szModName})
The errors only happen if szModName is actually a file. If szModName
isn't a file or I don't run the above line at all, the window appears
fine (I'm using Win32lib BTW) with all the ModPlug controls in it.
I can't see what's wrong, as modplugpointer is used in other procs/funcs
and those procs/funcs work fine, and another string (szInit) is declared
in the same way as szModName and affects the window controls as it
should. What is going on here? Does anybody have any ideas? If you need
more info, e-mail me and I'll send you the files, but I don't think
everyone on the list would take kindly to having to download ~200k.
Thanks in advance for any replies.

[DiskMag]
I have received a grand total of one (thanks, Ralf) article and a few
questionnaires for my DiskMag. The questionnaires are fine, but you
can't really have a diskmag consisting of one article and some short
questionnaires. So if you want me to release this diskmag, then get
scribbling!
If you don't have a clue about what I'm waffling on about, download the
diskmag intro from my website:
         http://members.xoom.com/sspencer/euphoria.html


That's all for now. Please download the new version of Visual Win32lib -
believe me, it's a lot easier to use!
Thanks,
Stephen
--
Stephen Spencer
stephen.spencer at usa.net
http://members.xoom.com/sspencer

new topic     » topic index » view message » categorize

2. Re: Visual Win32lib 0.3, ListServ, W32Mod problem, DiskMag

Spencer:
I've been trying your Visual Euphoria. Looks nice!.
Just a question: To select the Horizontal Scrollbars, I have to
double-click, instead of single-clicking for the rest of controls. Is it
intended or a bug?.
Features I'd like to get added:
Font/background colors selection in the controls.
Background color of the main window.
Control grouping.

Is any way of accessing the data structures? (i.e. to change other
characteristics than caption, etc...)
JESus.


> -----Mensaje original-----
> De: Euphoria Programming for MS-DOS
> [mailto:EUPHORIA at LISTSERV.MUOHIO.EDU]En nombre de Stephen Spencer
> Enviado el: domingo 21 de junio de 1998 22:44
> Para: EUPHORIA at LISTSERV.MUOHIO.EDU
> Asunto: Visual Win32lib 0.3, ListServ, W32Mod problem, DiskMag
>
> [Visual Win32lib 0.3]
> First of all, I have spent the past couple of days (my exams are now
> over!) working on the new version of Visual Win32lib, which, I'm happy
> to say, is now finished and is a -LOT- easier to use than the previous
> version.

new topic     » goto parent     » topic index » view message » categorize

3. Re: Visual Win32lib 0.3, ListServ, W32Mod problem, DiskMag

Jesus wrote:
> Just a question: To select the Horizontal Scrollbars, I have to
> double-click, instead of single-clicking for the rest of controls. Is
> it intended or a bug?.
I had some problems with this as well. I thought I'd got rid of this
bug, but it was probably only a patch-up for -my- system. The problem
was that (as you've probably read in the readme) combo boxes and
scrollbars are a pain - you can't detect clicks on them. That's why they
have to have the blue blob for dragging. I'll take another look and see
if I can fix it a bit better.

> Features I'd like to get added:
> Font/...
The font editing dialog box should be appearing in a few releases. It
should be quite easy to implement.

> ...background colors selection in the controls.
> Background color of the main window.
Yes, I'll do a colour-picking box for the next release and incorporate
it into the various property boxes.

> Control grouping.
This is a standard control in Win32lib I think. So there should be
support for it in a couple of releases.

> Is any way of accessing the data structures? (i.e. to change other
> characteristics than caption, etc...)
Yes, I can in VB quite easily, but not as the program stands, no. As I
say above, you'll be able to edit more stuff in the coming releases -
this release only had the "basics".

I've got tonnes of free time on my hands over the coming weeks, so this
is one of the projects I'll be devoting my time to.

Thanks for the comments,
Stephen
--
Stephen Spencer
stephen.spencer at usa.net
http://members.xoom.com/sspencer

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu