Search:

Type: Posts; User: Ruchikar

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,436

    db-vista or RDMe, anybody???

    Hi,

    I'm expected to migrate a db-vista (or RDMe) database system to an Oracle based system.

    Has somebody done a similar exercise? What are the data migration mechanisms? Is there any dumping...
  2. Replies
    3
    Views
    1,054

    Thanks! Basically, I was thinking of making a...

    Thanks!

    Basically, I was thinking of making a commandline based exe to change the template files location in all the files in a particular folder.

    I am not much of a VB chap, can you provide a...
  3. Replies
    3
    Views
    1,054

    changing tempate location in MS Word?

    Hi all,

    We need to change the template files (.dot files) location in a lot of word documents.

    Does MS Word exposes any interface for doing this programmatically?

    Any other ideas on how to...
  4. To clarify a bit more, the application is running...

    To clarify a bit more, the application is running in the 16 bit COMMAND.COM emulation shell of VDM. It's *not* running in 32 bit cmd.exe.

    Do you anticipate any problems if this application is...
  5. Dos differences in Windows NT and Windows XP

    Are there any differences in DOS in Windows NT and Windows XP. I have a small application running in Windows NT DOS. Could there be any issues while taking it to Windows XP?

    TIA.
  6. Replies
    1
    Views
    1,629

    PMAKE on windows

    Hi all,

    I have a few OS/2 based makefiles which run with PMAKE.

    I'm trying to port the code to Windows NT. Is the PMAKE utility available for Windows? Where can I get it from? Search on Google...
  7. Problem is not with non ANSI coding. Since...

    Problem is not with non ANSI coding.

    Since these are desktop application, a lot of code is screen based visual code. Which uses built-in libraries provided by IBM Visual Age.

    Now that support...
  8. Visual Age C++ to MS VC++ conversion issues?

    Hi all,

    I have a set of desktop applications which are running in OS/2 environment to migrate to WinXP environment.

    A lot of the code is in IBM Visual Age C++. IBM has discontinued the support...
  9. Replies
    1
    Views
    1,521

    how to deal with DataModel changes...

    Hi all,

    For an existing code written with data-model LP32, what could be the best way to deal with the change of the Data-Model from LP32 to ILP32.

    In data-model LP32: long and pointer are 32...
  10. Replies
    1
    Views
    1,729

    date-time related problem

    Hi all,

    I'm writing a function which extracts the day, month and year value from a pre-defined timestamp format passed by the caller. This format is: NDDD
    where N is the decade number after 2000...
  11. Replies
    3
    Views
    1,162

    well, for the given problem that's probably the...

    well, for the given problem that's probably the simplest and best solution.

    But I didn't specify the problem in detail :D The reason I said console was because that was what I was trying to do in...
  12. Replies
    3
    Views
    1,162

    ostream problem...

    my code requirement is that a string between two macros is to be displayed at the console. Like this:


    TRACE << "hello world" << ENDTRACE;


    Question is: how should the two MACROS be defined....
  13. Replies
    3
    Views
    27,486

    I'm not sure how. Consider this code: int...

    I'm not sure how. Consider this code:



    int main()
    {
    char str[50];
    char *hex_str = "1A2";
    int int_output = 0;
  14. Replies
    3
    Views
    27,486

    hex string to integer...

    Hi,

    Is there any library function available which will convert a passed hex string to its equivalent integer value???

    Something like atoi() except that the input contains a hexadecimal string...
  15. Replies
    5
    Views
    1,237

    Also, the ultimate newbie socket tutorial: ...

    Also, the ultimate newbie socket tutorial:

    http://www.ecst.csuchico.edu/~beej/guide/net/html/
  16. Replies
    0
    Views
    927

    Code inspection anybody???

    Hi,

    I've made a newbie attempt at writing a small application in C++. I'm attaching its source.

    Let me know what all do you think is wrong with it. Specially in the memory management part. I'm...
  17. Replies
    0
    Views
    1,050

    which parser to use?

    I need to parse XML documents in my C++ application.

    I checked out Xerces, XML4C and MSXML.

    All of these are pretty cumbersome to use. Is there any short-n-sweet parser available which may...
  18. Replies
    11
    Views
    1,673

    Actually, the compiler allocates space for it....

    Actually, the compiler allocates space for it. Only, you wouldn't be able to modify the string.

    Just like saying:


    char *ptr = "Hello World";
    printf( "string is: %s\n", ptr );


    As pointed...
  19. Replies
    6
    Views
    2,096

    Regarding the size in recv(), you could put the...

    Regarding the size in recv(), you could put the recv() in while loop till it returns 0 or less. Something like this:



    char data_str[OPTIMIZED_INITIAL_SIZE];
    int bytes_read = 1;...
  20. Replies
    7
    Views
    1,294

    adding fuel to fire

    Words of wisdom:

    I wouldn't write an Operating System in Java, I'd go for C or C++. And I wouldn't implement a WebService in C, I'd most definitely go for Java.

    So, what to use or what not to...
  21. Replies
    3
    Views
    937

    Here's an idea: Try doing a connect()...

    Here's an idea:

    Try doing a connect() directly to the IP address you are trying to ping. You would have the information you want in just one function call (well, actually two. you'd do a socket()...
  22. Replies
    7
    Views
    2,456

    Well, the same code as SilentStrike's, when...

    Well, the same code as SilentStrike's, when compiled on MS VC++ gave this:


    Compiling...
    test.c
    c:\program files\microsoft visual studio\vc98\include\eh.h(32) : fatal error C1189: #error : ...
  23. Replies
    7
    Views
    2,456

    is included. That's why compiler didn't...

    <string> is included. That's why compiler didn't complain at line 64:


    string reason( "connect() failed" );


    The only errors I get are the ones in the original post.

    I can't see any...
  24. Replies
    7
    Views
    2,456

    compile time error...

    when I use this:


    string reason( "connect() failed" );
    throw ( logic_error( reason ) ); // this is line 65.

    I get the following compile-time errors:

    ...
  25. Replies
    2
    Views
    969

    Try initializing the recvBuf to 0 before you do a...

    Try initializing the recvBuf to 0 before you do a recv() in it:


    memset( recvBuf, 0, 256 );

    Also, as vVv pointed out, you are recv()ing for max of sizeof(recvBuf) bytes which basically is:...
Results 1 to 25 of 39
Page 1 of 2 1 2