
Search found 11 matches
- Mon Oct 06, 2003 7:18 pm
- Forum: Coding Questions
- Topic: Returning strings to VB from a DLL
- Replies: 2
- Views: 1279
- Mon Oct 06, 2003 6:58 pm
- Forum: Coding Questions
- Topic: Returning strings to VB from a DLL
- Replies: 2
- Views: 1279
Returning strings to VB from a DLL
Hi im trying to return s string from PB to VB without success, here is my code:
PB code:
ProcedureDLL.s GetName()
ProcedureReturn "Test"
EndProcedure
VB decleration:
Public Declare Function GetString Lib "purebasic.dll" () As String
VB use:
Private Sub Command1_Click()
Command1 ...
PB code:
ProcedureDLL.s GetName()
ProcedureReturn "Test"
EndProcedure
VB decleration:
Public Declare Function GetString Lib "purebasic.dll" () As String
VB use:
Private Sub Command1_Click()
Command1 ...
- Sun Oct 05, 2003 10:26 pm
- Forum: Coding Questions
- Topic: Adding gadgets to other windows
- Replies: 5
- Views: 2097
- Sat Oct 04, 2003 10:19 pm
- Forum: Coding Questions
- Topic: Adding gadgets to other windows
- Replies: 5
- Views: 2097
- Sat Oct 04, 2003 7:18 pm
- Forum: Coding Questions
- Topic: Adding gadgets to other windows
- Replies: 5
- Views: 2097
- Sat Oct 04, 2003 6:56 pm
- Forum: Coding Questions
- Topic: Adding gadgets to other windows
- Replies: 5
- Views: 2097
Adding gadgets to other windows
Hi everyone,
Is it possible to add a gadget to another window? i.e i get window handle of another window using findwindow, is it now possible for me to add controls to that window which can be controlled from within my pb program?
Thanx
Is it possible to add a gadget to another window? i.e i get window handle of another window using findwindow, is it now possible for me to add controls to that window which can be controlled from within my pb program?
Thanx
- Sun May 25, 2003 9:40 pm
- Forum: Coding Questions
- Topic: Paasing a structure to a function
- Replies: 3
- Views: 1433
Paasing a structure to a function
Hi everyone - I have this following piece of code
Structure mystruct
anitem.l
endstructure
procedure dosomething1 ( temp.mystruct )
endprocedure
procedure dosomething2 ( *temp.mustruct )
temp\anitem = temp\anitem + 1
endprocedure
Both of the procedures wont work, the first give me the ...
Structure mystruct
anitem.l
endstructure
procedure dosomething1 ( temp.mystruct )
endprocedure
procedure dosomething2 ( *temp.mustruct )
temp\anitem = temp\anitem + 1
endprocedure
Both of the procedures wont work, the first give me the ...
- Fri May 23, 2003 4:22 pm
- Forum: Coding Questions
- Topic: Structures
- Replies: 4
- Views: 1666
- Fri May 23, 2003 3:32 pm
- Forum: Coding Questions
- Topic: Structures
- Replies: 4
- Views: 1666
Structures
Hi,
Is it possible to declare a string within a structure to be a certain number of bytes long?
Is it possible to declare a string within a structure to be a certain number of bytes long?
- Thu May 22, 2003 9:40 pm
- Forum: Coding Questions
- Topic: Hi everybody
- Replies: 6
- Views: 2168
- Thu May 22, 2003 6:58 pm
- Forum: Coding Questions
- Topic: Hi everybody
- Replies: 6
- Views: 2168
Hi everybody
I would jus like to say hello to everyone :)
Ive been programming for a number of years now, mostly in Blitz Basic and C++ - when I had a go with pure basic and saw how great it was I bought it and now Im jus gettin myself used to it :)
It seems a very easy language but it creates executables with ...
Ive been programming for a number of years now, mostly in Blitz Basic and C++ - when I had a go with pure basic and saw how great it was I bought it and now Im jus gettin myself used to it :)
It seems a very easy language but it creates executables with ...