Author Topic: I have updated the advapi32.lib and advapi.inc. for CreateProcessWithTokenW.  (Read 722 times)

AsmAlmeria12

  • Member
  • **
  • Posts: 65

I have updated the advapi32.lib and advapi.inc. To be able to work with the CreateProcessWithTokenW function.
The case is that Easy Code does not show me in red, the name of the function, or the arguments of the function. And if I compile, it gives no mistakes. I have to update something in easy code, to show me the arguments of the function ?.

The advapi32.lib, I have taken it from the Windows 10 SDK and the advapi32.inc, I have created it with the utility of masm32 l2inc.exe

Thank you,

rsala

  • Moderator
  • Member
  • *****
  • Posts: 322
    • Easy Code
Hi AsmAlmeria12,

Thank you for reporting that issue and for using Easy Code.

The problem is that the CreateProcessWithTokenW function is not listed in the 'ApiCalls.txt' file (located in the '\EasyCode\Api' folder). It will be added for next versions of EC v2, but meanwhile you can download the attached file and unzip it, then replace the 'ApiCalls.txt', in the '\EasyCode\Api' folder, with the one you downloaded and unzipped.


Regards.

WARNING: Not all API functions are listed in the 'ApiCalls.txt' file.
EC coder

AsmAlmeria12

  • Member
  • **
  • Posts: 65

Thank you very much Ramon, happy holidays.

rsala

  • Moderator
  • Member
  • *****
  • Posts: 322
    • Easy Code
Thank you, happy holidays to you too!
EC coder