Hello,
during porting installer from IA10 to IA18 I've found strange behavior using 'Call DLL function'. I call kernel32->GetDriveType. Installer build with IA10 returnd DRIVE_FIXED (3) what is right, but installer build with IA18 returns DRIVE_NO_ROOT_DIR (1) what is wrong.
Do someone have idea what is going on?
Jarek
IA10->IA18 porting problem with CallDLLfunction
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: IA10->IA18 porting problem with CallDLLfunction
Dear Jarek,
Are you calling "GetDriveTypeA" or "GetDriveTypeW" (depending if you want to use the ANSI or the UNICODE function version)?
... it seems you are using a wrong function name.
Regards
Are you calling "GetDriveTypeA" or "GetDriveTypeW" (depending if you want to use the ANSI or the UNICODE function version)?
... it seems you are using a wrong function name.
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
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
Re: IA10->IA18 porting problem with CallDLLfunction
I've called GetDriveType - with IA10 it returned ANSI info. I've changed it to GetDriveTypeA and works fine with IA10 and IA18.
Great thanks for help
Jarek
Great thanks for help
Jarek
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: IA10->IA18 porting problem with CallDLLfunction

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
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
Who is online
Users browsing this forum: Majestic-12 [Bot] and 103 guests