Call DLL: size of word, double word, long

Got a problem you cannot solve? Try here.
Post Reply
JochenBaier
Posts: 4
Joined: Sat Dec 12, 2015 12:04 pm

Call DLL: size of word, double word, long

Post by JochenBaier »

Hello,

i wonder what is the size of the "Call dll Function" parameters in bytes? word, double word, long
What C data types are used internally by InstallAware to call the function?

Thanks Jochen
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Call DLL: size of word, double word, long

Post by FrancescoT »

Dear Jochen,

I am sure you can understand why I cannot share such details... I can only say that the call stack gets dynamically allocated.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
JochenBaier
Posts: 4
Joined: Sat Dec 12, 2015 12:04 pm

Re: Call DLL: size of word, double word, long

Post by JochenBaier »

FrancescoT wrote:Dear Jochen,

I am sure you can understand why I cannot share such details... I can only say that the call stack gets dynamically allocated.

Regards
Hi,

actually not, because this information is important to use the API correct. Which Function Parameter Types (Word, Double Word etc) do i need to call this function:

void (int8_t a, int16_t b, int32_t c, uint8_t d, uint16_t e , uint32_t f);

Thank You, Jochen
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Call DLL: size of word, double word, long

Post by FrancescoT »

Dear Jochen,

if I haven't missed your original question, you was asking how the "Call Dll Function" is capable to handle the called function stack.

...but it seems that I have totally missed your question indeed!

Anyway, for all your function types you may use the "long type parameter" with the "Call Dll Function".

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
JochenBaier
Posts: 4
Joined: Sat Dec 12, 2015 12:04 pm

Re: Call DLL: size of word, double word, long

Post by JochenBaier »

FrancescoT wrote:Dear Jochen,

if I haven't missed your original question, you was asking how the "Call Dll Function" is capable to handle the called function stack.

...but it seems that I have totally missed your question indeed!

Anyway, for all your function types you may use the "long type parameter" with the "Call Dll Function".

Hope this helps you.

Regards
Thank you Francesco
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Call DLL: size of word, double word, long

Post by FrancescoT »

:D
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply