Click here to Skip to main content
15,914,165 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question32bit to 4bytes(4*8bits)? Pin
anju2-Mar-03 18:02
anju2-Mar-03 18:02 
AnswerRe: 32bit to 4bytes(4*8bits)? Pin
Taka Muraoka2-Mar-03 18:15
Taka Muraoka2-Mar-03 18:15 
AnswerRe: 32bit to 4bytes(4*8bits)? Pin
Chris Losinger2-Mar-03 18:28
professionalChris Losinger2-Mar-03 18:28 
AnswerRe: 32bit to 4bytes(4*8bits)? Pin
PJ Arends2-Mar-03 18:40
professionalPJ Arends2-Mar-03 18:40 
AnswerRe: Thanks Pin
anju5-Mar-03 21:18
anju5-Mar-03 21:18 
GeneralGet the path to a dll Pin
Christian Graus2-Mar-03 15:52
protectorChristian Graus2-Mar-03 15:52 
GeneralRe: Get the path to a dll Pin
Christian Graus2-Mar-03 16:20
protectorChristian Graus2-Mar-03 16:20 
GeneralRe: Get the path to a dll Pin
Michael Dunn2-Mar-03 16:28
sitebuilderMichael Dunn2-Mar-03 16:28 
Just to clarify the FAQ (since it deals with an EXE, not a DLL), DllMain() is passed the HMODULE of the DLL. Pass that handle to GetModuleFileName().
If you pass NULL to GetModuleFileName(), you'll get the path of the EXE that loaded your DLL, which isn't what you're looking for.

--Mike--
PROCRASTINATION: Hard work often pays off after time, but laziness always pays off now.

BUY MY SOFTWARE!! (please?) RightClick-Encrypt | 1ClickPicGrabber
My IntarWeb Homepgae!!!11

GeneralRe: Get the path to a dll Pin
Anonymous2-Mar-03 16:23
Anonymous2-Mar-03 16:23 
QuestionHow to get Text Width and Height? Pin
Aidman2-Mar-03 13:31
Aidman2-Mar-03 13:31 
AnswerRe: How to get Text Width and Height? Pin
Chris Losinger2-Mar-03 13:39
professionalChris Losinger2-Mar-03 13:39 
GeneralRe: How to get Text Width and Height? Pin
Aidman3-Mar-03 1:05
Aidman3-Mar-03 1:05 
GeneralFunction signature Pin
Gerald Schwab2-Mar-03 13:25
Gerald Schwab2-Mar-03 13:25 
GeneralRe: Function signature Pin
Anders Molin2-Mar-03 14:50
professionalAnders Molin2-Mar-03 14:50 
GeneralRe: Function signature Pin
Taka Muraoka2-Mar-03 15:29
Taka Muraoka2-Mar-03 15:29 
GeneralRe: Function signature Pin
Gerald Schwab2-Mar-03 15:42
Gerald Schwab2-Mar-03 15:42 
GeneralCreating a Text editor Pin
orcblood2-Mar-03 11:40
orcblood2-Mar-03 11:40 
GeneralRe: Creating a Text editor Pin
Jaran Nilsen2-Mar-03 12:33
Jaran Nilsen2-Mar-03 12:33 
GeneralRe: Creating a Text editor Pin
orcblood2-Mar-03 12:58
orcblood2-Mar-03 12:58 
GeneralRe: Creating a Text editor Pin
Jaran Nilsen2-Mar-03 13:03
Jaran Nilsen2-Mar-03 13:03 
GeneralRe: Creating a Text editor Pin
Jaran Nilsen2-Mar-03 13:12
Jaran Nilsen2-Mar-03 13:12 
GeneralRe: Creating a Text editor Pin
orcblood2-Mar-03 13:44
orcblood2-Mar-03 13:44 
GeneralRe: Creating a Text editor Pin
Jaran Nilsen3-Mar-03 4:30
Jaran Nilsen3-Mar-03 4:30 
GeneralRe: Creating a Text editor Pin
Nish Nishant2-Mar-03 12:59
sitebuilderNish Nishant2-Mar-03 12:59 
GeneralRe: Creating a Text editor Pin
orcblood3-Mar-03 9:52
orcblood3-Mar-03 9:52 

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.