Search found 6 matches

by kyleh
Tue Feb 28, 2006 11:45 pm
Forum: Mac OSX
Topic: Timeline for version 4 on OSX?
Replies: 10
Views: 5596

I'm looking forward to this too. I really hope OSX PB 4 will support Intel. One of the reasons I finally decided to buy PB was OSX support.
by kyleh
Fri Feb 24, 2006 4:54 am
Forum: Coding Questions
Topic: How do I convert to BSTR?
Replies: 10
Views: 2775

So, it turns out I really need to get a program done for work soon and I would like to use Purebasic. Since I don't know when the next beta is going to be released is there an easy way to do the same thing without Prototype?
by kyleh
Thu Feb 23, 2006 8:36 pm
Forum: Coding Questions
Topic: How do I convert to BSTR?
Replies: 10
Views: 2775

Thanks for all your help! I'm looking forward to the next update :)
by kyleh
Thu Feb 23, 2006 5:01 pm
Forum: Coding Questions
Topic: How do I convert to BSTR?
Replies: 10
Views: 2775

When I use this I'm getting an Assembler Error.
PureBasic.asm [68]:
CALL _SYS_ToUnicode@4
error: undefined symbol

I'm sure I'm still missing something, but I can't find any information on this error.


Prototype.l LogMessagePrototype(InMessage.p-bstr,DefaultValue=8)

OpenLibrary(0, "core.dll ...
by kyleh
Thu Feb 23, 2006 5:05 am
Forum: Coding Questions
Topic: How do I convert to BSTR?
Replies: 10
Views: 2775

Thank you! Prototypes look like the way to go :)

I was reading about prototypes in the readme file and it's still not clear to me how to use it with a DLL. Could I do something like this? not that this works, I really don't understand how this should come together just yet.

OpenLibrary(0, "core ...
by kyleh
Wed Feb 22, 2006 8:10 am
Forum: Coding Questions
Topic: How do I convert to BSTR?
Replies: 10
Views: 2775

How do I convert to BSTR?

I just purchased PureBasic this past weekend so I’m still new to the language. I’m trying to use PureBasic to interface with other programs. I was using the very cool Interface Generator tool, but I’m having some problems.

Here’s an example of the C++ function I’m trying to access:

[VOffset($24 ...