Search found 17 matches

by spacefractal
Sun Sep 07, 2008 2:56 am
Forum: Feature Requests and Wishlists
Topic: UTF-8 support for strings
Replies: 21
Views: 5460

ts-soft's didn't actually work as it should when I tested here, here is fixed modified version which worked here (these functions does here both way):


; UTF8 to Unicode/AscII (depend if the app is compiled as unicode or not).
Procedure.s Unicode(s.s)
Protected *Buffer

*Buffer ...
by spacefractal
Sun Aug 10, 2008 9:34 pm
Forum: Feature Requests and Wishlists
Topic: IDE: Adding a shortcut keyboard command for "Kill Progr
Replies: 3
Views: 951

IDE: Adding a shortcut keyboard command for "Kill Progr

There is shortcut to stop program and countie program", but there is no shortcut for that function I use most "kill program".

The reason is there is no way to edit the code without forcing that command, unlike BlitzMax.

Pure Basic can also not close the currently running app when compiling a new ...
by spacefractal
Sat Mar 03, 2007 12:30 am
Forum: Coding Questions
Topic: Unhandled Memory Exception problems when return to blitzmax
Replies: 5
Views: 1234

I does not know, if this is a bug in bass.dll (un4seen.com), purebasic or Blitz Max?

But I finally got a workaround that work(even it could been better, but it work).

I do most wrapper work directly in blitzmax, and use the same function listed above to retrive the extension data.

I do need to do ...
by spacefractal
Fri Mar 02, 2007 11:23 pm
Forum: Coding Questions
Topic: Unhandled Memory Exception problems when return to blitzmax
Replies: 5
Views: 1234

it from a prototype I forgot to insert to the code.


Prototype BASS_PluginGetInfo(handler.l)


It may been some buggy code exists in bass.dll?

IT does the same problem, when I tried to split them up. This does the same:


ProcedureCDLL.l BASS_PluginLoad(File$)
RESULT=CallFunction(BASS_ID,"BASS ...
by spacefractal
Fri Mar 02, 2007 8:59 pm
Forum: Coding Questions
Topic: Unhandled Memory Exception problems when return to blitzmax
Replies: 5
Views: 1234

have allready tried that, before posting. Same error.
by spacefractal
Fri Mar 02, 2007 8:43 pm
Forum: Coding Questions
Topic: Unhandled Memory Exception problems when return to blitzmax
Replies: 5
Views: 1234

Unhandled Memory Exception problems when return to blitzmax

I have wonder while a procedure works, but allways got a "Unhandled Memory Exception Error" message when returning to Blitz+ and Blitzmax with some BASS functions.

I'm are really tired of it. last time Im used a thread, with some of these problem functions, that elsewice caused a error to blitzmax ...
by spacefractal
Mon Sep 25, 2006 3:01 pm
Forum: Linux
Topic: Status of PB4 for linux?
Replies: 48
Views: 18447

what about a mplayer support (windowed & fullscreen), instead of Quicktime? I remember mplayer can play in canvas an so on, or do I took fool?

What about creating .so files, rather than .dll.

I have not very much expert on Linux, and have looked for a mediaplayer for Linux in some time, and that ...
by spacefractal
Sun Feb 19, 2006 5:42 pm
Forum: Feature Requests and Wishlists
Topic: [Implemented] length=movielength(filename$)
Replies: 0
Views: 821

[Implemented] length=movielength(filename$)

I seen MovieInfo() return wrong fps values (too buggy).

I would like to see an movielength() that is a lots faster, without using the slow LoadMovie(), just doing that.

This one is easy with avi files trouch (but what about wmv and mpeg files?).
by spacefractal
Thu Feb 16, 2006 8:56 pm
Forum: Coding Questions
Topic: 4.0B3: Crash when sending a QWORD (q) to dll.
Replies: 7
Views: 1637

Got it to work :D, Prototypes is the way to go.

Please update the manual, when you made the 4.0 final. I diddent know about it and have oversaw that thing.

You may want to move this topic to "Coding Questions", if you want.
by spacefractal
Thu Feb 16, 2006 7:43 pm
Forum: Coding Questions
Topic: 4.0B3: Crash when sending a QWORD (q) to dll.
Replies: 7
Views: 1637

Do you have a plan to support that in the next beta?

Otherwice how do I do with that prototype or split convertning (another workaround)?
by spacefractal
Thu Feb 16, 2006 7:33 pm
Forum: Coding Questions
Topic: 4.0B3: Crash when sending a QWORD (q) to dll.
Replies: 7
Views: 1637

4.0B3: Crash when sending a QWORD (q) to dll.


ProcedureDLL BASS_setPosition(handle.l,secs.l)
sec.q
flo.f=1.0
sec=CallFunction(BASS_ID,"BASS_ChannelSeconds2Bytes",handle,flo) // position in sec
sec=sec*secs
CallFunction(BASS_ID,"BASS_ChannelSetPosition",handle,sec) // crash
EndProcedure


Here is the BASS document how to use setposition ...
by spacefractal
Wed Feb 15, 2006 3:12 pm
Forum: Coding Questions
Topic: Call a Dll crash on Win 98 (but work on XP)
Replies: 8
Views: 1995

it seen ProcedureDLL works, but I just remembed this one has crashed too, but I have have the test matial like now (I got Win 98 installed on Vmware, wich took some time to get soundcard to work).

But it still wierd why it didden't crash on Windows XP?
by spacefractal
Tue Feb 14, 2006 11:43 pm
Forum: Coding Questions
Topic: Call a Dll crash on Win 98 (but work on XP)
Replies: 8
Views: 1995

Yep it really really weild and seen to a big bug in Pure Basic, what should been fixed soon!

It Does NOT crash in XP and pass the string very fine and works!
by spacefractal
Tue Feb 14, 2006 11:23 pm
Forum: Coding Questions
Topic: Call a Dll crash on Win 98 (but work on XP)
Replies: 8
Views: 1995

if it ....., it just here to explain out, and have nothing to due to the codning.

I have even trying parsing this, without luck:


ProcedureCDLL.l BASS_OpenFile(filename$)
EndProcedure
by spacefractal
Tue Feb 14, 2006 10:33 pm
Forum: Coding Questions
Topic: Call a Dll crash on Win 98 (but work on XP)
Replies: 8
Views: 1995

Call a Dll crash on Win 98 (but work on XP)

I'm Trying to call a dll, that parse a string to a dll, but it allways crash on win 98 (but work fine on XP).

Here the Purebasic code:

; PURE BASIC CODE
ProcedureCDLL.l BASS_OpenFile(filename$)
.....
ProcedureReturn result.l
EndProcedure

Here is the code, Im trying to call from blitz ...