How too resolve EXTERN DLL USAGE error on validation stage on market ?

 
Hi,
i use this code for me new EA :
#include <WinUser32.mqh>
#import "user32.dll"
int GetAncestor(int, int);
#define MT4_WMCMD_EXPERTS  33020 
#import

Mql don't allow dll import to send on market.
it seems i need to use ResourceCreate function to duplicate the file ?

I tried something like this 

bool ResourceCreate("user32.dll","C:/Windows/System32/")

instead 

import "user32.dll"

But the syntax is wrong.

I'm lost, could someone explain to me how I can insert the dll into my EA so that it is not rejected at the validation stage?
Thanks a lot

 
HEGUI Morad :
Hi,
i use this code for me new EA :

Mql don't allow dll import to send on market.
it seems i need to use  ResourceCreate function to duplicate the file ?

I tried something like this 

instead 

But the syntax is wrong.

I'm lost, could someone explain to me how I can insert the dll into my EA so that it is not rejected at the validation stage?
Thanks a lot

DLLs are prohibited in the Market. This is written in the rules of the Market.

 
Vladimir Karputov #:

DLLs are prohibited in the Market. This is written in the rules of the Market.

Yes that's what I thought I understood but then, how is it possible to simulate user commands without loading a dll?

 
HEGUI Morad #:

Yes that's what I thought I understood but then, how is it possible to simulate user commands without loading a dll?

It is not possible.