Click here to Skip to main content
15,899,679 members
Home / Discussions / COM
   

COM

 
AnswerRe: Return error desc from COM to VB6 Pin
technoxicated16-May-08 18:39
technoxicated16-May-08 18:39 
QuestionWINAPI Borderless sizable child window/control Pin
Lennymnr14-May-08 10:15
Lennymnr14-May-08 10:15 
QuestionRe: WINAPI Borderless sizable child window/control Pin
CPallini15-May-08 2:42
mveCPallini15-May-08 2:42 
QuestionQuery regarding Registeration and Unregisteration of COM dll. Pin
sandeepkavade13-May-08 1:51
sandeepkavade13-May-08 1:51 
QuestionRe: Query regarding Registeration and Unregisteration of COM dll. Pin
CPallini13-May-08 2:08
mveCPallini13-May-08 2:08 
AnswerRe: Query regarding Registeration and Unregisteration of COM dll. Pin
sandeepkavade13-May-08 3:42
sandeepkavade13-May-08 3:42 
GeneralRe: Query regarding Registeration and Unregisteration of COM dll. Pin
CPallini13-May-08 3:55
mveCPallini13-May-08 3:55 
GeneralRe: Query regarding Registeration and Unregisteration of COM dll. Pin
sandeepkavade13-May-08 19:56
sandeepkavade13-May-08 19:56 
I am using GetModuleFileName() as fallows.


void GetModulePath(const TCHAR *strModuleName, CString &strModulePath)
{
TCHAR modulePath[_MAX_PATH];
HMODULE hModule = GetModuleHandle(strModuleName);
if( hModule != NULL )
{
GetModuleFileName(hModule, modulePath, _MAX_PATH);
TCHAR* slashPos = _tcsrchr(modulePath, _TCHAR('\\'));
if (slashPos != NULL)
*slashPos = NULL; // Terminate the string here.
strModulePath = CString(modulePath);
}
else
{
// DO ERROR HANDLING HERE
CString strError;
GetErrorText(GetLastError(), strError);
// Log the error;
}
}
QuestionRe: Query regarding Registeration and Unregisteration of COM dll. Pin
CPallini13-May-08 21:07
mveCPallini13-May-08 21:07 
AnswerRe: Query regarding Registeration and Unregisteration of COM dll. Pin
sandeepkavade14-May-08 23:43
sandeepkavade14-May-08 23:43 
QuestionRe: Query regarding Registeration and Unregisteration of COM dll. Pin
CPallini15-May-08 0:08
mveCPallini15-May-08 0:08 
AnswerRe: Query regarding Registeration and Unregisteration of COM dll. Pin
sandeepkavade15-May-08 1:35
sandeepkavade15-May-08 1:35 
GeneralRe: Query regarding Registeration and Unregisteration of COM dll. Pin
CPallini15-May-08 2:13
mveCPallini15-May-08 2:13 
QuestionWhy ISoftUSBEndpoint::DrainOUTQueue take memory increase Pin
XuanThinh TRAN12-May-08 21:13
XuanThinh TRAN12-May-08 21:13 
QuestionHow to get the html text box contain into my custom browser Pin
Member 462021612-May-08 0:10
Member 462021612-May-08 0:10 
AnswerRe: How to get the html text box contain into my custom browser Pin
Yajnesh Narayan Behera15-May-08 22:14
Yajnesh Narayan Behera15-May-08 22:14 
QuestionCOM programming Pin
hari_honey11-May-08 19:12
hari_honey11-May-08 19:12 
AnswerRe: COM programming Pin
User 21559712-May-08 0:21
User 21559712-May-08 0:21 
AnswerRe: COM programming Pin
ShilpiP12-May-08 1:14
ShilpiP12-May-08 1:14 
AnswerRe: COM programming Pin
bulg21-May-08 10:14
bulg21-May-08 10:14 
QuestionIssue in Event Handling of COM Event in Java Script Pin
garammasala9-May-08 1:57
garammasala9-May-08 1:57 
Questionvalue of pbCancel parameter of OnWorkbookBeforeClose Pin
HarishKumarS8-May-08 2:11
HarishKumarS8-May-08 2:11 
AnswerRe: value of pbCancel parameter of OnWorkbookBeforeClose Pin
User 2155979-May-08 0:03
User 2155979-May-08 0:03 
QuestionIs vector list contain NULL CComPtr? Pin
Sakthivel P8-May-08 1:33
Sakthivel P8-May-08 1:33 
QuestionError in opening Database using ADO in COM dll Pin
MKUser8-May-08 1:33
MKUser8-May-08 1:33 

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.