Click here to Skip to main content
15,851,387 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I want to make database software for my college mates.
I started creating it in Visual Studio C# 2008 but i came to know that all apps created with c# requires .net, which my users lack and they will not install it for my tint software.

Some of my users are also using win 98 which is not at all supported by .net.

Now i want to make that app in C++ using DLLs to make a good looking user interface.The program is database based.

I want to make a UI just like Adobe PDF Reader where user can search the question papers and their solutions in database and other small features.

I created this program in C#, any way of converting it into MFC?

Biggest problem is making this program native, small in size and windows xp compatible.

Yes i know c++, but upto a limit.
Posted
Updated 18-Dec-09 1:33am
v5

wrote:
Now i want to make that app in C++ using DLLs to make a good looking user interface.The program is database based.

Please help me from where to start..


Well, for a start, dlls and 'good looking user interface' are totally unrelated. There is no reason on earth why you may need to use dlls. Also, if you use MFC, you will need to link MFC statically with your app if you want to avoid distributing external dependencies. Do you even know C++ at all ? It's a lot harder than C#, that's why C# was invented really, so that writing programs would be made easier, so more people could do it, including people who would not expect to be paid much.

Pls edit your post to answer my questions, so they become part of your question, and not an 'answer'.
 
Share this answer
 
v2
wrote:
Now i want to make that app in C++ using DLLs to make a good looking user interface


How can DLLs improve look and feel of the application?

You can use cross-platform libraries like wxWidgets or QT to create the UI. Use SqlLite for database. Download these programs and create static libraries out of it. When you build your application, link it against these static libraries. After that everything will be embedded in your executable and you can deploy it alone.

Of course, the target system requires VC++ runtime files and I guess that is part of operating system.
 
Share this answer
 
What software and what exactly is your problem? You might want to read How to ask questions the smart way[^] and the general guidelines[^] for asking a question here (specifically point #2).
 
Share this answer
 
If you don't know C++ well, better consider something like Delphi. It produces native code and can statically link all the dependencies, just like C++, but it will be probably much easier for you than C++.

On the other hand, if you really want C++, be sure to statically link MFC and CRT so you don't haave to ship extra dlls. There is no way to "convert" an existing .NET application to C++/MFC, you'll need to code it from scratch.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900