It is currently Sat Nov 25, 2017 3:00 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Windows F.A.Q. for PureBasic
PostPosted: Mon Sep 22, 2008 2:55 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Feb 19, 2005 5:05 pm
Posts: 1769
Location: Norway
(This is a complement to the PureBasic General F.A.Q. Hopefully you can find similar ones in the Mac and Linux sections too.)

Windows Frequently Asked Questions

General

Guides
PureBasic General F.A.Q. viewtopic.php?t=4876
Windows Programming: Learning more about the Win32® API. viewtopic.php?t=10046
Windows Vista User Experience Guidelines http://msdn.microsoft.com/en-us/library/aa511258.aspx
Windows Vista/XP/2000 User Experience Guidelines PDF http://www.microsoft.com/downloads/resu ... layLang=en
Data Type Ranges http://msdn.microsoft.com/en-us/library/s3f49ktz.aspx
Windows Data Types http://msdn.microsoft.com/en-us/library ... 85%29.aspx
Windows API functions listed by Windows release http://msdn.microsoft.com/en-us/library ... 85%29.aspx
The n Habits of Highly Defective Windows Applications http://www.flounder.com/badprogram.htm

Tools
Tool to lookup all the weird Windows API definitions types! viewtopic.php?t=36689


Documents

How do I clear the recent documents menu?
SHAddToRecentDocs_(2,0)

How do I add a document to the recent documents menu?
SHAddToRecentDocs_(2,file$)


GUI

Vista / Windows 7 and DPI, font and Window scaling!
viewtopic.php?f=12&t=40507


Keyboard

How do I send keystrokes to another application?
viewtopic.php?t=3766


Reboot

How do I reboot or shutdown my PC?
viewtopic.php?t=3808


Screenshots

How do I take a screenshot of the Desktop?
viewtopic.php?t=3695


Shortcuts

How do I create a shortcut to a file?
viewtopic.php?t=8668


Last edited by Rescator on Tue Jan 18, 2011 12:47 am, edited 8 times in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Dec 14, 2008 8:43 am 
Offline
Addict
Addict
User avatar

Joined: Sat Feb 19, 2005 5:05 pm
Posts: 1769
Location: Norway
Added two useful links for those times you need to port some C or C++ source code.

Data Type Ranges http://msdn.microsoft.com/en-us/library/s3f49ktz.aspx
This page shows you what the base types are, so you know how much space a int needs and so on.

Windows Data Types http://msdn.microsoft.com/en-us/library ... 85%29.aspx
This page shows you what all those darn typedefs are.

Together those two urls should let you figure out things like a HDC actually being a HANDLE which is a int which actually is a 4byte data type aka a long in PureBasic.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Jan 03, 2009 11:05 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Feb 19, 2005 5:05 pm
Posts: 1769
Location: Norway
Added url to Kale's thread about Win32 API resources http://www.purebasic.fr/english/viewtopic.php?t=10046


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Mar 11, 2009 9:28 am 
Offline
Addict
Addict
User avatar

Joined: Sat Feb 19, 2005 5:05 pm
Posts: 1769
Location: Norway
Added: Tools
Tool to lookup all the weird Windows API definitions types! http://www.purebasic.fr/english/viewtopic.php?t=36689


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Mar 13, 2009 3:41 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Feb 19, 2005 5:05 pm
Posts: 1769
Location: Norway
Added: Guides
Windows API functions listed by Windows release http://msdn.microsoft.com/en-us/library ... 85%29.aspx

Something I stumbled across, nice if you want to know which feature was added in which Windows release.


Top
 Profile  
Reply with quote  
 Post subject: Re: Windows F.A.Q. for PureBasic
PostPosted: Mon Sep 21, 2009 7:16 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Feb 19, 2005 5:05 pm
Posts: 1769
Location: Norway
Added: The n Habits of Highly Defective Windows Applications http://www.flounder.com/badprogram.htm

If you are concerned about stable OS friendly multitasking and multithreaded programs I consider this one required reading!


Top
 Profile  
Reply with quote  
 Post subject: Re: Windows F.A.Q. for PureBasic
PostPosted: Tue Jan 18, 2011 12:48 am 
Offline
Addict
Addict
User avatar

Joined: Sat Feb 19, 2005 5:05 pm
Posts: 1769
Location: Norway
Added: Vista / Windows 7 and DPI, font and Window scaling!
viewtopic.php?f=12&t=40507


Top
 Profile  
Reply with quote  
 Post subject: Re: Windows F.A.Q. for PureBasic
PostPosted: Wed Jan 09, 2013 10:41 am 
Offline
User
User
User avatar

Joined: Sun Oct 30, 2005 7:55 pm
Posts: 24
Please add that trying to use a 32bit dll with the windows 64bit purebasic often doesnt work and that the return code from openlib() should ALWAYS be checked.
:idea:


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye