Click here to Skip to main content
15,850,265 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCreate new project in eMbadded VC++ 4 Pin
almon112-Feb-08 23:56
almon112-Feb-08 23:56 
GeneralRe: Create new project in eMbadded VC++ 4 Pin
Ali Rafiee21-Feb-08 10:38
Ali Rafiee21-Feb-08 10:38 
QuestionAbout ActiveX Control Pin
manish.patel12-Feb-08 23:38
manish.patel12-Feb-08 23:38 
GeneralRe: About ActiveX Control Pin
Don Box13-Feb-08 0:12
Don Box13-Feb-08 0:12 
GeneralRe: About ActiveX Control Pin
manish.patel13-Feb-08 0:35
manish.patel13-Feb-08 0:35 
GeneralRe: About ActiveX Control Pin
Nitheesh George14-Feb-08 17:40
Nitheesh George14-Feb-08 17:40 
GeneralRe: About ActiveX Control Pin
manish.patel14-Feb-08 19:02
manish.patel14-Feb-08 19:02 
QuestionRe: About ActiveX Control Pin
Nitheesh George14-Feb-08 23:38
Nitheesh George14-Feb-08 23:38 
your Question : "Now another problem is how to get HINSTANCE in activex control?

I can get it in win32 application but how to get it in activex control?

Please help me out"


Answer:

To get the instance of an activex control you can use AfxGetInstanceHandle() in MFC.

eg: g_hInstance = AfxGetInstanceHandle();

or if u are developing a Win32 ActiveX Control you can use HANDLE hModule in dllmain function is the HINSTANCE.

like this way -

int Dllmain(HMODULE hModule...)
{
g_hInstance = (HINSTANCE) hModule;
......................
......................
}


i think now u got what i mean?
Generalstuck with progress bar Pin
Chandrasekharan P12-Feb-08 23:25
Chandrasekharan P12-Feb-08 23:25 
GeneralRe: stuck with progress bar Pin
Don Box13-Feb-08 0:11
Don Box13-Feb-08 0:11 
GeneralRe: stuck with progress bar Pin
David Crow13-Feb-08 3:51
David Crow13-Feb-08 3:51 
GeneralSubstring from a string Pin
CodingLover12-Feb-08 22:49
CodingLover12-Feb-08 22:49 
GeneralRe: Substring from a string [modified] Pin
Rajesh R Subramanian12-Feb-08 23:02
professionalRajesh R Subramanian12-Feb-08 23:02 
QuestionRe: Substring from a string Pin
CPallini12-Feb-08 23:34
mveCPallini12-Feb-08 23:34 
GeneralRe: Substring from a string Pin
Rajesh R Subramanian13-Feb-08 0:02
professionalRajesh R Subramanian13-Feb-08 0:02 
JokeRe: Substring from a string Pin
CPallini13-Feb-08 0:15
mveCPallini13-Feb-08 0:15 
GeneralRe: Substring from a string Pin
Rajesh R Subramanian13-Feb-08 0:22
professionalRajesh R Subramanian13-Feb-08 0:22 
GeneralRe: Substring from a string Pin
CPallini13-Feb-08 0:34
mveCPallini13-Feb-08 0:34 
GeneralRe: Substring from a string Pin
Don Box13-Feb-08 0:06
Don Box13-Feb-08 0:06 
GeneralRe: Substring from a string Pin
CodingLover13-Feb-08 1:28
CodingLover13-Feb-08 1:28 
GeneralRe: Substring from a string Pin
CodingLover13-Feb-08 1:17
CodingLover13-Feb-08 1:17 
GeneralFormated Input Pin
lgatcodeproject12-Feb-08 22:36
lgatcodeproject12-Feb-08 22:36 
GeneralRe: Formated Input Pin
Rajesh R Subramanian12-Feb-08 22:40
professionalRajesh R Subramanian12-Feb-08 22:40 
GeneralCButton Ugly border Pin
sarat12-Feb-08 22:04
sarat12-Feb-08 22:04 
GeneralRe: CButton Ugly border Pin
Iain Clarke, Warrior Programmer13-Feb-08 0:59
Iain Clarke, Warrior Programmer13-Feb-08 0:59 

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.