Search found 10 matches

by ac667788
Wed Apr 01, 2009 1:56 am
Forum: Coding Questions
Topic: Calling a DLL Function
Replies: 6
Views: 1006

Changes things a bit but the data at

version
*version
@*version

is still garbage
by ac667788
Wed Apr 01, 2009 1:01 am
Forum: Coding Questions
Topic: Calling a DLL Function
Replies: 6
Views: 1006

PeekS(*version) gives me the same garbage as before
by ac667788
Wed Apr 01, 2009 12:23 am
Forum: Coding Questions
Topic: Calling a DLL Function
Replies: 6
Views: 1006

Calling a DLL Function

How would you guys call this DLL Function

void hesl::version(int *major, int *minor, char **verstr);

I tried the following and the values at *major and *minor are okay but I don't know how to handle char **verstr



*major = @major.i
*minor = @minor.i
version.s = ""
*version = @version.s ...
by ac667788
Sat Mar 28, 2009 1:21 am
Forum: Coding Questions
Topic: Using DLLs
Replies: 2
Views: 772

Using DLLs

Am curious about the use of DLLs

I wrote a DLL with a single function

#include <stdio.h>

void hello ()
{
printf ("Hello World!\n");
}

I verified the DLL was written correctly and could actually see the "hello" function name using LibrayFunctionName() but when I run the following code ...
by ac667788
Mon Oct 01, 2007 7:24 pm
Forum: Coding Questions
Topic: Calling a command line script from PB program
Replies: 3
Views: 877

Thalius,
Thanks for the good insight, I will go ahead a check out ruby.dll and let you know how it goes.

I am trying to make a personalized stock analysis system and I want to take advantage of a ruby script that can download stock data from Yahoo Finance.
by ac667788
Mon Oct 01, 2007 12:32 am
Forum: Coding Questions
Topic: Calling a command line script from PB program
Replies: 3
Views: 877

Calling a command line script from PB program

Hi All,
I would like to call a command line ruby script from within a PB program, but I am unsure of how to do it. Would you use the console functions or program functions? What would be the best way of passing data back?
Thanks
by ac667788
Thu Sep 20, 2007 1:23 am
Forum: Coding Questions
Topic: MVCOM problems
Replies: 4
Views: 1471

it's still acting funny, inconsistently sends out the 0 value
by ac667788
Wed Sep 19, 2007 11:21 pm
Forum: Coding Questions
Topic: MVCOM problems
Replies: 4
Views: 1471

MVCOM problems

Can't transmit 0x00 across serial bus

MyBuffer1.s = Chr(2) + "L" + Chr(0) + Chr(0) + Chr(1)
If ComWrite(Hcom, @MyBuffer1, Len(MyBuffer1)+1)
Debug "Write Ok"
EndIf

No matter what I do, I can't Chr(0) to eb transmitted out of the serial port.
by ac667788
Sat Sep 08, 2007 10:17 pm
Forum: Coding Questions
Topic: Balloon Tip based on Mouse Location
Replies: 2
Views: 1065

Balloon Tip based on Mouse Location

**I apologize in advance if this has already been discussed on the board**

I want to be able to display a balloon tooltip solely based on the location of the mouse pointer within the Window. I have not been able to find a way of doing this, please help.

This is for a Windows XP application
by ac667788
Sun May 13, 2007 6:53 am
Forum: Linux
Topic: Parent and Child Windows
Replies: 1
Views: 1423

Parent and Child Windows

Hello,
I am trying to convert a PB program I wrote for windows to Linux. The only problem is the setparent_() API call I use in Windows, is there an equivalent for Linux? or a method so that I don't have to make a API specific call.