Sorry, my english is terrible.
I use a written Application in Purebasic in our Company to print several things.
So I want now to set a Default-Printer for the Programm. I would not change the Windows-Default Printer.
So I need functions to use a Printer with a ID or Name / Get a System-List of ...
Search found 54 matches
- Mon Aug 24, 2009 9:38 am
- Forum: Feature Requests and Wishlists
- Topic: Modul Pritner: need more functions
- Replies: 1
- Views: 957
- Wed Aug 19, 2009 2:23 pm
- Forum: Feature Requests and Wishlists
- Topic: [PB 4.40 Beta 2 x86 / WinXP] OffsetOf and Syntax-Error
- Replies: 1
- Views: 794
[PB 4.40 Beta 2 x86 / WinXP] OffsetOf and Syntax-Error
I become a syntax-error, when I start this scrip.
Why?
Without the []-chars it is possible to run the command.
This I found should be fixed.
Why?
Without the []-chars it is possible to run the command.
This I found should be fixed.
Code: Select all
Structure test
arr.i[2]
EndStructure
Debug OffsetOf(test\arr[0])
- Wed Dec 24, 2008 11:54 am
- Forum: Feature Requests and Wishlists
- Topic: Language from OS
- Replies: 1
- Views: 1261
Language from OS
I installed PureBasic new and the first thing I must change is the Language (from the IDE).
Why do the IDE not ask the OS what the Langauge is when there is no config-file available?
This is only a small change but for the first view I thing the Language-Chage-Function is not easy to find for a ...
Why do the IDE not ask the OS what the Langauge is when there is no config-file available?
This is only a small change but for the first view I thing the Language-Chage-Function is not easy to find for a ...
- Tue Nov 04, 2008 6:40 pm
- Forum: Feature Requests and Wishlists
- Topic: Graphic Engine
- Replies: 1
- Views: 977
Graphic Engine
Wouldn't It be nice to implement the Cairo Graphic Engine?
- Thu Sep 18, 2008 5:43 pm
- Forum: Feature Requests and Wishlists
- Topic: Type-Converting
- Replies: 3
- Views: 1196
Type-Converting
Wouldn't it be nice to convert types in a line with .type (.i, .c, .q, ...)?
Example:
Declare var1.i
Declare var2.i
Declare result.i
result = ( (var1).f / (var2).f ).i
; --------------------------------------
Declare str1.s{12} = "Hallo, Welt!"
Declare char.c
char = (str1).c + SizeOf ...
Example:
Declare var1.i
Declare var2.i
Declare result.i
result = ( (var1).f / (var2).f ).i
; --------------------------------------
Declare str1.s{12} = "Hallo, Welt!"
Declare char.c
char = (str1).c + SizeOf ...
- Sun Jun 22, 2008 8:52 pm
- Forum: Feature Requests and Wishlists
- Topic: FileGlobal Variables?
- Replies: 12
- Views: 5175
- Mon Apr 28, 2008 2:55 pm
- Forum: Feature Requests and Wishlists
- Topic: Structure in Prorotype (Structure not found)
- Replies: 1
- Views: 1210
Structure in Prorotype (Structure not found)
Code: Select all
Prototype proto(*pram.str1, *pram.str2)
Structure str1
*s.str2
EndStructure
Structure str2
l.l
EndStructure
When I comment this line is the code OK (although I use str2 in the str1 - Structure).
- Mon Apr 21, 2008 2:11 pm
- Forum: Feature Requests and Wishlists
- Topic: PrototypeFromInterface
- Replies: 3
- Views: 1264
- Mon Apr 21, 2008 1:09 pm
- Forum: Feature Requests and Wishlists
- Topic: PrototypeFromInterface
- Replies: 3
- Views: 1264
PrototypeFromInterface
I look for a compiler-function to get a property from a interface.
Example:
Interface IADsPropertyList
QueryInterface(a, b)
AddRef()
Release()
GetTypeInfoCount(a)
GetTypeInfo(a, b, c)
GetIDsOfNames(a, b, c, d, e)
Invoke(a, b, c, d, e, f, g, h)
get_PropertyCount(a)
Next(a)
Skip(a)
Reset ...
Example:
Interface IADsPropertyList
QueryInterface(a, b)
AddRef()
Release()
GetTypeInfoCount(a)
GetTypeInfo(a, b, c)
GetIDsOfNames(a, b, c, d, e)
Invoke(a, b, c, d, e, f, g, h)
get_PropertyCount(a)
Next(a)
Skip(a)
Reset ...
- Mon Mar 31, 2008 4:19 pm
- Forum: Announcement
- Topic: PureBasic 4.20 Beta 2 (Windows)
- Replies: 94
- Views: 40907
- Mon Mar 31, 2008 3:24 pm
- Forum: Announcement
- Topic: PureBasic 4.20 Beta 2 (Windows)
- Replies: 94
- Views: 40907
Re: PureBasic 4.20 Beta 2 (Windows)
How can I use that stuff?Fred wrote:Code: Select all
- Added hex and binary support for Val() and ValQ() ...
I don't found help somewhere.
- Tue Oct 09, 2007 6:54 am
- Forum: Feature Requests and Wishlists
- Topic: [Implemented] settings saving option
- Replies: 6
- Views: 1757
- Thu Oct 04, 2007 1:15 pm
- Forum: Feature Requests and Wishlists
- Topic: Prototype with LinkedList
- Replies: 9
- Views: 3380
- Wed Oct 03, 2007 3:40 pm
- Forum: Feature Requests and Wishlists
- Topic: Prototype with LinkedList
- Replies: 9
- Views: 3380
Prototype with LinkedList
Why can I not use LinkedList with prototypes?
I have build a example:
Prototype.l Callback(nValue.l)
Global NewList e_Event_Call.Callback()
Procedure Event1(nValue.l)
Debug "CALL-1: "+Str(nValue)
EndProcedure
Procedure Event2(nValue.l)
Debug "CALL-2: "+Str(nValue)
EndProcedure
Procedure Event3 ...
I have build a example:
Prototype.l Callback(nValue.l)
Global NewList e_Event_Call.Callback()
Procedure Event1(nValue.l)
Debug "CALL-1: "+Str(nValue)
EndProcedure
Procedure Event2(nValue.l)
Debug "CALL-2: "+Str(nValue)
EndProcedure
Procedure Event3 ...
- Wed Oct 03, 2007 3:29 pm
- Forum: Tricks 'n' Tips
- Topic: Office-style menus
- Replies: 57
- Views: 26114