The MASM Forum

Projects => Easy Code IDE 32/64-bit => Topic started by: Fraile on December 27, 2019, 11:40:50 PM

Title: I have updated the advapi32.lib and advapi.inc. for CreateProcessWithTokenW.
Post by: Fraile on December 27, 2019, 11:40:50 PM

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,
Title: Re: I have updated the advapi32.lib and advapi.inc. for CreateProcessWithTokenW.
Post by: rsala on December 28, 2019, 06:58:39 AM
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.
Title: Re: I have updated the advapi32.lib and advapi.inc. for CreateProcessWithTokenW.
Post by: Fraile on December 30, 2019, 08:47:12 PM

Thank you very much Ramon, happy holidays.
Title: Re: I have updated the advapi32.lib and advapi.inc. for CreateProcessWithTokenW.
Post by: rsala on December 31, 2019, 09:48:32 PM
Thank you, happy holidays to you too!