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

C / C++ / MFC

 
GeneralRe: deleting strings Pin
John Burton24-Sep-02 3:54
John Burton24-Sep-02 3:54 
GeneralRe: deleting strings Pin
Le centriste24-Sep-02 6:50
Le centriste24-Sep-02 6:50 
GeneralRe: deleting strings Pin
Andreas Saurwein24-Sep-02 6:51
Andreas Saurwein24-Sep-02 6:51 
GeneralRe: deleting strings Pin
Zizilamoroso24-Sep-02 13:03
Zizilamoroso24-Sep-02 13:03 
GeneralRe: deleting strings Pin
Todd Smith24-Sep-02 7:13
Todd Smith24-Sep-02 7:13 
Generalprinting content in the specified position on document to printer Pin
vgkotha24-Sep-02 3:40
vgkotha24-Sep-02 3:40 
GeneralRe: printing content in the specified position on document to printer Pin
Roger Allen24-Sep-02 6:58
Roger Allen24-Sep-02 6:58 
QuestionError when use IDiskQuotaControl->FindUserName etc.? Pin
Anonymous24-Sep-02 3:38
Anonymous24-Sep-02 3:38 
Hi all,
I use IDiskQuotaControl->FindUserName() and IDiskQuotaControl->AddUserName() to add quota entry to a network shared volume for every user.
But There are miss match of the function parameters between the Visual studio promotion and the search result of F1 help.
The Visual studio promotion after I type the funciton name and the "(" is:
///////////
HRESULT FindUserName(LPCWSTR pszDomain,
LPCWSTR pszName, PDISKQUOTA_USER **ppUser);

/////////
but when I search use F1 help:
the result is:
///////////////
HRESULT FindUserName(
LPCWSTR pszLogonName,
PDISKQUOTA_USER *ppUser
);

Then I tried the first function. compile and link ok but when execute to it, a Debug Error! occurce:
/**************
Debug Error!
Program: ***
Module:
FIle:i386\chkesp.c
Line: 42

The value of ESP was not properly saved across a funciton call. This is usually a result of calling a function declared with one calling convention with a funciton pointer declared with a different calling convention.
***************************
I suspect that the error was caused by the reson that there are two functions one is we used and can compile and link but the real function in some dll is the other one.
But when I use the second one in code, it can not be compiled. say the this funciton does not take two parameters.
And the same situation with the AddUserName()

Does any one know how to sovle this problem?

Thanks very much for your help.

Laura.
Bu

Generalannoying carchive problem Pin
carrie24-Sep-02 3:16
carrie24-Sep-02 3:16 
Generaldeleting a control from the form Pin
ns24-Sep-02 3:14
ns24-Sep-02 3:14 
GeneralRe: deleting a control from the form Pin
jmkhael24-Sep-02 3:15
jmkhael24-Sep-02 3:15 
GeneralRe: deleting a control from the form Pin
ns24-Sep-02 3:47
ns24-Sep-02 3:47 
GeneralRe: deleting a control from the form Pin
jhwurmbach24-Sep-02 4:02
jhwurmbach24-Sep-02 4:02 
GeneralRe: deleting a control from the form Pin
Tomasz Sowinski24-Sep-02 4:10
Tomasz Sowinski24-Sep-02 4:10 
GeneralRe: deleting a control from the form Pin
Pavel Klocek24-Sep-02 4:10
Pavel Klocek24-Sep-02 4:10 
Generalsendmessage to a modal dialog Pin
ns24-Sep-02 2:32
ns24-Sep-02 2:32 
GeneralRe: sendmessage to a modal dialog Pin
jmkhael24-Sep-02 2:32
jmkhael24-Sep-02 2:32 
Generalthank you! Pin
ns24-Sep-02 2:41
ns24-Sep-02 2:41 
GeneralRe: thank you! Pin
jmkhael24-Sep-02 2:47
jmkhael24-Sep-02 2:47 
GeneralRe: sendmessage to a modal dialog Pin
Phil J Pearson24-Sep-02 6:21
Phil J Pearson24-Sep-02 6:21 
QuestionWhich SP do I have installed? Pin
Anonymous24-Sep-02 2:18
Anonymous24-Sep-02 2:18 
AnswerRe: Which SP do I have installed? Pin
SteveKing24-Sep-02 3:46
SteveKing24-Sep-02 3:46 
QuestionHow to open MDB file without DSN Pin
Tili24-Sep-02 2:16
Tili24-Sep-02 2:16 
AnswerRe: How to open MDB file without DSN Pin
Tomasz Sowinski24-Sep-02 2:24
Tomasz Sowinski24-Sep-02 2:24 
AnswerRe: How to open MDB file without DSN Pin
jmkhael24-Sep-02 2:29
jmkhael24-Sep-02 2:29 

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.