Call DLL: size of word, double word, long

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

Call DLL: size of word, double word, long

Postby JochenBaier » Tue Feb 23, 2016 12:49 pm

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

Postby FrancescoT » Tue Feb 23, 2016 1:54 pm

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

Postby JochenBaier » Wed Feb 24, 2016 10:33 am

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

Postby FrancescoT » Wed Feb 24, 2016 12:40 pm

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

Postby JochenBaier » Thu Feb 25, 2016 1:06 pm

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

Postby FrancescoT » Mon Feb 29, 2016 12:14 pm

: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


Return to “Technical Support”

Who is online

Users browsing this forum: Bing [Bot] and 140 guests