Click here to Skip to main content
15,922,574 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: adding regsvr32 command to the VC++ project Pin
swapnaoe10-Mar-08 19:10
swapnaoe10-Mar-08 19:10 
GeneralRe: adding regsvr32 command to the VC++ project Pin
Rajkumar R10-Mar-08 20:52
Rajkumar R10-Mar-08 20:52 
GeneralRe: adding regsvr32 command to the VC++ project Pin
swapnaoe10-Mar-08 23:21
swapnaoe10-Mar-08 23:21 
GeneralRe: adding regsvr32 command to the VC++ project Pin
Rajkumar R10-Mar-08 23:29
Rajkumar R10-Mar-08 23:29 
GeneralRe: adding regsvr32 command to the VC++ project Pin
Cedric Moonen10-Mar-08 21:35
Cedric Moonen10-Mar-08 21:35 
GeneralRe: adding regsvr32 command to the VC++ project Pin
swapnaoe11-Mar-08 0:37
swapnaoe11-Mar-08 0:37 
GeneralRe: adding regsvr32 command to the VC++ project Pin
Cedric Moonen11-Mar-08 10:02
Cedric Moonen11-Mar-08 10:02 
GeneralRe: adding regsvr32 command to the VC++ project Pin
swapnaoe11-Mar-08 22:32
swapnaoe11-Mar-08 22:32 
Hey dude....
Firstly.. i will try to explore if thats possible with Inno.

Ya.. I tried to explore the VC++ IDE and found that theres an option called as Pre-Link commands. Alright heres how you reach there

Project->Settings->Pre-link step->

Under Pre-link Commands(s)

Add this command : regsvr32 .\my_dll.dll

Click ok.

Save the project and try to rebuild etc. If everything is fine, you get a msg saying my_dll.dll registered succedeed.

Now, .\ in the above line asks the compiler to find the dll in the application directory. Which is the usual practice. You can specify, the path instead but hat would be less portable.

One disadvantage with this method is that every time you run the exe, the dll is registered. Well, thats how i could find a way to register a dll within the project though not programmitically.

This for your information:
regsvr32 /u /s .\my_dll.dll
regsvr32 .\my_dll.dll

You can find something like this too. I am not sure what does it mean.

Thanks to all.

Regards
Swapna
QuestionRe: adding regsvr32 command to the VC++ project Pin
Rajesh R Subramanian10-Mar-08 0:45
professionalRajesh R Subramanian10-Mar-08 0:45 
QuestionRe: adding regsvr32 command to the VC++ project Pin
David Crow10-Mar-08 3:06
David Crow10-Mar-08 3:06 
GeneralCAMERA CAPTURE Pin
Paulraj G10-Mar-08 0:18
Paulraj G10-Mar-08 0:18 
QuestionRe: CAMERA CAPTURE Pin
CPallini10-Mar-08 0:25
mveCPallini10-Mar-08 0:25 
JokeRe: CAMERA CAPTURE Pin
Rajesh R Subramanian10-Mar-08 0:43
professionalRajesh R Subramanian10-Mar-08 0:43 
GeneralRe: CAMERA CAPTURE Pin
Paulraj G10-Mar-08 0:44
Paulraj G10-Mar-08 0:44 
QuestionRe: CAMERA CAPTURE Pin
Rajesh R Subramanian10-Mar-08 0:47
professionalRajesh R Subramanian10-Mar-08 0:47 
GeneralRe: CAMERA CAPTURE Pin
Paulraj G10-Mar-08 0:50
Paulraj G10-Mar-08 0:50 
GeneralRe: CAMERA CAPTURE Pin
Rajesh R Subramanian10-Mar-08 0:53
professionalRajesh R Subramanian10-Mar-08 0:53 
General[Message Deleted] Pin
bhat9-Mar-08 23:12
bhat9-Mar-08 23:12 
QuestionRe: Create ListView in VC++ Pin
Maxwell Chen9-Mar-08 23:14
Maxwell Chen9-Mar-08 23:14 
General[Message Deleted] Pin
bhat9-Mar-08 23:21
bhat9-Mar-08 23:21 
AnswerRe: Create ListView in VC++ Pin
Rajesh R Subramanian9-Mar-08 23:28
professionalRajesh R Subramanian9-Mar-08 23:28 
GeneralRe: Create ListView in VC++ Pin
Cedric Moonen9-Mar-08 23:16
Cedric Moonen9-Mar-08 23:16 
GeneralRe: Create ListView in VC++ Pin
ShilpiP9-Mar-08 23:30
ShilpiP9-Mar-08 23:30 
GeneralRe: [Message Deleted] Pin
Hamid_RT10-Mar-08 3:10
Hamid_RT10-Mar-08 3:10 
GeneralRe: [Message Deleted] Pin
Maxwell Chen10-Mar-08 4:39
Maxwell Chen10-Mar-08 4:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.