I have REST implemented in C#, I will need to call REST from existing C++ Legacy code. What is the best way to do this. Please point me to some working example. URL Thank you
ptr_Electron
Posts
-
Best way to call REST Service from C++ -
Tools to refactor C++ code - Rad studioHi 1) I have huge C++ code, that I need to refactor. I am using RAD Studio- code gear Please advise free Tool to refactor C++ code. Thanks you 2)The code is very bad. it has around 3000 compiler warning. I know it is bad to automate fixing the warnings :( but Is there any tool, or automated process to fix the warnings Thanks you!!
-
Best Code Refactoring tool for C++ (code gear IDE)I am using RAD studio , code gear IDE, I huge C++ code to refactor. Looking for best free tool to refactor the code. Please advise. Thank you!
-
Calculating decimal places -Thanks for response. a given decimal number. I would the count of decimal points. For example 6.67 -? I need 2 6.9876 I need 4 1.67890 I need 5 Count of digits after decimal point
-
Calculating decimal places -May I know the correct approach please.
-
Calculating decimal places -I want to find the number of decimal point. for example 8.995 is the tax amount. I want to count number of digits after decimal point; in this case I want to get 3
-
Calculating decimal places -Tax variable is of type Double
-
Calculating decimal places -I want to find the number of decimal point. for example 8.995 is the tax amount. I want to count number of digits after decimal point; in this case I want to get 3
-
Calculating decimal places -Both are not pointers. one issue I found with this is the loop iterates for 19 times for the value of tax = 8.995. by end of the loop decimal = 19. I except decimal = 3 by end of the loop
-
Calculating decimal places -Hi Below code does some memory corruption due to which access violation happens at sub subsequent steps If I remove this block of code every thing is working fine. Unable to figure out the issue in the below code. Please help
while ((int)tax % 10 != 0)
{
tax *= 10;
decimals++;
}decimalpoints = decimals-1
-
Inter Process Communication between C++ - C#I am working on C++ project where performance is critical. there is no logging mechanism. I dont want to implement logging in the same project as it will hit performance. And hence I want to create A C# project while takes care of actually logging from C++ process I will push the Log strings to C# process to do Actually logging. I want to know which is the best IPC - Named pipes ? Memory Mapped files ? Socket Which should not hit the performance Could you please point me to some sample code/link which has the mechanism to Log from C++ to C# code please
-
What is the best tool to find C++ Memory issuesUsing Code Gear /RAD studio. Please advise
-
What is the best tool to find C++ Memory issuesCan you please suggest me Best Free tool to detect 1. Application Hang issues in C++ code 2. Memory leaks/ access violation
-
Memory allocated out side of try and Delete in finallyI am using RAD Studio code gear
-
Memory allocated out side of try and Delete in finallyI had a memory allocated out side a try block and I am trying to delete in finally? Should there be any issue with this. I am getting access violation while deleting
char *heap = new char [50];
try
{......
}
finally(...)
{delete[] heap; // access violation
} -
How to create a thread in C Android NDKMy development environment is Eclipse C Android NDK I want to create and run a Simple thread from a function I am trying to use
pthread_create()
Can some one point me to a simple thread example C Android What I tired and confusing for me is, what parms I need to pass to this function ?
JNIEXPORT void JNICALL
Java_org_testjni_android_Game_someFunction(JNIEnv * env, jobject obj)
{ -
Android (C++) - Eclipse : make (e=2): The system cannot find the file specifiedHi Experts, I am new to Android and also Eclipse. I am developing Android application (C++)in Eclipse IDE. I am getting below error while Building. Kindly advise.
process_begin: CreateProcess(NULL, C:/Android/NDK/android-ndk-r13b/build../toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -MMD -MP -MF ./obj/local/armeabi/objs-debug/QlibInitJava/QLibInit_FromJava.o.d -gcc-toolchain C:/Android/NDK/android-ndk-r13b/build//../toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 -fpic -ffunction-sections .) failed.
make (e=2): The system cannot find the file specified.Thank you!!
-
CoCreateInstance(CLSID_SpVoice); fails with Class not registeredThanks for response. project is 32 bit and I installed x86. I think that should be ok. what could be other reasons please advise. thanks in advance.
-
CoCreateInstance(CLSID_SpVoice); fails with Class not registeredI am using Microsoft speech sdk v 11 (https://msdn.microsoft.com/en-us/library/jj127898.aspx[^]). the below call fails, when I check GetLastError, observed that it fails to message "Class not registered". visual studio 2008, windows 7
hr = cpVoice.CoCreateInstance(CLSID_SpVoice);
Please advise
-
After including #include <atlbase.h> I am getting error C2632Thanks for response. Actual I had a non ATL C++ application, to which I need to add Text to speech(https://msdn.microsoft.com/en-us/library/jj127898.aspx[^]), and hence I was trying to add
#include extern CComModule _Module;
#includeAnd there by started with this issue.