Click here to Skip to main content
15,887,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalthe first parameter of SetBitmap() Pin
25-Oct-01 0:06
suss25-Oct-01 0:06 
GeneralRe: the first parameter of SetBitmap() Pin
Tomasz Sowinski25-Oct-01 1:24
Tomasz Sowinski25-Oct-01 1:24 
QuestionHow to create VB Collection in VC++ Pin
DenisK24-Oct-01 23:18
professionalDenisK24-Oct-01 23:18 
GeneralCalendar and comdlg32.dll Pin
ZAZA24-Oct-01 22:34
ZAZA24-Oct-01 22:34 
GeneralRe: Calendar and comdlg32.dll Pin
Tomasz Sowinski25-Oct-01 1:18
Tomasz Sowinski25-Oct-01 1:18 
QuestionIs there are a way to use dll/ATL without regsvr32 ? Pin
24-Oct-01 21:13
suss24-Oct-01 21:13 
AnswerRe: Is there are a way to use dll/ATL without regsvr32 ? Pin
Christian Graus24-Oct-01 21:51
protectorChristian Graus24-Oct-01 21:51 
AnswerRe: Is there are a way to use dll/ATL without regsvr32 ? Pin
Marc Holenz25-Oct-01 0:28
Marc Holenz25-Oct-01 0:28 
Thats easy: you can register your com-dll by using
this source code inside your client, maye inside your
InitInstance. For this reason you have to copy the dll
into the same dir as the .exe file.
by the way: regsvr32.exe will do nothing else !



BOOL CMyApp::RegisterVtrLibrary()
{
HINSTANCE ComLib;
FARPROC lpfnDLLProc;
BOOL bRet = FALSE;
VTRLib = LoadLibrary("MyComDLL.dll");
if (VTRLib)
{
lpfnDLLProc = GetProcAddress (ComLib, "DllRegisterServer");
(*lpfnDLLProc) (); //DllRegisterServer();
FreeLibrary(ComLib);
bRet=TRUE;
}
return bRet;
}

GeneralThanks ! but Pin
25-Oct-01 0:50
suss25-Oct-01 0:50 
GeneralRe: Thanks ! but Pin
Marc Holenz25-Oct-01 1:02
Marc Holenz25-Oct-01 1:02 
GeneralI need this answer too. Please explain me Pin
mimi28-Oct-01 9:25
mimi28-Oct-01 9:25 
GeneralRe: I need this answer too. Please explain me Pin
Marc Holenz28-Oct-01 20:54
Marc Holenz28-Oct-01 20:54 
Generalfinal proect for C++ suggestions Pin
24-Oct-01 17:43
suss24-Oct-01 17:43 
GeneralRe: final proect for C++ suggestions Pin
Nish Nishant24-Oct-01 19:56
sitebuilderNish Nishant24-Oct-01 19:56 
QuestionHow to implement this form? Pin
Speed_cn24-Oct-01 16:50
Speed_cn24-Oct-01 16:50 
AnswerRe: How to implement this form? Pin
Christian Graus24-Oct-01 17:04
protectorChristian Graus24-Oct-01 17:04 
GeneralRe: How to implement this form? Pin
24-Oct-01 17:13
suss24-Oct-01 17:13 
GeneralRe: How to implement this form? Pin
Christian Graus24-Oct-01 18:06
protectorChristian Graus24-Oct-01 18:06 
GeneralRe: How to implement this form? Pin
Nish Nishant24-Oct-01 19:58
sitebuilderNish Nishant24-Oct-01 19:58 
GeneralPlugIn For Microsoft Outlook Pin
24-Oct-01 16:12
suss24-Oct-01 16:12 
QuestionHow to do in VC call VB Data Pin
mornlee24-Oct-01 15:50
mornlee24-Oct-01 15:50 
GeneralMDI Without DocView Pin
Christopher Lord24-Oct-01 14:25
Christopher Lord24-Oct-01 14:25 
GeneralRe: MDI Without DocView Pin
Christian Graus24-Oct-01 14:33
protectorChristian Graus24-Oct-01 14:33 
GeneralRe: MDI Without DocView Pin
Christopher Lord24-Oct-01 14:39
Christopher Lord24-Oct-01 14:39 
GeneralRe: MDI Without DocView Pin
Christian Graus24-Oct-01 14:44
protectorChristian Graus24-Oct-01 14:44 

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.