Visual Win32lib 0.3, ListServ, W32Mod problem, DiskMag

new topic     » topic index » view thread      » older message » newer message

[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 thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu