none
User Interface For a C++ Code using C# ???? RRS feed

  • Question

  • Hi guys,
    i have a C++ code with no classes ..(but with Functions)
    It travels through the Directory and stores the name of the Files in Sql DB...(i have defined Functions to do it)
    so what should i exactly do in order to converet my c++ code (or .exe ) file into a dll...
    or Is there any way where i could use the Db Directly in c# ?
    basically i want to dispaly those Records in tree Format ..
    so i was told it is very much using c# ??
    iam totally new to these concepts...

    can somebody Give me a solid lead on what i should do next ??(How to proceed )
    should i convert my code such that all the functions comes Under corresponding classes ??

    sorry if my Question is Dumb ..
    hope i have Conveyed Sufficient Information !
    Friday, August 1, 2014 12:53 PM

All replies

  • or Is there any way where i could use the Db Directly in c# ?
    basically i want to dispaly those Records in tree Format ..
    so i was told it is very much using c# ??
    iam totally new to these concepts...

    And what database would that be? SQL Server, Oracle, Access or what?

    Friday, August 1, 2014 2:19 PM
  • Sqlite ...
    But thats not a problem ..
    if iam going retrieve data from Db , i should first Put data into Db ..
    so anyway i have to make a call to my C++ prog( dll that is going to be created )
    The Question is Can a Dll  be created for any c++ Program ? if so How ??
    Friday, August 1, 2014 2:22 PM
  • Sqlite ...
    But thats not a problem ..
    if iam going retrieve data from Db , i should first Put data into Db ..
    so anyway i have to make a call to my C++ prog( dll that is going to be created )
    The Question is Can a Dll  be created for any c++ Program ? if so How ??

    I would say why are you asking questions about C++, becuase this is a .NET C# forum. What is it? Is it that you have a DLL in C++ that you want a C# program to use it or is it vice versa?

    Just what are you trying to accomplish here?

    Friday, August 1, 2014 2:39 PM