Click here to Skip to main content
15,926,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Win2k/WinXP password authentication Pin
Blake Miller11-May-05 4:18
Blake Miller11-May-05 4:18 
GeneralRe: Win2k/WinXP password authentication Pin
David Crow11-May-05 4:34
David Crow11-May-05 4:34 
GeneralRe: Win2k/WinXP password authentication Pin
DarkCloud1411-May-05 10:37
DarkCloud1411-May-05 10:37 
GeneralRe: Win2k/WinXP password authentication Pin
David Crow11-May-05 10:58
David Crow11-May-05 10:58 
GeneralRe: Win2k/WinXP password authentication Pin
Blake Miller12-May-05 11:36
Blake Miller12-May-05 11:36 
GeneralRe: Win2k/WinXP password authentication Pin
David Crow13-May-05 2:05
David Crow13-May-05 2:05 
GeneralRe: Win2k/WinXP password authentication Pin
Blake Miller13-May-05 5:56
Blake Miller13-May-05 5:56 
GeneralProblem passing parameter in DLL writen in Visual Basic Pin
kstang11-May-05 3:55
kstang11-May-05 3:55 
Hi guys,

I am having problem passing BSTR* parameter into a Visual Basic DLL. Below is the function of that particular DLL:

The sLotID is the parameter that I need to pass in and for the file_name and serr is the parameters passing back from the DLL.

CString _Class1::LotData(BSTR* sLotID, BSTR* file_name, BSTR* serr)
{
CString result;
static BYTE parms[] =
VTS_PBSTR VTS_PBSTR VTS_PBSTR;
InvokeHelper(0x60030008, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,sLotID, file_name, serr);
return result;
}

In my code, this is what I do:

_Class1 ServerClass;
CString StringReceived = "123456";
BSTR sLotID = StringReceived.AllocSysString();

ProdType=ServerClass.LotData(&sLotID, &file_name, &serr);

Note: The function totally cannot receive the sLotID that I pass in, Please help....


ks tang
AT ENGINEERING
GeneralError in CHKSTK.ASM Pin
houari_id11-May-05 3:39
houari_id11-May-05 3:39 
GeneralRe: Error in CHKSTK.ASM Pin
Alexander M.,12-May-05 7:27
Alexander M.,12-May-05 7:27 
GeneralRe: Error in CHKSTK.ASM Pin
houari_id12-May-05 10:26
houari_id12-May-05 10:26 
GeneralRe: Error in CHKSTK.ASM Pin
cmk12-May-05 21:15
cmk12-May-05 21:15 
GeneralMFC Interface Problem Pin
acinosanduce11-May-05 3:21
acinosanduce11-May-05 3:21 
GeneralRe: MFC Interface Problem Pin
David Crow11-May-05 3:23
David Crow11-May-05 3:23 
GeneralRe: MFC Interface Problem Pin
acinosanduce11-May-05 3:34
acinosanduce11-May-05 3:34 
GeneralRe: MFC Interface Problem Pin
David Crow11-May-05 3:47
David Crow11-May-05 3:47 
GeneralRe: MFC Interface Problem Pin
acinosanduce11-May-05 3:52
acinosanduce11-May-05 3:52 
GeneralRe: MFC Interface Problem Pin
Ravi Bhavnani11-May-05 4:19
professionalRavi Bhavnani11-May-05 4:19 
GeneralRe: MFC Interface Problem Pin
ddmcr11-May-05 4:04
ddmcr11-May-05 4:04 
GeneralHELP AGAIN Pin
acinosanduce12-May-05 10:24
acinosanduce12-May-05 10:24 
Generalupdating user32.lib Pin
Kharfax11-May-05 3:17
Kharfax11-May-05 3:17 
GeneralRe: updating user32.lib Pin
David Crow11-May-05 3:21
David Crow11-May-05 3:21 
GeneralRe: updating user32.lib Pin
Kharfax11-May-05 3:30
Kharfax11-May-05 3:30 
GeneralRe: updating user32.lib Pin
Kharfax11-May-05 3:44
Kharfax11-May-05 3:44 
GeneralRe: updating user32.lib Pin
David Crow11-May-05 3:50
David Crow11-May-05 3:50 

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.