Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 20-09-2007, 09:06 AM   #1 (permalink)
Alpha Geek
 
saurabh.sauron's Avatar
 
Join Date: Jan 2006
Location: Middle Earth
Posts: 503
Default DLL Query


How do I register a DLL (ActiveX) during installation of a setup? I tried using Inno Setup but it says that the registration failed. For my program, registration of that component is crucial. So what do i do?
pls help
thnx
saurabh.sauron is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 20-09-2007, 11:37 AM   #2 (permalink)
Banned
 
slugger's Avatar
 
Join Date: May 2004
Location: Baudland
Posts: 2,433
Default Re: DLL Query

use d regsvr32 command

to register unregistered dll files

in Command Prompt type

regsvr32 filename.dll

for a list of parameters that can be used with this command

Regsvr32
slugger is offline  
Old 20-09-2007, 11:49 AM   #3 (permalink)
Alpha Geek
 
saurabh.sauron's Avatar
 
Join Date: Jan 2006
Location: Middle Earth
Posts: 503
Default Re: DLL Query

i tried it with axvlc.dll and libvlc.dll and it failed. i want it to register during the installation of my program. will regsvr32 help?
saurabh.sauron is offline  
Old 20-09-2007, 12:01 PM   #4 (permalink)
Banned
 
slugger's Avatar
 
Join Date: May 2004
Location: Baudland
Posts: 2,433
Default Re: DLL Query

dat command is ment for registering unregistered dll files

y dont u try it out and c wat happens

and keep us posted
slugger is offline  
Old 23-09-2007, 09:28 PM   #5 (permalink)
Alpha Geek
 
saurabh.sauron's Avatar
 
Join Date: Jan 2006
Location: Middle Earth
Posts: 503
Default Re: DLL Query

^^^didnt work. libvlc.dll and axvlc are unregistered in Vista but still that doesnt work.
saurabh.sauron is offline  
Old 24-09-2007, 01:38 PM   #6 (permalink)
I am Optimus Prime
 
navjotjsingh's Avatar
 
Join Date: Feb 2005
Location: Delhi, India
Posts: 1,919
Default Re: DLL Query

Slugger he is asking how to implement registration using Inno Setup not to fix any unregistered dll file on PC.

Saurabh - there is a function in InnoSetup - Check help file of Inno Setup.

Excerpt from Inno Setup File

Find this help in Inno Setup Help File>>Pascal Scripting>>Support Functions Reference.
You need to learn how to implement Pascal Scripting in Inno Setup.
Quote:
Prototype:
procedure RegisterServer(const Is64Bit: Boolean; const Filename: String; const FailCriticalErrors: Boolean);

Description:
Registers the DLL/OCX with the specified filename. If Is64Bit is True, the DLL/OCX will be loaded as a 64-bit image and registered in a 64-bit process. If FailCriticalErrors is True, the system will not display any critical-error-handler message boxes. Raises an exception if not successful.

Example:
begin
// Register hhctrl.ocx located in the System directory.
RegisterServer(Is64BitInstallMode, ExpandConstant('{sys}\hhctrl.ocx'), False);
end;Because we specify Is64BitInstallMode in the first parameter, it will register the 64-bit OCX in the 64-bit System directory when Setup is running in 64-bit mode. Otherwise, it will register the 32-bit OCX in the 32-bit System directory.
To unregister dlls use
Quote:
Prototype:
function UnregisterServer(const Is64Bit: Boolean; const Filename: String; const FailCriticalErrors: Boolean): Boolean;

Description:
Unregisters the DLL/OCX with the specified filename. If Is64Bit is True, the DLL/OCX will be loaded as a 64-bit image and unregistered in a 64-bit process. If FailCriticalErrors is True, the system will not display any critical-error-handler message boxes. Returns True if successful, False otherwise.
navjotjsingh is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help:SQL Query... subratabera QnA (read only) 8 31-03-2007 09:54 AM
VNC query red_hat Software Q&A 4 27-09-2006 05:35 PM
SQL Query Help enjoy Software Q&A 2 08-09-2006 09:17 AM
IE query godsownman QnA (read only) 9 05-09-2005 03:24 PM
Microtek Monitor Query and PHPBB Attachment Mod Query vwad Software Q&A 1 20-03-2005 09:32 AM

 
Latest Threads
- by tkin
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 05:24 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2