Search found 17 matches

by Brandon Parker
Sat May 01, 2021 4:49 pm
Forum: 3D Programming
Topic: Simulate planet atmosphere using billboard
Replies: 8
Views: 7889

Re: Simulate planet atmosphere using billboard

Code: Select all

va\ret = ReceiveHTTPFile("https://free-images.com/Or/05ad/clouds_sky_blue_weather_6.jpg", path + "cloudy.jpg")
No longer available already ... :(

{:0)

Brandon Parker
by Brandon Parker
Sun Nov 13, 2016 1:52 am
Forum: Coding Questions
Topic: OSISoft PI API
Replies: 6
Views: 2594

Re: OSISoft PI API

And of course....... Wouldn't you know it.....I just stumbled upon success...... Here are the pertinent bits of code and how I have managed to call the functions..... The below is not functioning code; just fragments to illustrate what worked..... procName.s = "AndonLight" tag.s = "Mm...
by Brandon Parker
Sun Nov 13, 2016 1:39 am
Forum: Coding Questions
Topic: OSISoft PI API
Replies: 6
Views: 2594

Re: OSISoft PI API

Hi, I think your prototype is wrong. Try this versions: Prototype.l pipt_findpoint(tagname.p-bstr, *pt) Prototype.l pipt_findpoint(tagname.p-bstr, pt.l) A string ByVal needs p-bstr. Bernd Bernd, Thank you very much for the examples. I tried both and they end with the same result. The tagname is not...
by Brandon Parker
Fri Nov 11, 2016 10:05 pm
Forum: Coding Questions
Topic: OSISoft PI API
Replies: 6
Views: 2594

Re: OSISoft PI API

Hi, for me it's not clear what you want to do: Do you want to write a wrapper for importing the dll in PB? Or do you want to write an own procedure which does the same as this function? Bernd Hello Bernd, Thanks for the reply!! I would just like to be able to call the function in this DLL first of ...
by Brandon Parker
Fri Nov 11, 2016 9:47 pm
Forum: Coding Questions
Topic: OSISoft PI API
Replies: 6
Views: 2594

Re: OSISoft PI API

In the event that it will help, here is the VB Declare for the function. Declare Function pipt_findpoint Lib "piapi32.dll" (ByVal TagName$, pt&) As Long Also, I am connecting to the server perfectly fine, but I just started translating code and after the connect, isconnected, and disco...
by Brandon Parker
Fri Nov 11, 2016 8:57 pm
Forum: Coding Questions
Topic: OSISoft PI API
Replies: 6
Views: 2594

OSISoft PI API

Does anyone have any experience translating the PI API (piapi32.dll) from OSISoft? I'm experienced translating it with a different language, but I'm running into an issue with PureBasic. Can someone point me in the right direction with the function listed below? I am very green with PureBasic, but I...
by Brandon Parker
Sun Nov 24, 2013 6:16 am
Forum: General Discussion
Topic: InitEngine3D() on Samsung ATIV with Win 8 and Intel Atom
Replies: 10
Views: 4189

Re: InitEngine3D() on Samsung ATIV with Win 8 and Intel Atom

Samuel,

Thanks for looking everything up. All that is already set up, but I managed to copy the DLL over and it seems to be working correctly.

Thanks again to everyone!!

{:0)

Brandon
by Brandon Parker
Sun Nov 24, 2013 5:45 am
Forum: General Discussion
Topic: InitEngine3D() on Samsung ATIV with Win 8 and Intel Atom
Replies: 10
Views: 4189

Re: InitEngine3D() on Samsung ATIV with Win 8 and Intel Atom

Yup, I've attempted that download several times over the past day, but it always fails with the following message. A cabinet file necessary for installation cannot be trusted. Please verify Cryptographic Services are enabled and the cabinet file certificate is valid. I guess I'll try an copy it over...
by Brandon Parker
Sun Nov 24, 2013 4:23 am
Forum: General Discussion
Topic: InitEngine3D() on Samsung ATIV with Win 8 and Intel Atom
Replies: 10
Views: 4189

Re: InitEngine3D() on Samsung ATIV with Win 8 and Intel Atom

Here's the log file.... 22:20:18: Creating resource group General 22:20:18: Creating resource group Internal 22:20:18: Creating resource group Autodetect 22:20:18: SceneManagerFactory for type 'DefaultSceneManager' registered. 22:20:18: Registering ResourceManager for type Material 22:20:18: Registe...
by Brandon Parker
Sat Nov 23, 2013 7:24 pm
Forum: General Discussion
Topic: InitEngine3D() on Samsung ATIV with Win 8 and Intel Atom
Replies: 10
Views: 4189

Re: InitEngine3D() on Samsung ATIV with Win 8 and Intel Atom

It could be Windows Defender stopping the process. Add everything PB to Defender's safe list. I tried completely disabling Windows Defender and it's still not working. It's not like the process is halted; the InitEngine3D() function just fails to initialize. Thanks for the suggestion! Any more? {:0...
by Brandon Parker
Sat Nov 23, 2013 6:20 pm
Forum: General Discussion
Topic: InitEngine3D() on Samsung ATIV with Win 8 and Intel Atom
Replies: 10
Views: 4189

InitEngine3D() on Samsung ATIV with Win 8 and Intel Atom

Has anyone else experienced any issues with InitEngine3D() using similar architecture to what's in the subject? I recently bought a Samsung ATIV tablet and InitEngine3D() is failing when called. I have checked to ensure the DirectX DLL's are present. I know PB uses 9 and I verified that 9-11 are all...
by Brandon Parker
Mon Apr 08, 2013 3:29 pm
Forum: Coding Questions
Topic: add timer to DLL
Replies: 6
Views: 774

Re: add timer to DLL

Doesn't Notepad++ expose something like 4 of its windows' handles?

Why not bind the timer to one of those handles?

{:0)

Brandon
by Brandon Parker
Mon Feb 25, 2013 9:54 am
Forum: Coding Questions
Topic: What? Bool() problem..
Replies: 28
Views: 3349

Re: What? Bool() problem..

I thought that was a given....... :wink: {:0) Brandon It wasn't in order to see the different results of both code snippets, try e.g. for year = 1900. Yeah.....while that quote is about something completely different; I get it. I just assumed that someone using the Date() function would know that w...
by Brandon Parker
Mon Feb 25, 2013 7:53 am
Forum: Coding Questions
Topic: What? Bool() problem..
Replies: 28
Views: 3349

Re: What? Bool() problem..

rsts wrote:
For cimplicity's sake, to test for a leap year you could just use the built in Date() function
For dates within the limits of PB's date functions.

I thought that was a given....... :wink:

{:0)

Brandon
by Brandon Parker
Mon Feb 25, 2013 7:33 am
Forum: Coding Questions
Topic: What? Bool() problem..
Replies: 28
Views: 3349

Re: What? Bool() problem..

For cimplicity's sake, to test for a leap year (within PB's applicable Date range) you could just use the built in Date() function Returns -1 if the given Date() parameters do not exist.... Debug Date(2013, 02, 29, 12, 00, 00) ;Returns -1 or Returns the date value expressed by the passed parameters ...