|
-
April 27th, 1999, 04:20 AM
#1
DLL with Win95 and NT
Do Windows NT and Windows 95 treat dll functions in the same way?
Thanks in advance.
Antonio.
_______
-
April 28th, 1999, 06:03 AM
#2
Re: DLL with Win95 and NT
Shall be almost the same, but NT is unicode
Hello World!!!
-
April 28th, 1999, 07:22 AM
#3
Re: DLL with Win95 and NT
What's the meaning of "unicode"?
Bye.
Antonio.
_______
-
April 28th, 1999, 12:24 PM
#4
Re: DLL with Win95 and NT
For the most part, '95 and NT treat DLLs in a similar way. Typically there is not a problem sharing a DLL between NT and '95, but as with everything else there are couple things to watch out for:
1) 16-bit DLLs are very different from 32-bit DLLs. In particular, you can share data between 16-bit processes in a 16-bit DLL. This is no longer possible in 32-bit.
2) NT and '95 differ in how they load DLLs. For more details, I'd recommend "Advanced Windows", 3rd Edition, by Jeffrey Richter (Microsoft Press).
3) NT DLLs may collide when a program starts. As a result you may see a message like this appear in the Visual C++ output window
"LDR: Dll MFCN42D.DLL base 5f600000 relocated due to collision with C:\WINNT\System32\WINSPOOL.DRV". While this sounds serious it will not cause application problems other than slow start-up speed. If you have slow start-up problems look at specifying a new base address for the DLL.
4) UNICODE is a character representation. In a non-UNICODE program, characters are represented as 1 byte values, allowing for a character to specify 256 unique values. In a UNICODE program, characters are represented by 2 byte values, allowing upto 65,000 values. This all comes in handy when you're program needs to be translated into Chinese, Japanese, Korean, etc. '95 Does NOT support UNICODE. See Richter for the complete low-down on UNICODE.
-
April 29th, 1999, 02:34 AM
#5
Re: DLL with Win95 and NT
Thank you very much for your explanations.
Ciao.
Antonio.
_______
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|