15,797,167 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Python questions
View PHP questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Richard Andrew x64 (Top 22 by date)
Richard Andrew x64
7-Jul-23 10:50am
View
Have you tried writing down a step-by-step method of how you would perform this by hand? Sometimes that really gives you insight into how to have the computer do it.
Richard Andrew x64
11-Jun-22 18:15pm
View
What application is giving the error message? Is the error coming from Windows File Explorer? Or from Visual Studio? Where?
And WHEN does the error happen?
You must provide many more details before anyone can help you solve this.
Richard Andrew x64
23-Apr-22 18:37pm
View
You don't need a for loop to remove all the features. You could simply type "format C:".
Richard Andrew x64
19-Aug-21 16:35pm
View
I suggest you look into what methods are available for selecting complete ranges, and then copying them to other places. Doing it cell by cell must be what's making it slow.
Richard Andrew x64
10-Nov-20 20:48pm
View
It looks like your program is correct except for limiting the calculation to 100 or less. What did the teacher say is wrong with it?
Richard Andrew x64
27-Sep-20 12:10pm
View
What is the exact error message that you receive?
Richard Andrew x64
27-Sep-20 11:41am
View
Are the namespaces in the DLL marked "public"?
Richard Andrew x64
27-Sep-20 11:26am
View
Do you have access to the DLL source code?
Richard Andrew x64
27-Sep-20 11:21am
View
What language is the DLL written in?
Richard Andrew x64
2-Jun-18 18:30pm
View
I'm sorry. I failed to notice that you properly decorated the delegate with the CallingConvention.Cdecl attribute. I was supposing that the callback might have required the stdcall convention. Like you, it's been a while since I've done native/managed interop.
What does the code that calls the callback look like?
Richard Andrew x64
2-Jun-18 16:28pm
View
If it crashes after leaving the callback, that is a very strong indicator that the stack is corrupted on the native side. I would recommend making sure that CDECL is the right calling convention for calling into managed code.
Richard Andrew x64
2-Jun-18 13:10pm
View
I'm confused by your terminology. You say "it fires and runs", then you say "it blows up", "delegate finishes".
Perhaps if you could be specific. Where exactly is the thread when it "blows up?" Is it before, during or after the callback function is executed?
Do you get an error message about the stack being unbalanced?
Have you stepped through the code with the debugger?
Richard Andrew x64
1-Mar-18 11:27am
View
Have you tried Google?
Richard Andrew x64
18-Mar-17 18:59pm
View
This is ALMOST a good question because it contains the problem and what has been tried. But it's missing the crucial ingredient of exactly what the question is. What is it supposed to do, and what is it doing wrong?
Richard Andrew x64
2-May-15 19:26pm
View
Could you clarify what exactly you are asking?
Richard Andrew x64
15-Feb-14 21:13pm
View
MSDN says that you'll get that exception in the following circumstances:
The form being shown is already visible.
-or-
The form specified in the owner parameter is the same as the form being shown.
-or-
The form being shown is disabled.
-or-
The form being shown is not a top-level window.
-or-
The form being shown as a dialog box is already a modal form.
-or-
The current process is not running in user interactive mode
Richard Andrew x64
30-Aug-12 13:28pm
View
Reason for my vote of 4
Very succinct and to the "point!"
Thank you.
Richard Andrew x64
25-Mar-12 20:44pm
View
You've probably not gotten any responses because your explanation is too complicated to follow. Please restate what you're looking for in a more straightforward manner, and you might get some responses.
Richard Andrew x64
20-Jul-11 18:54pm
View
But what prevents the unauthorized user from calling the web service? I'm sorry if I'm missing something obvious. Thanks for your help.
Richard Andrew x64
20-Jul-11 18:40pm
View
How does this prevent a unauthorized user from retrieving the password?
Richard Andrew x64
20-Jul-11 18:39pm
View
I'm talking about the password for the database itself. It has to be stored on the client machine. But what is the preferred method?
Richard Andrew x64
4-Jul-10 22:30pm
View
You demand "where is my mistake," and don't provide any code to look at. Dumb question.
Show More