![]() |
|
|||||||
| 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 |
|
|||
|
Quote:
I downloaded your example and just compiled it with #develop (last version). The dll work correctly then I test it with b4ppc on my desctom computer. But when I try to add dll in a b4ppc project on my compact device, I get messagebox that "an error occured. NotSupportedException". Can you tell me what I do wrong. Device: HTC Artemis, WM6 Thanks. |
|
|||
|
Hi. I code my DLLS in Vb.NET. If I have a class named "Const", and Const is a reserved keyword, and because this .net library is closed-source, how can I use this "Const" class? It has some unsined hexadecimal integers it returns that I need to use. If I convert these integers, they turn into signed integers and I get errors. Thanks.
|
|
|||
|
Hi. I am trying to wrap a c# class from within a VB.NET library, but the class from the C# dll is named Const. It returns unsigned Hexadecimals I nee to pass to a couple of other subs/functions. The problem is that in VB.NET Const is also used to declare Constants. So how can I use this kind of conflicting class? Thanks.
|
|
|||
|
Hi, thanks but however when I do that, VB.NET says that Const must be used as declaring variable types and can't be a class. This C# dll I am trying to wrap is closed, but I'm making a wrapper for it in VB.NET for Basic4ppc. I guess I could try letting Basic4ppc deal with passing the Constance in the Const class to my wrapper? Thanks.
|
|
||||
|
What are you using? This works for me in VS2005
Code:
C# DLL
-----------------------
namespace ClassLibrary1
{
public class Const
{
public Const()
{
}
public String Version
{ get { return "Const" ;}}
}
}
-------------------
VB.NET
-------------------
Imports ClassLibrary1
Public Class Form1
Dim Test As ClassLibrary1.Const = New ClassLibrary1.Const
Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
MsgBox(Test.Version)
End Sub
End Class
|
|
|||
|
Hi. I am having a hard time following the ScrollBar VB example for creating and raising events in a Basic4ppc library. Can someone show me a more simpler example of how I can raise events to activate in Basic4ppc maybe show an infinite loop of a counter being incremented by 1 and when it gets to 10 the loop raises an event to Basic4ppc and exits? Thanks.
|
![]() |
| 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 |
| How to create .cab file for Smartphone? | RCC2k7 | Questions & Help Needed | 1 | 05-30-2008 07:02 AM |
| How to create a new appointment | willisgt | Questions & Help Needed | 2 | 05-15-2008 08:21 PM |
| how to create a database ? | gjoisa | Questions & Help Needed | 27 | 02-14-2008 05:38 PM |
| Can you help me create B4P lib? | conf | Questions & Help Needed | 7 | 08-20-2007 07:41 PM |
| how to create spreadsheetlike function? | Stellaferox | Questions & Help Needed | 10 | 06-30-2007 01:09 PM |