![]() |
|
#1
|
|||
|
|||
User defined types or Type AliasHi Everyone,
I have a C/C++ code and i have to convert it to vb .net and i did not create the original C/C++ program so while doing that i came across typedef which allows you to create type aliases so you can rename a type as something else now is there anything in vb .net that allows you to do that or this is just one of those things where vb .net will never be able to match the simple feature of C/C++? sample code CPP / C++ / C Code:
Thanks, Amit |
|||
|
#2
|
||||
|
||||
Re: User defined types or Type AliasMaybe the 'Delegate' keyword?
See this article here: http://www.codeproject.com/vb/net/Delegate.asp The article specifically uses 'Delegate] with functions, but I didn't check sample source links. I would assue it could be used on types too, but not sure. [I don't have VB.NET where I'm located to try] __________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
|
#3
|
|||
|
|||
Re: User defined types or Type AliasQuote:
oh thanks for the reply but i did see that particular article and also tried that but it only works for sub and function so when you use delegate keyword, it must be followed by a sub or function thanks for your concern Amit |
Recent GIDBlog
Vista ?Widgets? on Windows XP by LocalTech
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Vector of user defined type | ktcm | C++ Forum | 7 | 13-Sep-2007 10:28 |
| Hard drive/CPU Diagnoses Issues | binarybug | Computer Hardware Forum | 1 | 22-Jan-2007 19:23 |
| [Include] Doubly-linked List | dsmith | C Programming Language | 6 | 14-Apr-2006 13:12 |
| C++ PhoneBook | marita | C++ Forum | 46 | 12-Jun-2005 12:10 |
| User defined data types | Kareem1984 | C Programming Language | 1 | 06-Oct-2004 18:26 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The