| |||||||
| Register | FAQ | Members List | Calendar | Arcade | Search | Today's Posts | Mark Forums Read |
| Programming and Assembly Language Please read this Topic's rules!! |
![]() |
| | LinkBack (1) | Thread Tools | Rate Thread |
| ||||
| Guide: Use the internals of OcBible! Ladies and gentlemen!!!!!!!!!!!!!!!!!! Yeah in this thread you will learn how you can use the internals of OcBible! WOW! Fasten your belt! We start!!!!! First of all you probably know that OcBible is written in Microsoft C#. This means that you can use my libraries if you are C#, J#, Visual C++ or Visual Basic programmer. I do not use any other Microsoft programming languages so I will show you how to do this using C#. Create a project: http://www.aoaforums.com/forum/attac...1&d=1154934786 Mark Windows Application and input a name e.g. Regression. Then click on OK button: http://www.aoaforums.com/forum/attac...1&d=1154934792 Right click your mouse and choose View Code menu: http://www.aoaforums.com/forum/attac...1&d=1154934799 Click on cross (tree view item) in Solution Explorer: http://www.aoaforums.com/forum/attac...1&d=1154934805
__________________ Last edited by MrSeanKon : 18th September, 2006 at 01:43 AM. |
| ||||
| Right click again and choose Add Reference menu: http://www.aoaforums.com/forum/attac...1&d=1154936337 Press Browse button on next dialogue: http://www.aoaforums.com/forum/attac...1&d=1154936337 and locate the proper *.dll file: http://www.aoaforums.com/forum/attac...1&d=1154936337 Then click on OK button: http://www.aoaforums.com/forum/attac...1&d=1154936337
__________________ |
| ||||
| Go back in source code.... Add this statement in header section: http://www.aoaforums.com/forum/attac...1&d=1154936260 and this in namespace: http://www.aoaforums.com/forum/attac...1&d=1154936266 Of course you can name your object differently. You must call your object in proper part of your source code: http://www.aoaforums.com/forum/attac...1&d=1154936272
__________________ |
| ||||
| Let's add a button in interface: You must click on toolbox icon: http://www.aoaforums.com/forum/attac...1&d=1154936407 Then move your mouse in form area and click again: http://www.aoaforums.com/forum/attac...1&d=1154936412 You will see a button in interface. Double click on button so the Visual Studio recognizes an event and add this code for example: http://www.aoaforums.com/forum/attac...1&d=1154936624 ---> SOS WARNING!!!! <--- In C when you create an array the index starts from zero and stops up to n-1. GKR I hate this issue cos I started programming with Pascal and FORTRAN 14 years ago. Therefore I follow this idea in my routines I mean when I create an array e.g. OcBible[101] I store data in OcBible[1], OcBible[2],.......,OcBible[100] instead of OcBible[0], OcBible[1], OcBible[2],.......,OcBible[100] The zero index element is always BANNED!!! P.S. Don't ask me anything about Pascal (OK is dead now Delphi is the new generation) or FORTRAN.... I am not a student anymore so I do not remember anything about these programming languages LOL!
__________________ |
| ||||
| Compile your project and two files are: http://www.aoaforums.com/forum/attac...1&d=1154936545 Run the executable file. GKR *.dll must be in the same folder with *.exe else exception error GKR...... LOL....... Press the button!!!!! http://www.aoaforums.com/forum/attac...1&d=1154936551 And here is the output: http://www.aoaforums.com/forum/attac...1&d=1154936558 http://www.aoaforums.com/forum/attac...1&d=1154936576 http://www.aoaforums.com/forum/attac...1&d=1154936581
__________________ |
![]() |
LinkBacks (?)
LinkBack to this Thread: http://www.aoaforums.com/forum/programming-and-assembly-language/37600-guide-use-the-internals-of-ocbible.html | ||||
| Posted By | For | Type | Date | |
| H Bιβλος του Yπερχρονισμου (aνακοινωσεις κλπ).... | This thread | Refback | 14th June, 2008 04:05 AM | |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Rate This Thread | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| VOTE HERE for OcBible (v1) | MrSeanKon | OS, Software, Firmware, and BIOS | 0 | 26th April, 2007 02:18 PM |
| A look at the internals of the 360 Elite | danrok | GAMES! OH YEAH! | 1 | 21st April, 2007 05:13 PM |
| Which OcBible interface do you use? | MrSeanKon | OS, Software, Firmware, and BIOS | 0 | 15th January, 2007 01:25 AM |