Click here to Skip to main content
15,913,229 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: STL Iterator question Pin
Jon Hulatt14-Oct-02 0:06
Jon Hulatt14-Oct-02 0:06 
GeneralRe: STL Iterator question Pin
Joaquín M López Muñoz14-Oct-02 0:24
Joaquín M López Muñoz14-Oct-02 0:24 
GeneralRe: STL Iterator question Pin
Senkwe Chanda14-Oct-02 0:12
Senkwe Chanda14-Oct-02 0:12 
QuestionHow to get text in CHtmlView at position that mouse clicked? Pin
sonshiro13-Oct-02 23:17
sonshiro13-Oct-02 23:17 
AnswerRe: How to get text in CHtmlView at position that mouse clicked? Pin
Stephane Rodriguez.13-Oct-02 23:36
Stephane Rodriguez.13-Oct-02 23:36 
GeneralVC6 - Some Redistributing question Pin
Seven Heaven13-Oct-02 23:13
sussSeven Heaven13-Oct-02 23:13 
GeneralRe: VC6 - Some Redistributing question Pin
Stephane Rodriguez.13-Oct-02 23:27
Stephane Rodriguez.13-Oct-02 23:27 
GeneralRe: VC6 - Some Redistributing question Pin
Anonymous14-Oct-02 0:10
Anonymous14-Oct-02 0:10 
Hello Stephane
first of all, thank you A LOT for your fast reply

1)
>>If you use MFC as shared dll (default behaviour) then yes redistrubtion problems arise.

Unfortunately VC 6 standard allows only mfc shared dll linking so i have no choice Frown | :(

1b)
>>Be warned, if <winsysdir>mfc42.dll is already installed (but in an older version) and locked by another process, then you won't be able to overwrite it until next boot-time. And you'll have to add a win.ini entry and stuff ==> use InstallShield for this purpose instead

VC 6 standard doesn't ship InstallShield, so i use Inno Setup free installer with a statement like (if installing in the default sys dir, otherwise, as i would like to do, in the app dir itself just cut the destidir section):

Source: "c:\vcfiles\mfc42.dll"; DestDir: "{sys}"; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall regserver

; alwaysskipifsameorolder and the Flag uninsneveruninstall on all of the above files,
; since you would not want to potentially overwrite newer versions of the existing files
; with older ones, nor would you want the uninstaller to ever delete them.

>you won't be able to overwrite it until next boot-time. And you'll have to add a win.ini entry and stuff

Could you kindly tell me what win.ini entry and stuff would be required?

2) OK Smile | :)

3) OK, i think Innosetup can do the regserv stuff too

x) you are right, anyway with Inno Setup i can write something like below:

; Administrative privileges are required
; In order for the files with the restartreplace flag to install successfully
; on Windows NT and 2000, the user must have administrative privileges.
; By default, Inno Setup installations do not check for administrative privileges.
; It is recommended that make your installation script check for this,
; by setting the AdminPrivilegesRequired [Setup] section directive:

; [Setup]
; ...
; AdminPrivilegesRequired=1
; ...

; If this is not done, and the user doesn't have administrative privileges,
; an "Access Denied" error message will be displayed during the installation.

y)
>> To manage .msi files (and embed .msm MFC merge modules), use either VisualStudio Installer, or InstallShield 7, or upgrade to VC7.

Do you know if the only way to get this upgrade would be to purchase the full Visual Studio .NET or maybe they sell just only the VC7 as a separated product?

Again thanks a lot in advance for your * very appreciated * help!

Joe
GeneralRe: VC6 - Some Redistributing question Pin
Stephane Rodriguez.14-Oct-02 0:22
Stephane Rodriguez.14-Oct-02 0:22 
GeneralAdo trouble Pin
stevenson13-Oct-02 23:11
stevenson13-Oct-02 23:11 
GeneralRe: Ado trouble Pin
Jon Hulatt14-Oct-02 0:07
Jon Hulatt14-Oct-02 0:07 
GeneralRe: Ado trouble Pin
stevenson14-Oct-02 14:08
stevenson14-Oct-02 14:08 
Generalmissing "eh.h" file!!! Pin
John Bosko13-Oct-02 23:03
John Bosko13-Oct-02 23:03 
GeneralRe: missing "eh.h" file!!! Pin
Joaquín M López Muñoz14-Oct-02 0:04
Joaquín M López Muñoz14-Oct-02 0:04 
GeneralRe: missing "eh.h" file!!! Pin
John Bosko14-Oct-02 1:22
John Bosko14-Oct-02 1:22 
Questionhow set Cursor spot Position? Pin
wangyiming13-Oct-02 22:37
wangyiming13-Oct-02 22:37 
AnswerRe: how set Cursor spot Position? Pin
rjuncu13-Oct-02 23:29
rjuncu13-Oct-02 23:29 
GeneralRe: how set Cursor spot Position? Pin
wangyiming14-Oct-02 18:31
wangyiming14-Oct-02 18:31 
QuestionHow to redraw background after SWP_NOREDRAW? Pin
Hiusing13-Oct-02 21:58
Hiusing13-Oct-02 21:58 
QuestionPassword checker....? Pin
13-Oct-02 20:48
suss13-Oct-02 20:48 
AnswerRe: Password checker....? Pin
Cornelis15-Oct-02 23:34
Cornelis15-Oct-02 23:34 
QuestionHow to get the resource id of a CPropertyPage? Pin
Daniel Strigl13-Oct-02 20:19
Daniel Strigl13-Oct-02 20:19 
AnswerRe: How to get the resource id of a CPropertyPage? Pin
Jon Hulatt13-Oct-02 21:33
Jon Hulatt13-Oct-02 21:33 
GeneralRe: How to get the resource id of a CPropertyPage? Pin
Daniel Strigl13-Oct-02 22:01
Daniel Strigl13-Oct-02 22:01 
GeneralUsing DirectSound API in MFC application Pin
Member 10570213-Oct-02 20:09
Member 10570213-Oct-02 20:09 

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.