Click here to Skip to main content
15,923,789 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Docking Bar inside a DLL? Pin
Tomasz Sowinski31-May-01 0:09
Tomasz Sowinski31-May-01 0:09 
GeneralNegative values in resource.h Pin
Nick Blumhardt30-May-01 14:55
Nick Blumhardt30-May-01 14:55 
GeneralRe: Negative values in resource.h Pin
Christian Graus30-May-01 15:15
protectorChristian Graus30-May-01 15:15 
GeneralCreating Remote Desktop Sharing Software Pin
30-May-01 14:23
suss30-May-01 14:23 
GeneralFrustration with BSTR* Pin
30-May-01 13:47
suss30-May-01 13:47 
GeneralRe: Frustration with BSTR* Pin
Christian Graus30-May-01 13:53
protectorChristian Graus30-May-01 13:53 
GeneralRe: Frustration with BSTR* Pin
30-May-01 14:00
suss30-May-01 14:00 
GeneralRe: Frustration with BSTR* Pin
Christian Graus30-May-01 14:13
protectorChristian Graus30-May-01 14:13 
No, of course not. But

BSTR* stoBSTRp(string input)
{
BSTR * bob = new BSTR;
bob = stoBSTR(input); //lets assume I have have stoBSTR vorking fine (takes in a string and returns a BSTR)
return bob;
}

would work fine. I didn't expect this to be the question though, I'd assume he doesn't have to *return* a BSTR*, but rather pass one in to something. The point of my suggestion was more to see if I was missing something as anything.




Christian

#include "std_disclaimer.h"

People who love sausage and respect the law should never watch either one being made.

The things that come to those who wait are usually the things left by those who got there first.

GeneralTab Control Pin
Craig Phillips30-May-01 13:23
Craig Phillips30-May-01 13:23 
GeneralRe: Tab Control Pin
Christian Graus30-May-01 13:51
protectorChristian Graus30-May-01 13:51 
GeneralRe: Tab Control Pin
Craig Phillips30-May-01 23:06
Craig Phillips30-May-01 23:06 
GeneralRe: Tab Control Pin
Christian Graus30-May-01 23:17
protectorChristian Graus30-May-01 23:17 
GeneralRe: Tab Control Pin
Craig Phillips30-May-01 23:36
Craig Phillips30-May-01 23:36 
GeneralRe: Tab Control Pin
31-May-01 11:11
suss31-May-01 11:11 
GeneralCOleDateTime problem! Pin
Rickard Andersson2030-May-01 8:46
Rickard Andersson2030-May-01 8:46 
GeneralRe: COleDateTime problem! Pin
Ghazi H. Wadi30-May-01 11:50
Ghazi H. Wadi30-May-01 11:50 
GeneralMenuItem with Bitmap and String Pin
Paul Goodyear30-May-01 7:14
Paul Goodyear30-May-01 7:14 
GeneralActivex problem Pin
30-May-01 7:09
suss30-May-01 7:09 
Generalget doubleclicked item from listbox Pin
30-May-01 5:43
suss30-May-01 5:43 
GeneralRe: get doubleclicked item from listbox Pin
31-May-01 2:02
suss31-May-01 2:02 
QuestionOverload a function in a DLL? Pin
Stefan Dahlin30-May-01 3:58
Stefan Dahlin30-May-01 3:58 
Generalitoa & ltoa Pin
hearties30-May-01 1:39
hearties30-May-01 1:39 
GeneralRe: itoa & ltoa Pin
Anders Molin30-May-01 1:48
professionalAnders Molin30-May-01 1:48 
GeneralDebug version crashes the second time Pin
F Braem29-May-01 23:48
F Braem29-May-01 23:48 
GeneralRe: Debug version crashes the second time Pin
Tim Deveaux30-May-01 6:49
Tim Deveaux30-May-01 6:49 

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.