15,900,108 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 Visual Basic questions
View Python 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 Areff (Top 12 by date)
Areff
25-Oct-12 14:05pm
View
first of all, tank you for paying attention to this problem and then, what do you mean plug the c++ function into java class ?
Areff
18-Oct-12 3:14am
View
no, but i hope to someone could give a concise explain about the whole algorithm of this C++ function.
Areff
17-Oct-12 8:59am
View
i will be glad to do , but my problem is that i am in Iran and we have not access to international banking system to pay to do this job
Areff
22-Feb-12 5:12am
View
i think it will fill the data area (i have not access to source code of ReadData function)
Areff
22-Feb-12 3:34am
View
ReadData modifies it , and actually ReadData is responsible for reading data from a device and i havenot access to it's code , i just use it and it is working as well as expected in c++ app , it works in P/Invoke but in end of execution and in it's marshaling state error happend.
i changed the code as this code :
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
public delegate int ReadData (ref StringBuilder data);
IntPtr readAddrs = NativeSupport.GetProcAddress(dll, "ReadData");
ReadData read = (MS_Read)Marshal.GetDelegateForFunctionPointer(readAddrs, typeof(ReadData));
StringBuilder d = new StringBuilder(200);
read(ref d);
/"Attempted to read or write protected memory. This is often an //indication that other memory is corrupt."
but error occurred again. using both ref and out ends with same result (the error).
Areff
21-Feb-12 2:08am
View
you absolutely right , the problem is clear to me now because i found that the infrastructure of network doesn't works fine , and my approach to loading the DLL using GetProcAddress, LoadLibrary is OK, and i tested your solution the using of P/Invoke will works fine too. tanks for your help.
Areff
17-Aug-11 3:38am
View
I have not problem in compression or other things related to fetching the images , my question is about performance of fetching speed of sql server against file system, which one is more faster ?
Areff
5-Jul-11 8:18am
View
I think this must happen in network levels, and a service must be used for this problem,
Please experts
help about this ...
Areff
5-Jul-11 8:16am
View
i have not access to the client app's code and cannot change it, then i can not use WCF , i want to an app or service that i could put it between client app and the reciver app, ofcourse the 3rd party app or service must be in client machine to encrypt data(message) before getting out of machine (to network).
Areff
1-Nov-10 3:58am
View
i mean it, that app's authentication works fine and when some user logs in , he/she can view the authenticated pages .
i solved my problem by removing membership & profile tags from web.config.
Areff
30-Oct-10 7:10am
View
I asked from my host , they said that if your site has not annonymous access it can not be accessible. and your site has annonymous access.
Areff
28-Oct-10 17:16pm
View
No, everythings is ok with forms authentication , my problem is that when i trying to see the default.aspx , where it is excepted to view by all with site url , i prospect to view default.aspx when it is specified to be a default document in web.config, but url redirect to login.aspx insted of default.aspx .
Show More