15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


VC++ 4.0 and Win32S

Borenstein Andrei -- boren@actcom.co.il
Wednesday, April 03, 1996

[Moderator's note: Since he says Win32S, I'm going to assume
that the target is Win 3.1.  If it really matters, then don't
answer the question.]

Hello,

We are developing an application targeted currently for Win32S .
Till version 4.0 nothing special shouldn't be done to create an 
application 
targeted for Win32S.
The application is using static MFC (not DLL)

The documentation is misleading for me. It states: 

   MFC _USRDLLs are not supported on Win32s in the default configuration 
   because the C run-time library (LIBCMT.LIB) does not support Win32s.  
   You can build a special version of MFC that uses MSVCRT.LIB 
   (i.e. change the makefile to use /MD instead of /ML) 
   and use that special version instead. 
   You will, of course, need to redistribute MSVCRT40.DLL with 
   your application.

What does it mean ? Shopuld I link my application with MSVCRT.LIB run time
library instead of LIBCMT.LIB ? 

In another place there is written : 
   
   To use MFC 4.0 and OLE on Win32s, you must first run the following 
commands, using the Run command 
   on the File menu in Program Manager:
  
	[drive:\VC++ path]\regsvr32 /s mfc40.dll
	[drive:\VC++ path]\regsvr32 /s olepro32.dll

Does it mean that I MUST use a DLL based MFC application ?

Could anybody clarify me these issues ?

Thanks in advance , 

Andrei Borenstein.

 			     //=====================================\\   
 			    //    Andrei Borenstein, SD Ltd.         \\  
 			   < P.O. Box 101, Migdal Haemek, ISRAEL 10551 > 
 			   \\ Tel. (972)6-547567 , FAX (972)6-547507 //  
 			    \\      E-mail :  boren@actcom.co.il    //   
 			     \\         CIS: 100274,2710           //    
 			      \\==================================//     





Dan Kirby -- dkirby@accessone.com
Friday, April 05, 1996

With VC++ 4.0, build a Regular DLL and you don't have to do anything special.  This will use C run-time DLL and MFC in a DLL.
--dan

----------
From: 	Borenstein Andrei[SMTP:boren@actcom.co.il]
Sent: 	Wednesday, April 03, 1996 9:46 AM
To: 	mfc-l@netcom.com
Subject: 	VC++ 4.0 and Win32S

[Moderator's note: Since he says Win32S, I'm going to assume
that the target is Win 3.1.  If it really matters, then don't
answer the question.]

Hello,

We are developing an application targeted currently for Win32S .
Till version 4.0 nothing special shouldn't be done to create an 
application 
targeted for Win32S.
The application is using static MFC (not DLL)

The documentation is misleading for me. It states: 

   MFC _USRDLLs are not supported on Win32s in the default configuration 
   because the C run-time library (LIBCMT.LIB) does not support Win32s.  
   You can build a special version of MFC that uses MSVCRT.LIB 
   (i.e. change the makefile to use /MD instead of /ML) 
   and use that special version instead. 
   You will, of course, need to redistribute MSVCRT40.DLL with 
   your application.

What does it mean ? Shopuld I link my application with MSVCRT.LIB run time
library instead of LIBCMT.LIB ? 

In another place there is written : 
   
   To use MFC 4.0 and OLE on Win32s, you must first run the following 
commands, using the Run command 
   on the File menu in Program Manager:
  
	[drive:\VC++ path]\regsvr32 /s mfc40.dll
	[drive:\VC++ path]\regsvr32 /s olepro32.dll

Does it mean that I MUST use a DLL based MFC application ?

Could anybody clarify me these issues ?

Thanks in advance , 

Andrei Borenstein.

 			     //=====================================\\   
 			    //    Andrei Borenstein, SD Ltd.         \\  
 			   < P.O. Box 101, Migdal Haemek, ISRAEL 10551 > 
 			   \\ Tel. (972)6-547567 , FAX (972)6-547507 //  
 			    \\      E-mail :  boren@actcom.co.il    //   
 			     \\         CIS: 100274,2710           //    
 			      \\==================================//     





