15,742,303 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 Javascript questions
View C++ questions
View Python questions
View Java 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 Sampath579 (Top 22 by date)
Sampath579
2-Aug-22 0:45am
View
Does you get the solution. I am also facing same issue.
Sampath579
1-Aug-22 0:07am
View
Resolved the issue on my own after doing little more investigation.
Sampath579
1-Aug-22 0:04am
View
Resolved on my own by changing the workflow little bit.
Sampath579
31-Jul-22 23:17pm
View
Thanks Richard. Now i can find my old question with the link above you shared.
Please delete this post. But seriously i cannot see this question under "My Questions" tab.. Not sure whats the glitch.
Sampath579
28-Jul-22 8:51am
View
Some how i did not see this question in "my question" section after i post it.Thats the reason i posted new one.
Sampath579
28-Jul-22 8:50am
View
Its a typo.. I am reading xlsx only using CDatabase
Sampath579
21-Jul-22 23:31pm
View
This is not working.
Sampath579
12-Nov-21 0:54am
View
i pasted the real code here.
startInfo.FileName = "C:\program files\Test.exe"
Sampath579
12-Nov-21 0:07am
View
I took care of spaces in the path. Thats just an example i mentioned here, but in the code i handled it.
Sampath579
11-Nov-21 22:58pm
View
But its working fine in UI mode even if i create folder in C:\Program Files with UAC high. But creating the folder in C:\program files is secondary, but in the first place the Process should get invoke. That itself is not happening.
Sampath579
24-Sep-20 1:39am
View
I could able to solve this issue in different way. Since i am not aware of how to give this command line argument in c# Process, i written a batch file with all those GIT commands and called that batch file from c# code and it worked like a charm..
Sampath579
23-Sep-20 0:23am
View
Even tried this but no use. Every where in google people simple saying to write command there but no one gave an example how to write a command as a sample.. :(
Sampath579
22-Sep-20 12:27pm
View
Deleted
Windows 10.
Sampath579
22-Sep-20 12:22pm
View
Nope. I dont think so, if that is the case then how can the git bash console invokes properly without arguments?
Sampath579
22-Sep-20 12:08pm
View
I tried as follows:
gitInfo.Arguments = "git diff-tree -r 61140bb40f879dd21e8624fe8e2125df846572e8";
and the result is
bash: /mingw64/bin/git: cannot execute binary file
/usr/bin/bash: Exit 126.
in git bash console.
Sampath579
22-Sep-20 11:58am
View
strerr_str is empty, since the git-bash console does not have any data in it and the window no longer exists during we read it. The ID is the commit id i have provided which is a valid one in my project.
When i check the value of arguments in visual studio during debugging the value of the arguments is as follows:
-c "git diff-tree -r 61140bb40f879dd21e8624fe8e2125df846572e8"
Sampath579
22-Sep-20 11:37am
View
The git-bash window pop ups and disappear immediately. The same command git diff-tree -r 61140bb40f879dd21e8624fe8e2125df846572e8 if i enter manually in git-bash console then i get the list of files properly but when is send it as an arugment in c# process its failing to execute that command. If i comment that arguments part and execute my code then git-bash console is poping up and staying for longer time and hence i feel the way i pass the arguments to the process is wrong.
Sampath579
24-May-20 11:32am
View
I could figure out the issue on self finally. :)
Sampath579
22-May-20 10:10am
View
Thanks. Basically i dont want to depend on office software which is heavy prerequisite. So which one would give a better performance? Office components or OLDB and my application is 64bit.
Sampath579
1-Oct-19 0:45am
View
Finally solved the issue on my self.
Sampath579
13-Jun-19 6:05am
View
In visual studio i have two projects (static libs).
1. C++ Project
2. .Net Dll
from my c++ project
#import "D:DotNet\\DecoderAndDecompresser.tlb" named_guids
void Test::Create()
{
IDecoderPtr pIDecode(__uuidof(CDecompresser));
pIDecode->DotNetFun();
}
In .net project
namespace DecoderAndDecompresser
{
public interface IDecoder
{
void DotNetFun();
};
public class CDecompresser : IDecoder
{
public void DotNetFun()
{
Sample.Open(); // Open is a static member function in one of the .netdll.
}
}
}
When i call DotNetFun() from my c++ code, control is not even going to that function and application getting terminated. If i remove that call i.e., Sample.Open() then there is no issues.
Hope it helps in understanding my sceniro.
Sampath579
13-Jun-19 5:30am
View
The code is just a sample i gave. If function signature does not match, my code wont get compile first.
IDecoderPtr pIDecode(__uuidof(CDecompresser));
pIDecode->DotNetFun();
Open is a static function in that third party dll. Sample is class in that dll.
The function which i am calling i.e., DotNetFun() is not a static function. Inside this function, there is a call as follows:
public void DotNetFun()
{
Sample.Open(); //open is a static function in third party dll.
}
Show More