Click here to Skip to main content
15,897,891 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalfile nameing Pin
Anonymous21-Dec-03 17:19
Anonymous21-Dec-03 17:19 
GeneralRe: file nameing Pin
Navin21-Dec-03 17:34
Navin21-Dec-03 17:34 
GeneralRe: file nameing Pin
Anonymous21-Dec-03 17:50
Anonymous21-Dec-03 17:50 
GeneralRe: file nameing Pin
Anonymous21-Dec-03 17:54
Anonymous21-Dec-03 17:54 
GeneralRe: file nameing Pin
Bob Stanneveld21-Dec-03 20:55
Bob Stanneveld21-Dec-03 20:55 
GeneralAccessing struct members; Pin
Bo Hunter21-Dec-03 16:41
Bo Hunter21-Dec-03 16:41 
GeneralRe: Accessing struct members; Pin
Michael Dunn21-Dec-03 18:58
sitebuilderMichael Dunn21-Dec-03 18:58 
GeneralRe: Accessing struct members; Pin
Bo Hunter22-Dec-03 14:22
Bo Hunter22-Dec-03 14:22 
Actually Michael I have read the same info.
I was wondering since my function took DLLVERSIONINFO*
struct and cbSize == sizeof(DLLVERSIONINFO2) how
would I set the new members. Put it this way, is this safe?
Or will it even work?

STDAPI DllGetVersion(DLLVERSIONINFO* pDllInfo)
{
	// DLLVERSIONINFO
	pDllInfo->dwBuildNumber         = BUILD_NUMBER;
	pDllInfo->dwMajorVersion        = MAJOR_NUMBER;
	pDllInfo->dwMinorVersion        = MINOR_NUMBER;
	pDllInfo->dwPlatformID          = PLATFORM_ID;

	if (pDllInfo->cbSize == sizeof(DLLVERSIONINFO2))
	{
		// DLLVERSIONINFO2
		DLLVERSIONINFO2* pDllInfo2 = (DLLVERSIONINFO2*)pDllInfo;
		pDllInfo2->ullVersion = MAKEDLLVERULL(MAJOR_NUMBER,
                                                        MINOR_NUMBER,
							BUILD_NUMBER,
							DLL_SRVPACK);
	}

	return (S_OK);
}


Thank You
Bo Hunter
GeneralPrinting Text from and edit box in a dialog application Pin
JKohm21-Dec-03 11:40
JKohm21-Dec-03 11:40 
GeneralRe: Printing Text from and edit box in a dialog application Pin
Roger Allen22-Dec-03 0:53
Roger Allen22-Dec-03 0:53 
Generaldial-up connection Pin
Member 74005421-Dec-03 10:18
Member 74005421-Dec-03 10:18 
GeneralRe: dial-up connection Pin
pma21-Dec-03 11:36
pma21-Dec-03 11:36 
GeneralCompiler Error Pin
RedDragon2k21-Dec-03 9:44
RedDragon2k21-Dec-03 9:44 
GeneralRe: Compiler Error Pin
Niall Barr21-Dec-03 10:25
professionalNiall Barr21-Dec-03 10:25 
GeneralRe: Compiler Error Pin
RedDragon2k21-Dec-03 10:27
RedDragon2k21-Dec-03 10:27 
GeneralRe: Compiler Error Pin
Michael Dunn21-Dec-03 11:37
sitebuilderMichael Dunn21-Dec-03 11:37 
GeneralRe: Compiler Error Pin
ldaoust22-Dec-03 16:25
ldaoust22-Dec-03 16:25 
GeneralCProgressCtrl problem in long function Pin
IGx8921-Dec-03 9:21
IGx8921-Dec-03 9:21 
GeneralRe: CProgressCtrl problem in long function Pin
Michael Dunn21-Dec-03 11:40
sitebuilderMichael Dunn21-Dec-03 11:40 
GeneralRe: CProgressCtrl problem in long function Pin
IGx8921-Dec-03 12:57
IGx8921-Dec-03 12:57 
GeneralFinding out which button has focus Pin
blindcop21-Dec-03 8:22
blindcop21-Dec-03 8:22 
GeneralRe: Finding out which button has focus Pin
David Crow22-Dec-03 3:53
David Crow22-Dec-03 3:53 
GeneralUSB Pin
BladeIII21-Dec-03 4:40
BladeIII21-Dec-03 4:40 
GeneralAccurate window sizes Pin
nukenuts21-Dec-03 3:09
nukenuts21-Dec-03 3:09 
GeneralRe: Accurate window sizes Pin
nukenuts21-Dec-03 3:18
nukenuts21-Dec-03 3:18 

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.