Click here to Skip to main content
16,011,585 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionAtl executable without Interface Pin
ROWALI21-Jun-06 18:29
ROWALI21-Jun-06 18:29 
AnswerRe: Atl executable without Interface Pin
Stephen Hewitt27-Jun-06 2:11
Stephen Hewitt27-Jun-06 2:11 
QuestionLinking external library to ATL Pin
ROWALI19-Jun-06 19:34
ROWALI19-Jun-06 19:34 
AnswerRe: Linking external library to ATL Pin
Milton Karimbekallil20-Jun-06 18:23
Milton Karimbekallil20-Jun-06 18:23 
AnswerRe: Linking external library to ATL Pin
Igor Vigdorchik21-Jun-06 4:20
Igor Vigdorchik21-Jun-06 4:20 
QuestionNeed help to return string value from COM Pin
agarunk19-Jun-06 4:40
agarunk19-Jun-06 4:40 
AnswerRe: Need help to return string value from COM [modified] Pin
Roozbeh6919-Jun-06 9:44
professionalRoozbeh6919-Jun-06 9:44 
GeneralRe: Need help to return string value from COM Pin
agarunk20-Jun-06 0:10
agarunk20-Jun-06 0:10 
hello @ Roozbeh69 thanks for that solution but I have faced few problems which are listed below :

I have created property using wizard but when it comes to

<br />
private:<br />
_bstr_t m_bstrTitle; // variable holding the property value<br />
<br />
and in the implementation file of your object:<br />
<br />
STDMETHODIMP CYourClass::get_Title(BSTR *pVal)<br />
{<br />
*pVal = m_bstrTitle.copy(); //<big>troubling here</big><br />
return S_OK;<br />
}<br />
<br />
STDMETHODIMP CYourClass::put_Title(BSTR newVal)<br />
{<br />
m_bstrTitle = _bstr_t(newVal); //<big>troubling here</big><br />
return S_OK;<br />
}<br />


and As per me the syntax which u have given varies a lot from auto generated one. I'm using VS 2005.



Once again I would like to clear what exactly I'm trying after ...
I want to create a .dll using ATL. After I want to create a method inside this, which I can call from C#.
This method should take Filepath(string) as input while invoking from C# and should return some string back to C#.(not pointer)



Please guide me if possible with a proper working code.
Thanking you,


Arun
GeneralRe: Need help to return string value from COM Pin
Milton Karimbekallil20-Jun-06 2:14
Milton Karimbekallil20-Jun-06 2:14 
GeneralRe: Need help to return string value from COM Pin
agarunk20-Jun-06 3:31
agarunk20-Jun-06 3:31 
GeneralRe: Need help to return string value from COM Pin
Pharago16-Jul-06 1:35
Pharago16-Jul-06 1:35 
QuestionKeyboard focus Pin
Roozbeh6917-Jun-06 22:16
professionalRoozbeh6917-Jun-06 22:16 
QuestionVS7 & ATL: Exposing an enum on a COM interface Pin
Ian McLauchlan17-Jun-06 10:15
Ian McLauchlan17-Jun-06 10:15 
AnswerRe: VS7 &amp; ATL: Exposing an enum on a COM interface Pin
Milton Karimbekallil20-Jun-06 2:25
Milton Karimbekallil20-Jun-06 2:25 
Questionactivex Pin
marcoslav16-Jun-06 2:11
marcoslav16-Jun-06 2:11 
AnswerRe: activex Pin
Milton Karimbekallil20-Jun-06 2:32
Milton Karimbekallil20-Jun-06 2:32 
Questioninclude Pin
yoti1115-Jun-06 6:11
yoti1115-Jun-06 6:11 
AnswerRe: include Pin
Milton Karimbekallil20-Jun-06 2:29
Milton Karimbekallil20-Jun-06 2:29 
QuestionATL with C code.. pls looooooooooooooook hereeeeeeeeeeeeeee Pin
marcoslav15-Jun-06 2:13
marcoslav15-Jun-06 2:13 
AnswerRe: ATL with C code.. pls looooooooooooooook hereeeeeeeeeeeeeee Pin
Igor Vigdorchik16-Jun-06 7:26
Igor Vigdorchik16-Jun-06 7:26 
Questionhow to use IMultiMediastream ::GetDuration() Pin
GANsJob15-Jun-06 1:17
GANsJob15-Jun-06 1:17 
Questiontype library interface marshalling Pin
rana7413-Jun-06 23:07
rana7413-Jun-06 23:07 
AnswerRe: type library interface marshalling Pin
Roger Stoltz14-Jun-06 1:49
Roger Stoltz14-Jun-06 1:49 
QuestionCustomizing controls Pin
Nishad S12-Jun-06 0:10
Nishad S12-Jun-06 0:10 
AnswerRe: Customizing controls Pin
Jörgen Sigvardsson12-Jun-06 9:28
Jörgen Sigvardsson12-Jun-06 9:28 

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.