Forums de Wizou

Pour discuter des programmes de Wizou
It is currently Sat 27 Apr 2024, 19:11

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: NSIS AND DLL
PostPosted: Mon 20 Aug 2012, 23:40 
Offline

Joined: Mon 20 Aug 2012, 23:16
Posts: 1
Hi guys!
I have a trouble that I am not able to resolve since 1 month at work.
I'am using nsis 2.46 , the last version. When I call a function from dll that
doesn't have parameter,there is not any error. But when I call another function
of the same dll having parameters,I got the message "error" on the register result.
How can I call a function having parameters from dll?
System::Call "checkInfo(i r0, i r1, t .r2)i .r3" : this call of function doesn't work.
thanks for your help.


Top
 Profile E-mail  
 
 Post subject: Re: NSIS AND DLL
PostPosted: Sat 25 Aug 2012, 00:31 
Offline
Site Admin

Joined: Sat 06 Aug 2005, 16:35
Posts: 719
you need to specify the name of the dll you're calling, before the function name, like
Code:
System::Call "user32::MessageBox(p $HWNDPARENT, t 'NSIS System Plug-in', t 'Test', i 0)"


and are you calling ANSI/Unicode variant ?

if you can, give the precise function prototype you're trying to call

_________________
Le site Web de Wizou: http://wizou.fr


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group