It is currently Sun Nov 18, 2018 6:06 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 45 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: Windows Programming: Learning more about the Win32® API.
PostPosted: Wed Jun 06, 2012 10:12 am 
Offline
Enthusiast
Enthusiast

Joined: Fri Feb 20, 2009 9:24 am
Posts: 529
Location: Almaty (Kazakhstan)
any example of using CertCreateCertificateContext and CertOpenStore and CertAddCertificateContextToStore?


Top
 Profile  
Reply with quote  
 Post subject: Re: You mentioned HelloBasic.com
PostPosted: Fri Jun 29, 2012 12:54 am 
Offline
Enthusiast
Enthusiast

Joined: Fri Jun 29, 2012 12:24 am
Posts: 189
Edwin Knoppert wrote:
Hmmm, i still wonder how the original writer knew about these links..
So we can check out newer links, if exist.


Greetings from PBnewbie,
You mentioned HelloBasic.com .
I was just there, and it mentioned a "PwrC".
Is PwrC a different dialect of "C"?
Is there such a thing as a "C Gui Designer"?
Written for "C", not necessarily, written in "C".
Thanks...Vernon

_________________
vmars.us Win10 x64 , Martin 000-16 (1995)
"All things in moderation, except for love and forgiveness."


Top
 Profile  
Reply with quote  
 Post subject: Re: Windows Programming: Learning more about the Win32® API.
PostPosted: Thu Aug 30, 2012 3:02 pm 
Offline
Enthusiast
Enthusiast

Joined: Wed Aug 03, 2011 4:52 am
Posts: 206
Location: Beirut, Lebanon
the old help files *.hlp being no more supported in W7, is there any chm version of the win32.hlp?

thanks

_________________
PureBasic: Surprisingly simple, diabolically powerful


Top
 Profile  
Reply with quote  
 Post subject: Re: Windows Programming: Learning more about the Win32® API.
PostPosted: Thu Aug 30, 2012 5:37 pm 
Offline
Always Here
Always Here

Joined: Fri Oct 23, 2009 2:33 am
Posts: 5779
Location: Wales, UK
There are some apps that can convert .hlp to .chm if necessary - Google is your friend.

_________________
IdeasVacuum
If it sounds simple, you have not grasped the complexity.


Top
 Profile  
Reply with quote  
 Post subject: Re: Windows Programming: Learning more about the Win32® API.
PostPosted: Thu Aug 30, 2012 7:17 pm 
Offline
Enthusiast
Enthusiast

Joined: Wed Aug 03, 2011 4:52 am
Posts: 206
Location: Beirut, Lebanon
I already tried and found nothing (free)

_________________
PureBasic: Surprisingly simple, diabolically powerful


Last edited by morosh on Thu Aug 30, 2012 8:40 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Windows Programming: Learning more about the Win32® API.
PostPosted: Thu Aug 30, 2012 7:49 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Apr 26, 2003 8:26 am
Posts: 2916
Location: Planet Earth
morosh wrote:
the old help files *.hlp being no more supported in W7

Install Windows Help program (WinHlp32.exe) for Windows 7


Top
 Profile  
Reply with quote  
 Post subject: Re: Windows Programming: Learning more about the Win32® API.
PostPosted: Sat Sep 06, 2014 12:34 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Apr 26, 2003 8:26 am
Posts: 2916
Location: Planet Earth
Danilo wrote:
morosh wrote:
the old help files *.hlp being no more supported in W7

Install Windows Help program (WinHlp32.exe) for Windows 7

Windows .hlp viewer for Windows 8 and Windows 8.1:

- Windows Help program (WinHlp32.exe) for Windows 8.1
- Windows Help program (WinHlp32.exe) for Windows 8


Top
 Profile  
Reply with quote  
 Post subject: Re: Windows Programming: Learning more about the Win32® API.
PostPosted: Sun Feb 15, 2015 7:45 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Feb 09, 2006 11:27 pm
Posts: 2337
Last december, a windows 8.1 update made everything worse, because it included a non-working WinHlp32.exe with a high internal version number. Now, the installed help viewer does not work and trying to update it will lead to an error telling you, that the program has already been installed.


Top
 Profile  
Reply with quote  
 Post subject: Re: Windows Programming: Learning more about the Win32® API.
