Search found 5 matches

by Nero
Wed Jan 01, 2014 7:39 pm
Forum: Feature Requests and Wishlists
Topic: CPP Classes in the 32Bit version
Replies: 0
Views: 549

CPP Classes in the 32Bit version

Hello,

it would be great if we could use cpp classes with interfaces from *.lib files in the 32Bit version.
It works create with the 64Bit version but in the 32Bit the pointer are all just gibberrish :wink:.
I found a workaround here http://www.purebasic.fr/english/viewtopic.php?f=12&t=54604&hilit ...
by Nero
Sun Aug 18, 2013 10:34 am
Forum: Coding Questions
Topic: XIncludeFile in a module
Replies: 2
Views: 695

Re: XIncludeFile in a module

Fred wrote:No, XIncludeFile ensures you include your file once and only once in the whole source.
Ah thanks for the info. I just thought it should work because the module is seperated from the other code :oops:
by Nero
Sun Aug 18, 2013 10:18 am
Forum: Coding Questions
Topic: XIncludeFile in a module
Replies: 2
Views: 695

XIncludeFile in a module

Hiho,

If you include a file with XIncludeFile in your main source and then try to do the same in a modul it wont work.

test.pbi
Structure Test
a.l
EndStructure

test.pb
XIncludeFile "./test.pbi"

abc.Test

DeclareModule MyModul
XIncludeFile "./test.pbi"
EndDeclareModule

Module MyModul
defg ...
by Nero
Fri Aug 16, 2013 7:56 pm
Forum: Feature Requests and Wishlists
Topic: Structure and interface returns
Replies: 0
Views: 497

Structure and interface returns

Hiho,

First: Sorry for my bad english :|

Ok let's say i have a procedure and want to return a pointer to an interface or a structure then i have to declare a new variable with the needed type defintition.

It would be nice if i could just write
Procedure.MyInterfaceOrStructure Test()
; Do ...
by Nero
Sat Apr 23, 2011 6:45 pm
Forum: Coding Questions
Topic: WebKit Interface
Replies: 3
Views: 3391

Re: WebKit Interface

Hi,

I just tested it and it worked so far.
But i get a "Invalid memory access" error from some functions.
(setCustomUserAgent(), setApplicationNameForUserAgent(), mainFrame() and setMainFrameURL() )