User Profile

Collapse

Profile Sidebar

Collapse
Mant
Mant
Last Activity: Mar 28 '08, 11:14 AM
Joined: Mar 12 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I have a project written in C if I build it using Borland C++ compiler things are going on fine and if I build using Visual Studio compiler its not.

    The scenario is,
    I have a project which is in C, in one of the file I have redefined the printf function. Below

    // This printf will write on to a file instead on stdout

    // myfile.c
    #define printf(format, ...) \
    perprintf(forma t, __VA_ARGS__)...
    See more | Go to post

    Leave a comment:


  • Mant
    replied to DLL crash due to memory corruption
    in C
    The problem, was with the cross compilation. I was using both the Borland and Windows C++ compiler to build my project. I removed the dependecy for the Borland compiler by creating a Visual Studio project and it didnt crash.
    But didnt understand what was the cause for the crash.
    Anybody knows why???
    See more | Go to post

    Leave a comment:


  • Mant
    replied to Convert Borland makefile to MS Visual Studio
    in C
    I created a visual studio project and added all the relevent files and built it. It worked.

    Thanks a lot for your help.
    See more | Go to post

    Leave a comment:


  • Mant
    started a topic windows C++ compiler option to link user define printf
    in C

    windows C++ compiler option to link user define printf

    Hi,
    I have rewritten a printf function according to my usage and I want call my printf function instead the standard printf function during my project execution.
    Can anybody tell me what is the windows C++ compiler option in Visual studio 2005, so that I can tell the windows compiler to use my printf function.
    See more | Go to post

  • Mant
    started a topic DLL crash due to memory corruption
    in C

    DLL crash due to memory corruption

    Hi,
    I have a DLL created in Borland C++, which I am trying to call at runtime using DLL LoadLibrary() from one of my Visual studio C++ project which is a DLL again. And both these are used in a .Net application.

    Following is the way I am trying to export and call.

    Borland C++ DLL exposing the function,

    __declspec(dlle xport) const char * __stdcall Function(char *paramStr1, char *paramStr2, int paramStr3)...
    See more | Go to post

  • Mant
    started a topic Convert Borland makefile to MS Visual Studio
    in C

    Convert Borland makefile to MS Visual Studio

    Hi,
    I have a borland C++ makefile for a project created in Borland C++ which I wanted to translate into microsoft visual studio compatible makefile, so that I can build-Compile-debug the whole project in Visual Studio editor.

    The obvious reason for this translation is that, I am not able to debug the whole project for some run-time errors.

    can anybody help me out in this?
    See more | Go to post
No activity results to display
Show More
Working...