PostPosted: Sun Feb 15, 2015 9:52 pm 
Offline
Always Here
Always Here

Joined: Fri Oct 23, 2009 2:33 am
Posts: 5779
Location: Wales, UK
Hopefully useful:
http://www.help-info.de/en/Help_Info_WinHelp/hw_converting.htm
http://www.herdsoft.com/linux/themen/hlp_to_chm.html
http://78.142.45.23/dataup/ind-new.php?path=TECHNO-School%2FFREE+PROGRAMS%2Fweb2text/
http://www.softlookup.com/download.asp?id=7936

_________________
IdeasVacuum
If it sounds simple, you have not grasped the complexity.


Top
 Profile  
Reply with quote  
 Post subject: Re: Windows Programming: Learning more about the Win32® API.
PostPosted: Fri Apr 22, 2016 7:24 pm 
Offline
New User
New User

Joined: Sun Dec 08, 2013 8:44 pm
Posts: 2
I found a way for hlp files to work,i tested it in my computers and help for windows api is working again..
files are in link below...

hope you find them useful...


Top
 Profile  
Reply with quote  
 Post subject: Re: Windows Programming: Learning more about the Win32® API.
PostPosted: Fri Aug 03, 2018 1:42 am 
Offline
New User
New User

Joined: Sun Apr 08, 2018 4:53 am
Posts: 1
Hello,

Thanks for the info. Interesting note, when I click on this link:
http://freak.purearea.net/help/wintypes.txt

Malwarebytes blocks this as Malware!

I would love to look at this but now I'm paranoid. :shock:


Top
 Profile  
Reply with quote  
 Post subject: Re: Windows Programming: Learning more about the Win32® API.
PostPosted: Fri Aug 03, 2018 12:14 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat Apr 26, 2003 2:15 pm
Posts: 742
Location: Cuernavaca, Mexico
kranilius wrote:
Hello,

Thanks for the info. Interesting note, when I click on this link:
http://freak.purearea.net/help/wintypes.txt

Malwarebytes blocks this as Malware!

I would love to look at this but now I'm paranoid. :shock:


I believe this is the file (from 2010).

Code:
;   *****************************************************************
;   *                                                *
;   *   How to use Windows API Types with PureBasic               *
;   *                                                *
;   *   by Timo Harter, known As Freak                      *
;   *                                                *
;   *****************************************************************

;   
;   - Note, that there are a lot of Types in Windows, that can be replaced
;     by the same PB VAlue, mostly LONG. The reason that there are a lot of
;     different Types, is that there are different Types For different jobs,
;     but As you can see, they are all replaced by LONG.

;   - By String, NULL-terminated Strings are meant.

;   - Types are Not in alphabetical Order, use a Search Function, To find
;     what you need.

;   - Finally:  Feel the _Pure_ Power !!

;   *****************************************************************

;   

;   Following are Windows Types, And the PB Types, you can use For them (For LONG, see further down)
;   *****************************************************************

;   VOID          Void means no Variable, A Function With VOID As argument has no argument.
;   CONST          Constant, any of Type.
;   UNSIGNED       Unsigned Attribute (use normal Type, And fill With HEX Values, get Results With StrU() )

;   BOOL Or BOOLEAN    #True (1), Or #False (0) - can BYTE, WORD And LONG
;   FLOAT          FLOAT
;   BYTE          BYTE
;   SHORT Or WORD      WORD
;   USHORT          Unsigned SHORT (use WORD, And fill it With HEX Values, For results, use StrU() )
;   CHAR          Character, use BYTE
;   UCHAR                   Unsigned CHAR (use BYTE, And StrU() Or HEX Values)
;   WCHAR                   16-bit Unicode character, use WORD
;   TBYTE          A WCHAR If UNICODE is defined, a CHAR otherwise.
;   TCHAR          A WCHAR If UNICODE is defined, a CHAR otherwise.

;   

;   Following are Windows Types, that can't be used directly from PB
;   *****************************************************************

