dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: kalgik

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    6,075

    Calculate integral in Java

    Dear all,

    I was wondering if there are some functions that can calculate indefinite and definite integral in Java. I could not find any. Is any library support that and can be imported?

    I...
  2. Replies
    2
    Views
    3,529

    Calculate integral in C++

    Dear all,

    I was wondering if there are some functions that can calculate indefinite and definite integral in C++. I could not find any. Is any library support that and can be imported?

    I...
  3. Re: Problem using array of char pointer - size and initialization

    e=&findGPRM[strlen(findGPRM)];


    Hoxsiew, I can not understand what is the reason that you are using the above line.

    And why are you writing the following?


    len=e-p1;
    arr[idx]=(char...
  4. Re: Problem using array of char pointer - size and initialization

    Thank you for your replies.

    1. I used calloc as it seemed below:


    int main(int argc, char* argv[])
    {
    const int DELIMITER = ','; //delimiter
    //Declare an array of char pointers -10...
  5. Problem using array of char pointer - size and initialization

    Dear all,

    I am trying to split a string and store the results of the split string in an array of char pointer of ten positions. The array of char pointer is the storeGPRMcomponents and it is...
  6. Replies
    5
    Views
    2,271

    Re: Change value of variable from a DLL

    Hi again.

    I can not access the variable from the program that uses the DLL.
    I receive the following while I compile it:



    1>LINK : warning LNK4039: section '.shareseg' specified with...
  7. Replies
    5
    Views
    2,271

    Re: Change value of variable from a DLL

    Do I have to declare the following shared section in the implemnation of the DLL(.cpp file) or at its header file?



    #pragma data_seg (".shareseg")
    int mysharedint = 0;
    #pragma data_seg()
    ...
  8. Replies
    5
    Views
    2,271

    Change value of variable from a DLL

    Dear all,

    I have create a simple DLL, which it has some methods and variable. I have declared these as extern "C" in the header file as following:



    #ifdef TESTDLL_EXPORTS
    #define...
  9. Replies
    4
    Views
    687

    Re: Linking error while using a DLL

    Yes, you are right.

    Thank you!
  10. Replies
    4
    Views
    687

    Re: Linking error while using a DLL

    Do I have to include extern "C" in the variabale and the function, at the test program?
    Unfortunately, I do not know how to declare that.

    Is it possible to provide me any document/article related...
  11. Replies
    4
    Views
    687

    Linking error while using a DLL

    Helo everybody.

    I have created a simple DLL which exports a variable and a function (not any class) as following in the header file:



    #ifdef TESTDLL_EXPORTS
    #define TESTDLL_API extern "C"...
  12. Replies
    6
    Views
    8,394

    Re: Convert char* to TCHAR, PlaySound()

    Thank all of you.

    Here is my solution:


    (1):
    TCHAR path[]=_T("MySound.wav");
    PlaySound((LPTSTR )path,NULL,SND_FILENAME |SND_SYNC);

    Or (2):
  13. Replies
    6
    Views
    8,394

    Convert char* to TCHAR, PlaySound()

    Hi all.

    I would like to play a sound (a .wav file) using a char * as input as following:



    char *s="D:\\MySouns.wav";
    TCHAR pathforSound[]=(TCHAR)s;

    LPCTSTR abs2=(LPCTSTR)(pathforSound);
Results 1 to 13 of 13


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)