use a single parameter as a pointer to a structure with whatever parameters you want.
Fill a structure with the parameters for the job the thread is designed to do and pass a pointer to it to the thread.
Search found 44 matches
- Fri Jun 17, 2005 7:57 am
- Forum: Coding Questions
- Topic: Threads and multiple parameters....
- Replies: 5
- Views: 2177
- Fri Jun 10, 2005 4:07 am
- Forum: Coding Questions
- Topic: What is the ImageID? Pointer? hBitmap?
- Replies: 4
- Views: 1499
Made Some Progress
It seems that
StartDrawing(ImageOutput())
Will pass me an hDC to the pic and if I pass that the new app can BitBlt off the hDC to get the data and it works. I suspect there are more operations happening here than necessary though. ImageOutput() seems to deliver me yet another type of image ID and ...
StartDrawing(ImageOutput())
Will pass me an hDC to the pic and if I pass that the new app can BitBlt off the hDC to get the data and it works. I suspect there are more operations happening here than necessary though. ImageOutput() seems to deliver me yet another type of image ID and ...
- Fri Jun 10, 2005 1:42 am
- Forum: Coding Questions
- Topic: What is the ImageID? Pointer? hBitmap?
- Replies: 4
- Views: 1499
Thanks1, but still confused
The LoadImage docs say
Load the specified image. If #PB_Any is used as '#Image' parameter, the new image identifier will be returned as 'Result'. The image can be in BMP, icon or any other format supported by the ImagePlugin library. If the function fails, 0 is returned, else all is fine. The ...
Load the specified image. If #PB_Any is used as '#Image' parameter, the new image identifier will be returned as 'Result'. The image can be in BMP, icon or any other format supported by the ImagePlugin library. If the function fails, 0 is returned, else all is fine. The ...
- Thu Jun 09, 2005 9:34 am
- Forum: Coding Questions
- Topic: What is the ImageID? Pointer? hBitmap?
- Replies: 4
- Views: 1499
What is the ImageID? Pointer? hBitmap?
I want to create a DLL that loads a png or jpg and passes this back to the calling application. This application might not be a PB app so I need to know how to use this number.
So, I have a number returned by LoadImage, it's global so it can be passed back but what is it?
An hDC, hBitmap, Pointer ...
So, I have a number returned by LoadImage, it's global so it can be passed back but what is it?
An hDC, hBitmap, Pointer ...
- Fri Jun 25, 2004 3:44 am
- Forum: Linux
- Topic: Latest Linux version
- Replies: 4
- Views: 2387
Cheers
Thanks, I'll have to sort through my old email at home and find my login name!
- Fri Jun 25, 2004 3:10 am
- Forum: Linux
- Topic: Latest Linux version
- Replies: 4
- Views: 2387
Check the user account?
Sorry, My mind is in reverse today,
what do you mean?
what do you mean?
- Thu Jun 24, 2004 2:18 pm
- Forum: Linux
- Topic: Latest Linux version
- Replies: 4
- Views: 2387
Latest Linux version
What is the current version of PB for linux and where/how can I get it.
I don't think I have a version since 3.50.
I seem to recall having to email someone to ask for that one but I really can't remember.
Any pointers in the right direction?
Cheers
I don't think I have a version since 3.50.
I seem to recall having to email someone to ask for that one but I really can't remember.
Any pointers in the right direction?
Cheers
- Mon Jun 21, 2004 4:40 am
- Forum: Coding Questions
- Topic: Linux Beginner
- Replies: 3
- Views: 1282
I'll re read
I used the install file and copy pasted the cp commands to put everything where I assume it's supposed to be, I noticed and pbcompiler and fasm went to /usr/bin and something else went to /usr/share. I'll check when I get home. I don't recall moving the libs though and that's what the error was ...
- Sat Jun 19, 2004 3:53 am
- Forum: Coding Questions
- Topic: Linux Beginner
- Replies: 3
- Views: 1282
Linux Beginner
I've installed as per the install file for linux, but I really have no clue what I'm doing on linux. Any getting started docs around? I assume that I need to find some editor of my own like a built in one.
I tried to compile one of the examples and got
Can't load any PureLibraries ! Please re ...
I tried to compile one of the examples and got
Can't load any PureLibraries ! Please re ...
- Wed Nov 26, 2003 10:27 am
- Forum: Coding Questions
- Topic: Need help converting 'trainer' to PureBasic
- Replies: 25
- Views: 10243
- Wed Nov 26, 2003 1:03 am
- Forum: Coding Questions
- Topic: Need help converting 'trainer' to PureBasic
- Replies: 25
- Views: 10243
- Tue Nov 25, 2003 4:48 am
- Forum: Coding Questions
- Topic: Need help converting 'trainer' to PureBasic
- Replies: 25
- Views: 10243
- Mon Nov 17, 2003 9:54 am
- Forum: General Discussion
- Topic: Console App: hiding password input text??
- Replies: 6
- Views: 2655
- Mon Nov 17, 2003 2:37 am
- Forum: General Discussion
- Topic: Threaded Server Question
- Replies: 8
- Views: 3144
- Mon Nov 17, 2003 2:17 am
- Forum: General Discussion
- Topic: Console App: hiding password input text??
- Replies: 6
- Views: 2655
Thanks!
That sort of points me in the right direction. I want people to be able to backspace so I'll have to catch that.
Is there a way to catch the current location of the cursor on the screen so I can decriment it and move it back a place. I know I can set it's location but if I don't know where ...
That sort of points me in the right direction. I want people to be able to backspace so I'll have to catch that.
Is there a way to catch the current location of the cursor on the screen so I can decriment it and move it back a place. I know I can set it's location but if I don't know where ...