;   ATOM         ATOM Tables are Sytem-defined String tables, there's no PB-Type for that.
;   REGSAM                  Security access mask For registry key, Not bound To a Type
;   WINAPI                  Calling convention For system functions, that's no Type
;   CALLBACK       Calling convention For callback functions, also no Type
;   CRITICAL_SECTION    Critical Section VAriable, don't know of what Type
;   LUID          Locally unique identifier. (DOUBLE Value) To be accessed only by Functions, Not directly
;   SIZE_T          The maximum number of bytes To which a pointer can point. Use For a count that must span the full          range of a pointer.
;   SSIZE_T       Signed SIZE_T.

;   

;   Following are Windows Types, that can be replaced by LONG type.
;   *****************************************************************

;   DWORD
;   DWORD32
;   DWORD_PTR       (used For Pointers)
;   INT 
;   INT_PTR       (Pointers)
;   INT32
;   LONG
;   LONG_PTR       (Pointers)
;   LONG32

;   COLORREF       Color Format (RGB) (LONG With Value $000000 - $FFFFFF)
;   LPARAM          Message parameter, use LONG
;   WPARAM          Message parameter, use LONG
;   LRESULT                 Signed result of message processing, use LONG
;   LANGID          Language identifier, use LONG
;   LCID         Locale identifier, use LONG
;   LCTYPE          Locale information type, LONG

;   

;   Following are Windows Types, that could be replaced by UNSIGNED LONG
;   (use LONG, And fill them With HEX Values, For getting results, use StrU() )
;   *****************************************************************

;   UINT
;   UINT_PTR (For Pointers)
;   UINT32
;   ULONG
;   ULONG_PTR (For Pointers)
;   ULONG32

;   

;   Following are Windows Types, meaning DOUBLE (Not supported yet)
;   *****************************************************************

;   DWORD64
;   INT64
;   LONG64
;   LONGLONG
;   UINT64   (unsigned)
;   ULONG64 (unsigned)
;   ULONGLONG (unsigned)

;   

;   Following are Handles (thay identify Windows, Bitmaps, etc.), they are always LONG
;   *****************************************************************

;   HACCEL          Handle To an accelerator table.
;   HANDLE          Handle To an object.
;   HBITMAP       Handle To a bitmap.
;   HBRUSH          Handle To a brush.
;   HCONV          Handle To a dynamic Data exchange (DDE) conversation.
;   HCONVLIST       Handle To a DDE conversation List.
;   HCURSOR       Handle To a cursor.
;   HDC          Handle To a device context (DC).
;   HDDEDATA       Handle To DDE Data.
;   HDESK          Handle To a desktop.
;   HDROP          Handle To an internal drop Structure.
;   HDWP          Handle To a deferred window position Structure.
;   HENHMETAFILE       Handle To an enhanced metafile.
;   HFILE          Handle To a file opened by OpenFile, Not CreateFile.
;   HFONT          Handle To a font.
;   HGDIOBJ       Handle To a GDI object.
;   HGLOBAL       Handle To a Global memory block.
;   HHOOK          Handle To a hook.
;   HICON          Handle To an icon.
;   HIMAGELIST       Handle To an image List.
;   HIMC          Handle To input context.
;   HINSTANCE       Handle To an instance.
;   HKEY          Handle To a registry key.
;   HKL          Input locale identifier.
;   HLOCAL          Handle To a local memory block.
;   HMENU          Handle To a menu.
;   HMETAFILE       Handle To a metafile.
;   HMODULE       Handle To a Module.
;   HMONITOR       Handle To a display monitor.
;   HPALETTE       Handle To a palette.
;   HPEN          Handle To a pen.
;   HRGN          Handle To a region.
;   HRSRC          Handle To a resource.
;   HSZ          Handle To a DDE string.
;   HWINSTA       Handle To a window station.
;   HWND          Handle To a Window.
;   SC_HANDLE       Handle To a service control manager database.
;   SC_LOCK       Handle To a service control manager database lock.
;   SERVICE_STATUS_HANDLE    Handle To a service status value.

;   

;   Following are Pointers (Memory adresses To Structures/Variables), they are also LONG
;   *****************************************************************

