Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

ptr_Electron

@ptr_Electron
About
Posts
357
Topics
157
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Best way to call REST Service from C++
    P ptr_Electron

    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

    C / C++ / MFC csharp c++ json tutorial question

  • Tools to refactor C++ code - Rad studio
    P ptr_Electron

    Hi 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!!

    C / C++ / MFC c++ tools help code-review

  • Best Code Refactoring tool for C++ (code gear IDE)
    P ptr_Electron

    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!

    C / C++ / MFC c++ visual-studio code-review

  • Calculating decimal places -
    P ptr_Electron

    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

    C / C++ / MFC help performance

  • Calculating decimal places -
    P ptr_Electron

    May I know the correct approach please.

    C / C++ / MFC help performance

  • Calculating decimal places -
    P ptr_Electron

    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

    C / C++ / MFC help performance

  • Calculating decimal places -
    P ptr_Electron

    Tax variable is of type Double

    C / C++ / MFC help performance

  • Calculating decimal places -
    P ptr_Electron

    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

    C / C++ / MFC help performance

  • Calculating decimal places -
    P ptr_Electron

    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

    C / C++ / MFC help performance

  • Calculating decimal places -
    P ptr_Electron

    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

    C / C++ / MFC help performance

  • Inter Process Communication between C++ - C#
    P ptr_Electron

    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

    C / C++ / MFC performance csharp c++ question

  • What is the best tool to find C++ Memory issues
    P ptr_Electron

    Using Code Gear /RAD studio. Please advise

    C / C++ / MFC c++ performance question

  • What is the best tool to find C++ Memory issues
    P ptr_Electron

    Can you please suggest me Best Free tool to detect 1. Application Hang issues in C++ code 2. Memory leaks/ access violation

    C / C++ / MFC c++ performance question

  • Memory allocated out side of try and Delete in finally
    P ptr_Electron

    I am using RAD Studio code gear

    C / C++ / MFC performance help question

  • Memory allocated out side of try and Delete in finally
    P ptr_Electron

    I 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
    }

    C / C++ / MFC performance help question

  • How to create a thread in C Android NDK
    P ptr_Electron

    My 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)
    {

    C / C++ / MFC tutorial java android question workspace

  • Android (C++) - Eclipse : make (e=2): The system cannot find the file specified
    P ptr_Electron

    Hi 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!!

    Android c++ android visual-studio linux

  • CoCreateInstance(CLSID_SpVoice); fails with Class not registered
    P ptr_Electron

    Thanks 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.

    ATL / WTL / STL csharp visual-studio com

  • CoCreateInstance(CLSID_SpVoice); fails with Class not registered
    P ptr_Electron

    I 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

    ATL / WTL / STL csharp visual-studio com

  • After including #include <atlbase.h> I am getting error C2632
    P ptr_Electron

    Thanks 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;
    #include

    And there by started with this issue.

    C / C++ / MFC help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups