Click here to Skip to main content
15,919,931 members
Home / Discussions / C#
   

C#

 
Generalfrom VC6 dll Pin
yyf22-Mar-04 10:10
yyf22-Mar-04 10:10 
Hi, everyone

1. When I call a function imported from a VC6 dll, it returns 42949672970 when it is supposed to return -1. Anyone knows why?

2. There's another function in this VC6 dll like this loginDlg(LPCTSTR Name, long NameLength). This function will return the login name by the first parameter, 2nd parameter is tell the function how long the buffer is.
How to import and use this kind of functions properly?

Thanks in advance.
GeneralRe: from VC6 dll Pin
Heath Stewart22-Mar-04 11:47
protectorHeath Stewart22-Mar-04 11:47 
GeneralRe: from VC6 dll Pin
yyf23-Mar-04 3:10
yyf23-Mar-04 3:10 
GeneralRe: from VC6 dll Pin
Heath Stewart23-Mar-04 3:13
protectorHeath Stewart23-Mar-04 3:13 
GeneralRe: from VC6 dll Pin
yyf23-Mar-04 4:01
yyf23-Mar-04 4:01 
GeneralLoop through a Datagrid Pin
Anonymous22-Mar-04 9:55
Anonymous22-Mar-04 9:55 
GeneralRe: Loop through a Datagrid Pin
Heath Stewart22-Mar-04 11:46
protectorHeath Stewart22-Mar-04 11:46 
GeneralRe: Loop through a Datagrid Pin
Anonymous22-Mar-04 11:51
Anonymous22-Mar-04 11:51 
GeneralRe: Loop through a Datagrid Pin
Heath Stewart22-Mar-04 11:57
protectorHeath Stewart22-Mar-04 11:57 
GeneralRe: Loop through a Datagrid Pin
Ruchi Gupta22-Mar-04 12:11
Ruchi Gupta22-Mar-04 12:11 
GeneralRe: Loop through a Datagrid Pin
Heath Stewart23-Mar-04 2:46
protectorHeath Stewart23-Mar-04 2:46 
GeneralProperty questions Pin
gkrish522-Mar-04 9:01
gkrish522-Mar-04 9:01 
GeneralRe: Property questions Pin
CWIZO22-Mar-04 9:20
CWIZO22-Mar-04 9:20 
GeneralRe: Property questions Pin
leppie22-Mar-04 9:27
leppie22-Mar-04 9:27 
GeneralRe: Property questions Pin
CWIZO22-Mar-04 9:31
CWIZO22-Mar-04 9:31 
GeneralRe: Property questions Pin
gkrish522-Mar-04 11:20
gkrish522-Mar-04 11:20 
GeneralRe: Property questions Pin
leppie22-Mar-04 9:22
leppie22-Mar-04 9:22 
GeneralDoes this control exists???!!! Pin
Andretux22-Mar-04 8:16
Andretux22-Mar-04 8:16 
GeneralRe: Does this control exists???!!! Pin
Heath Stewart22-Mar-04 9:05
protectorHeath Stewart22-Mar-04 9:05 
GeneralFind Reverse Color Pin
Werdna22-Mar-04 7:07
Werdna22-Mar-04 7:07 
GeneralRe: Find Reverse Color Pin
leppie22-Mar-04 8:53
leppie22-Mar-04 8:53 
QuestionHow Can I control Host IE. Pin
flywithu22-Mar-04 6:36
flywithu22-Mar-04 6:36 
AnswerRe: How Can I control Host IE. Pin
Heath Stewart22-Mar-04 9:00
protectorHeath Stewart22-Mar-04 9:00 
GeneralSave File Dialog/Open File Dialog in DataGrid Pin
Anonymous22-Mar-04 6:11
Anonymous22-Mar-04 6:11 
GeneralRe: Save File Dialog/Open File Dialog in DataGrid Pin
Dave Kreskowiak22-Mar-04 8:26
mveDave Kreskowiak22-Mar-04 8:26 

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.