Results 1 to 2 of 2

Thread: RegCreateKey vs RegCreateKeyEx

  1. #1

    Thread Starter
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    Unhappy

    As refere to the MSDN library, I found that the RegCreateKey is for 16 bit version windows and the RegCreateKeyEx is for Win32 base application.

    So My question is, can we use the regCreateKey API in Win32 base application? or I need to use the RegCreateKeyEx API in all my Win32 base application?

    From what I can see in the [RegCreateKeyEx[/b] API, it need more arguement as compare to the RegCreateKey API.

    Regards,
    Chris.C


  2. #2
    Guest
    Yes, RegCreateKeyEx is more flexible (hence the arguments).

    You can use RegCreateKey in Win32, but it's only purpose, really, is for compatibility with Win16.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width