begin 600 WINMAIL.DAT
M>)\^(@$(`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$(@ <`
M& ```$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`0V ! `"`````@`"``$$
MD 8`; (```(````,`````P``, ,````+``\.``````(!_P\!````/P``````
M``"!*Q^DOJ,0&9UN`-T!#U0"`````&UF8RUL0&YE=&-O;2YC;VT`4TU44 !M
M9F,M;$!N971C;VTN8V]M```>``(P`0````4```!33510`````!X``S !````
M$0```&UF8RUL0&YE=&-O;2YC;VT``````P`5# $````#`/X/!@```!X``3 !
M````$P```"=M9F,M;$!N971C;VTN8V]M)P```@$+, $````6````4TU44#I-
M1D,M3$!.151#3TTN0T]-`````P``.0`````+`$ Z`0````(!]@\!````! ``
M``````,-`````P``, 0````+``\.`0````(!_P\!````0P````````"!*Q^D
MOJ,0&9UN`-T!#U0"```!`&)O``,P`0```!,`
M``!B;W)E;D!A8W1C;VTN8V\N:6P```,`%0P!`````P#^#P8````>``$P`0``
M`!4````G8F]R96Y 86-T8V]M+F-O+FEL)P`````"`0LP`0```!@```!33510
M.D)/4D5.0$%#5$-/32Y#3RY)3 `#```Y``````L`0#H``````@'V#P$````$
M````````! (!^0\!````0P````````"!*Q^DOJ,0&9UN`-T!#U0"```!`&)O
MHG$_"/,A'/DBA$15-4`````!X`'@P!
M````!0```%--5% `````'@`?# $````5````9&MIL"
M@P!0$P-4`@!C: K ?,C4U#P* "H$-L0M@;F0).!Y'5!!#Q7P`Q$:
MT!U0,3DY-I @.3HT-A!!33!_62K-5&\RORT+;1&@+6QL0#3 +\5M-J\QCG7\
M8FHHT3C/+0L =4$BA`Z ?,PJ%`'%W6P202)-Q"E 68&D"("Z3,&8*A4AE(>!O+$$L;S20
M'< 7H!\@91^P%S!PDR"2`Y%A< M0:6-$@&=-D4C5"8 @8PAP+?%T[TK!`A!/
MX4#3("1&!V AX7\?L!'@4=) 0D3Q((H@P&CW"& =H!]28E!1`B ?PP4`_TJ0
M%G!1$DPF46E'YE(F4TC_4_=%L5%:(9$B$""3`9 BL-IC(W,H1/$>8BE!+%O"
M7Q\P4J '@ (P7&=M! !LO4J09""24T('@"% 205 /UU2!Y ^$$$L8W$C@E]5
M_%-2'G$$(% R7A)'H%%@_Q=!4G%1X4##!" CP4BB#;'N81X@!4 %H&XFP!X0
M1''_66EC<5<@4: B$DBB(EDF4 IB1'!R2M H3$E"ZD,O`"YJL2D?(0>19,GW
M9<4A06,861\!4: #H!UV^U8&5,9O2C C@DA3(A$/THT
M<@/P'*'_8Q@>\5C+)$9/EDAB:W-*4=L'@ .1/P8`5I!P5K%&H/EJ$6YK.I!*
MT%%:?'-PR?\B<1_0!W$*A6HF=&EJN(!A_4$L22/158),T0M118&'HO\?P"&2
M!1!+$0.@8H=C<6,8CSB@(@,C@D!&3TQ%99C['5 >\FTB$ 5 )L 1X$IA_X."
M1;$"$$[A`_ @H0J%+]'=`X%D2U%<]$BB4H.!CV7W8PE1XD6Q1G-R7_$?$"/!
M5E #8 G 84;030!P8;E)$'(Z8Q<*ABV26RZ@XFD?L#I<7!S3"K ][EOD&\&4HD4#PE_D*A437?[I(4X$0
M360`5"(#(_/?'6!'@%)Q(X)16C]!+ A1UQVB(% &X&1*T&,>,0:0_TK1:1,B
M(00!35&@+B%P`'#V:V8C81!V`'!%@1U002P_+H0MR7YM+72HJ*F#+R_^/:H/
MJQ^K0)E@F6")^:BO+ZG"8W*FGQU04W1 3'1?>#&P=JQ4K,^I-SR3,"Z63R% 
M+=!X-= P,1U03DUG<"3@`R!(81: 9>9K1I%D$$%%'I :P!G@W1Q@/K%?J2BL
M4U1.T"% !"@Y`< I-BTU-! W-38WI8%&05C]N!HPN."NRB6"H46P0#-8 ,`$! ``````P`1$ ````! 
M```#T``0````4```!213H@``````,`
(#33]-P``@7LC
`
end





| Вернуться в корень Архива |