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

C / C++ / MFC

 
GeneralDLL in ATL . small question ! Pin
mimi16-Oct-01 11:48
mimi16-Oct-01 11:48 
GeneralRe: DLL in ATL . small question ! Pin
Christian Graus17-Oct-01 11:22
protectorChristian Graus17-Oct-01 11:22 
GeneralCStrings Pin
Chris Klecker16-Oct-01 10:25
Chris Klecker16-Oct-01 10:25 
GeneralRe: CStrings Pin
Ravi Bhavnani16-Oct-01 10:30
professionalRavi Bhavnani16-Oct-01 10:30 
GeneralRe: CStrings Pin
Jamie Nordmeyer16-Oct-01 11:15
Jamie Nordmeyer16-Oct-01 11:15 
GeneralRe: CStrings Pin
Nish Nishant16-Oct-01 22:08
sitebuilderNish Nishant16-Oct-01 22:08 
GeneralRe: CStrings Pin
#realJSOP17-Oct-01 0:26
mve#realJSOP17-Oct-01 0:26 
GeneralMaking things pretty by returning BSTR's (ATLCOM) Pin
Tim Rymer16-Oct-01 10:02
Tim Rymer16-Oct-01 10:02 
We're making an ATL object to be used in ASP or Visual Basic.
I want to be able to return a BSTR to make it nice and pretty for my VB partner.

Ok ok, we all know that you can say...

///////////////
STDMETHODIMP Foo([out,retval] BSTR outstring)
///////////////

..and have it returned in a variable in the Implementation. (duh)
But can we get this a function in an object to look like:

///////////////
BSTR Foo(BSTR instring);
///////////////

or just something with the emphasis on returning a BSTR in the "real" return parameter place.

"The Master Wang" doesnt have money to buy a COM or ATL book...
and plus I know I'm asking questions from the best! Wink | ;)


SHABBA!!

*Please Contact Me if you have a Donation to give to a poor college student who needs money for a engagement ring for the greatest girl in the world. Big Grin | :-D

-~= The (still learning) Master Wang =~-

SHABBA!!
GeneralRe: Making things pretty by returning BSTR's (ATLCOM) Pin
Carlos Antollini16-Oct-01 10:27
Carlos Antollini16-Oct-01 10:27 
GeneralRe: Making things pretty by returning BSTR's (ATLCOM) Pin
Tim Rymer16-Oct-01 10:48
Tim Rymer16-Oct-01 10:48 
GeneralRe: Making things pretty by returning BSTR's (ATLCOM) Pin
Carlos Antollini16-Oct-01 10:59
Carlos Antollini16-Oct-01 10:59 
GeneralRe: Making things pretty by returning BSTR's (ATLCOM) Pin
Tim Rymer16-Oct-01 11:25
Tim Rymer16-Oct-01 11:25 
GeneralRe: Making things pretty by returning BSTR's (ATLCOM) Pin
Christian Graus16-Oct-01 12:28
protectorChristian Graus16-Oct-01 12:28 
GeneralDetecting slow Internet connection Pin
José Luis Sogorb16-Oct-01 9:02
José Luis Sogorb16-Oct-01 9:02 
GeneralCAB file doesn't open in WIn95/NT4 Pin
16-Oct-01 6:02
suss16-Oct-01 6:02 
GeneralStreaming into CStrings.. Pin
Bernhard16-Oct-01 5:04
Bernhard16-Oct-01 5:04 
GeneralRe: Streaming into CStrings.. Pin
Joaquín M López Muñoz16-Oct-01 9:35
Joaquín M López Muñoz16-Oct-01 9:35 
GeneralVisual Studio crashes on Windows 2000.. Pin
Kant16-Oct-01 4:53
Kant16-Oct-01 4:53 
GeneralRe: ,Formatting c string and std strings Pin
Jon Salter16-Oct-01 4:51
Jon Salter16-Oct-01 4:51 
GeneralRe: ,Formatting c string and std strings Pin
Bernhard16-Oct-01 4:53
Bernhard16-Oct-01 4:53 
GeneralRe: ,Formatting c string and std strings Pin
Jon Salter16-Oct-01 4:55
Jon Salter16-Oct-01 4:55 
GeneralRe: ,Formatting c string and std strings Pin
Bernhard16-Oct-01 4:59
Bernhard16-Oct-01 4:59 
Generalbasic question Pin
16-Oct-01 4:28
suss16-Oct-01 4:28 
GeneralRe: basic question Pin
Rob Caldecott16-Oct-01 4:44
Rob Caldecott16-Oct-01 4:44 
GeneralRe: basic question Pin
16-Oct-01 4:57
suss16-Oct-01 4:57 

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.