![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Code Samples & Tips Share your recent discoveries and ideas with other users. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
NO Problem....Thanks for you time and expertize....
I'm eagger to learn, and although internet HAS everything you'll ever whanted, is hard to find when you don't known what others call it...
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD DLL Version Listing |
|
||||
|
Have a look here for step by step dll building. It's a start
![]() http://www.c-sharpcorner.com/UploadF...058AM/dll.aspx
__________________
Endemol ![]() Waste of space ![]() O2 XDA Artemis Touch Flo 4.02 Full Cube Rom WM6.1 http://www.taximania.net |
|
||||
|
Taximania, the thing about those tutorials is that they all base the assumption that you have the Visual Studio version of c#....And some of the options featured on these are not available, or are hard to find in other c# enviroments such as sharpdevelop...And they all only tell "do it this way" and "why things are done this way"....
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD DLL Version Listing |
|
||||
|
My last post has bit the dust.
DLL's can be created in SharpDevelop2.1. I've done a very simple one based on the link to the example code from my previous post. Ask me if you want the code. EDIT AGAIN: Tried eVC++ :-( Stick to Sharp Develop. eVC++ is way out
__________________
Endemol ![]() Waste of space ![]() O2 XDA Artemis Touch Flo 4.02 Full Cube Rom WM6.1 http://www.taximania.net Last edited by taximania : 07-25-2007 at 07:13 PM. |
|
||||
|
Hi,
.sln files created automatically by SharpDevelop. But I think, the best way to start is to use a template solution (I've posted earlier in this thread ScrollBar examples) and then from the project area rename solution, project, and class files. Attached in this post is one more simple sample, I've made for this thread Help Creating a dll @taximania I am amazed. Your passion to learn looks endless. C++ isn't an easy to learn programming language but on the other hand it delivers all the power. With eVC++ you can't create .NET DLLs but only native ones. C# is a good choice (VB.NET too). Last edited by dzt : 07-27-2007 at 10:32 AM. |
|
||||
|
@DZT, I have qualifications in 'C' programming. C++ is just a bit more complex.
To use your example in Sharp Develop, what option do I chose when I click on new solution ? C#, VBNet, etc. Sharp had arguments with this line, frmAbout = new System.Windows.Forms.Form(); so I added a reference to system.windows.forms, it compiled to a dll but it wont work on my device.
__________________
Endemol ![]() Waste of space ![]() O2 XDA Artemis Touch Flo 4.02 Full Cube Rom WM6.1 http://www.taximania.net |
|
||||
|
dzt thanks for all your trouble helping me, and of course, all others who want to learn dll creation...
I built your code and it works fine except that, in the desktop, the inputbox is shown outside the form boundaries even when i set the position relatively to the form... I haven't tryed it in my device yet... Any clues?
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD DLL Version Listing Last edited by Cableguy : 07-27-2007 at 11:40 PM. |
|
||||
|
Hi cableguy,
Positioning forms at Desktop Windows is a bit tricky if you want to use the same DLL for both device and desktop. Didn't post anything because I had the device in my mind. The workaround: Add Left and Top properties to your AboutBox Code:
public int Left
{
get {return frmAbout.Left;}
set {frmAbout.Left = value;}
}
public int Top
{
get {return frmAbout.Top;}
set {frmAbout.Top = value;}
}
Position the AboutBox after the .show method case2, using .ShowDialog As nothing executed after .ShowDialog until the user presses OK you can't position your AboutBox after .ShowDialog. So to do the trick you should use a timer. Enable it before .ShowDialog and in the first tick (1 ms should be enough) disable the timer first and then position your AboutBox. And a small notice about my posted c# code. If you use .ShowDialog to show the AboutBox then at btnOK_Click event is not enough to use frmAbout.Hide(). Instead of Hide use frmAbout.Close() |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can I use basic4ppc to create a Bluetooth middleware solution? | Olav | Questions & Help Needed | 1 | 09-22-2008 12:21 PM |
| How to create a new appointment | willisgt | Questions & Help Needed | 2 | 05-15-2008 09:21 PM |
| how to create a database ? | gjoisa | Questions & Help Needed | 27 | 02-14-2008 06:38 PM |
| Can you help me create B4P lib? | conf | Questions & Help Needed | 7 | 08-20-2007 08:41 PM |
| Table create with no data | tvrman | Questions & Help Needed | 4 | 06-25-2007 09:46 PM |