;   LPBOOL          Pointer To a BOOL.
;   LPBYTE          Pointer To a BYTE.
;   LPCOLORREF       Pointer To a COLORREF value.
;   LPCRITICAL_SECTION    Pointer To a CRITICAL_SECTION.
;   LPCSTR          Pointer To a constant String.
;   LPCTSTR       An LPCWSTR If UNICODE is defined, an LPCSTR otherwise.
;   LPCVOID       Pointer To a constant of any type.
;   LPCWSTR       Pointer To a constant string of 16-bit Unicode characters.
;   LPDWORD       Pointer To a DWORD.
;   LPHANDLE       Pointer To a HANDLE.
;   LPINT          Pointer To an INT.
;   LPLONG          Pointer To a LONG.
;   LPSTR          Pointer To a string
;   LPTSTR          An LPWSTR If UNICODE is defined, an LPSTR otherwise.
;   LPVOID          Pointer To any type.
;   LPWORD          Pointer To a WORD.
;   LPWSTR          Pointer To a string of 16-bit Unicode characters.
;   PBOOL          Pointer To a BOOL.
;   PBOOLEAN       Pointer To a BOOL.
;   PBYTE          Pointer To a BYTE.
;   PCHAR          Pointer To a CHAR.
;   PCRITICAL_SECTION    Pointer To a CRITICAL_SECTION.
;   PCSTR          Pointer To a string
;   PCTSTR          A PCWSTR If UNICODE is defined, a PCSTR otherwise.
;   PCWCH          Pointer To a constant WCHAR.
;   PCWSTR          Pointer To a constant string of 16-bit Unicode characters.
;   PDWORD          Pointer To a DWORD.
;   PFLOAT          Pointer To a FLOAT.
;   PHANDLE       Pointer To a HANDLE.
;   PHKEY          Pointer To an HKEY.
;   PINT          Pointer To an INT.
;   PLCID          Pointer To an LCID.
;   PLONG          Pointer To a LONG.
;   PLUID          Pointer To a LUID.
;   POINTER_32       32-bit pointer.
;   POINTER_64       64-bit pointer. On a 64-bit system, this is a native pointer. On a 32-bit system, this is a             sign-extended 32-bit pointer.
;   PSHORT          Pointer To a SHORT.
;   PSTR          Pointer To a string
;   PTBYTE          Pointer To a TBYTE.
;   PTCHAR          Pointer To a TCHAR.
;   PTSTR          A PWSTR If UNICODE is defined, a PSTR otherwise.
;   PUCHAR          Pointer To a UCHAR.
;   PUINT          Pointer To a UINT.
;   PULONG          Pointer To a ULONG.
;   PUSHORT       Pointer To a USHORT.
;   PVOID          Pointer To any type.
;   PWCHAR          Pointer To a WCHAR.
;   PWORD          Pointer To a WORD.
;   PWSTR          Pointer To a string of 16-bit Unicode characters.

;   
;   *****************************************************************

_________________
- It was too lonely at the top.


Top
 Profile  
Reply with quote  
 Post subject: Re: Windows Programming: Learning more about the Win32® API.
PostPosted: Wed Aug 15, 2018 12:10 pm 
Offline
Moderator
Moderator
User avatar

Joined: Thu Dec 31, 2009 11:05 pm
Posts: 665
Location: Berlin and Ibiza
Or: https://www.rsbasic.de/aktualisierung/w ... rtieren.pb

_________________
ImageImageImageImageImage


Top
 Profile  
Reply with quote  
 Post subject: Re: Windows Programming: Learning more about the Win32® API.
PostPosted: Wed Aug 15, 2018 12:58 pm 
Offline
Addict
Addict
User avatar

Joined: Fri May 12, 2006 6:51 pm
Posts: 1444
Location: Germany
Pointer always Integer, not Long :!: :!: :!:

_________________
My Projects OOP-BaseClass / OOP-BaseClassDispatch / Event-Designer /
PB v3.30 / v5.60 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace


Top
 Profile  
Reply with quote  
 Post subject: Re: Windows Programming: Learning more about the Win32® API.
PostPosted: Tue Oct 23, 2018 11:06 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Jan 22, 2009 3:48 am
Posts: 475
Location: china
Win32.chm
https://forum.powerbasic.com/forum/user ... -win32-chm

_________________
my pb for chinese:
http://ataorj.ys168.com


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 45 posts ]  Go to page Previous  1, 2, 3

All times are UTC + 1 hour


Who is online

Users browsing this forum: Justin and 12 guests


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