| View previous topic :: View next topic |
| Author |
Message |
spectrum Expert Cheater
Reputation: 0
Joined: 27 Mar 2007 Posts: 143
|
Posted: Thu Jan 24, 2008 12:45 pm Post subject: Combining languages |
|
|
so i've started c++ a few days ago, but i searched how to create a nice gui and that seems pretty hard, so im asking if i could code a program in c++ and then make the gui in visual basic.
is that posible? how?
if its not then recomend me please a language that is easy to create and manipulate the gui but not as elemental as visual.
PS: sorry for my english, it isn't my first language. |
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Thu Jan 24, 2008 12:48 pm Post subject: |
|
|
make a dll with all your functions then add a .def file to the project with the library name and exports in C++
then in VB make ur GUI and load ur dll made in c++ with VB and declare all the functions from it (dont ask me, i dont know VB)
u can then call them like regular functions within ur VB project...
edit: here - googled and found: http://support.microsoft.com/kb/106553
edit 2: that link is for VB3, declaring a dll in VB.NET or VB6 i think is a bit different so u'll have to find out how to do it with higher versions  _________________
Last edited by lurc on Thu Jan 24, 2008 12:59 pm; edited 3 times in total |
|
| Back to top |
|
 |
spectrum Expert Cheater
Reputation: 0
Joined: 27 Mar 2007 Posts: 143
|
Posted: Thu Jan 24, 2008 12:54 pm Post subject: |
|
|
| thanks alot!!! rep'd |
|
| Back to top |
|
 |
Snootae Grandmaster Cheater
Reputation: 0
Joined: 16 Dec 2006 Posts: 969 Location: --->
|
Posted: Thu Jan 24, 2008 6:59 pm Post subject: |
|
|
you should try and use visual studio 2005 vb.net, nice looking, if that's what you want.
P.S. your English is better than some people on this forum who only speak english  _________________
|
|
| Back to top |
|
 |
XxOsirisxX Grandmaster Cheater Supreme
Reputation: 0
Joined: 30 Oct 2006 Posts: 1597
|
Posted: Fri Jan 25, 2008 10:41 am Post subject: |
|
|
to use .dll function is about to know the function, in which case, you supposly make it.. so, it won't be hard for you to use "call" fuction. _________________
|
|
| Back to top |
|
 |
|