wrapper Questions

2

Solved

Ok guys, this is making me crazy. I'm creating a port for a C lib in C# but I've a problem in using a bitmap (generated with gdi) with a byte array (required from the c lib) Here are is the code, ...
Preponderance asked 3/1, 2011 at 1:43

1

Solved

I need to generate wrapper to FLTK C++ classes to use it in pure C. I know, that SWIG can do that, and I know how to generate wrapper for C#, Python etc. But I do not know how to wrap C++ to C usin...
Blindfold asked 28/12, 2010 at 15:35

2

Solved

So I know how to use .wrap, .wrapInner and .wrapAll but I am wondering how to use the quick creation syntax introduced in jQuery 1.4 and the wrap function together. Basically I want to be able to ...
Pistil asked 16/11, 2010 at 3:23

3

Solved

For my CMS application I'm writing a DLL that I will include into my projects. That DLL will include functionality like retrieving all news for a specific project. For instance, my database contai...
Ambidexterity asked 18/9, 2010 at 14:49

2

Solved

I'm looking for as comprehensive as possible of a mock replacement and wrapper for the ASP.NET HttpContext in my applications. A comprehensive mock replacement could potentially increase the testab...
Dorisdorisa asked 25/8, 2010 at 21:50

2

Solved

I'm not sure if this is even possible, but here goes: I have a library whose interface is, at best, complex. Unfortunately, not only is it a 3rd-party library (and far too big to rewrite), I'm usi...
Solitta asked 19/8, 2010 at 19:35

2

Solved

This must be simple. I am trying to pass sub-element into a JSF component. I have my component declared as: <?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTM...
Guenna asked 13/8, 2010 at 7:22

3

Solved

I am doing a bit of research before I am going to write my own 2D (and maybe some 3D) game engine. I have made an engine before using C# and XNA but I want to go cross platform this time by making ...
Irrelievable asked 10/8, 2010 at 19:23

6

Solved

I have a project written in C++ and I'm looking to write a Java GUI as an interface to it. The choice of Java is fixed so I'd need to learn how to be able to call the C++ code from Java. Rewriting ...
Lemmie asked 28/7, 2010 at 18:34

2

Solved

I would like to wrap the String.format() method with in my own Logger class. I can't figure a way how to pass arguments from my method to String.format(). public class Logger { public static void...
Athwart asked 6/6, 2010 at 11:56

3

Solved

I'm looking for a way to create a generic wrapper for any object. The wrapper object will behave just like the class it wraps, but will be able to have more properties, variable, methods etc., for ...
Bandoline asked 28/5, 2010 at 9:22

9

Reference: http://java.sun.com/j2se/1.5.0/docs/guide/language/autoboxing.html "If your program tries to autounbox null, it will throw a NullPointerException." javac will give you a compile-tim...
Savell asked 27/5, 2010 at 17:11

2

Solved

I have a program to which I'm adding fullscreen post-processing effects. I do not have the source for the program (it's proprietary, although a developer did send me a copy of the debug symbols, .m...
Swarth asked 3/5, 2010 at 19:41

4

Solved

Boost's C99 stdint implementation is awfully handy. One thing bugs me, though. They dump all of their typedefs into the boost namespace. This leaves me with three choices when using this facility: ...
Corneous asked 25/4, 2010 at 17:8

5

Solved

Recently I found a C library that I want to use in my C++ project. This code is configured with global variables and writes it's output to memory pointed by static pointers. When I execute my proje...
Dribble asked 22/4, 2010 at 12:12

2

Solved

I've a c++ project. I admit that I'm a complete ZERO in c++. But still I need to write a c++.net wrapper so I could work with an unmanaged c++ library using it. So what I have: 1) unmanaged project...
Zigzag asked 14/4, 2010 at 13:10

2

Solved

For instance, there’s an integer column in a database table. Then in java model, it can be mapped both as primitive int and Integer. My question is what's difference between the int and Integer in ...
Unquote asked 2/4, 2010 at 6:36

1

Solved

I'm looking for a wrapper around cron. I've stumbled upon PyCron but it's a Python implementation, not a wrapper. Do you know any good cron Python wrapper ? If not, did you test PyCron, and what...
Teri asked 26/2, 2010 at 17:11

6

Solved

We have a library with very complex logic implemented in C. It has a command line interface with not too complex string-based arguments. In order to access this, we would like to wrap the library s...
Chancemedley asked 10/2, 2010 at 20:52

4

Solved

Are there any standard/de facto standard (boost) wrappers around standard algorithms which work with containers defining begin and end. Let me show you what I mean with the code: // instead of spe...
Cairistiona asked 1/2, 2010 at 19:44

6

Solved

When you want to add some extra information into a class, what way would you prefer: would you extend that class or make a wrapper around it? In my particular scenario, I want to add some paginati...
Pasho asked 27/1, 2010 at 21:11

2

Solved

I'm trying to write some wrapper class or function that allows me to execute some code before and after the wrapped function. float foo(int x, float y) { return x * y; } BOOST_PYTHON_MODULE(test...
Dagostino asked 25/1, 2010 at 20:39

3

Duplicate of Calling .NET methods from VB6 via COM visible DLL Which ways exist to use/call .NET classes/functions/libraries (.net 3.x) in VB6 or classical ASP ? Has anybody experiences with that ...
Effable asked 25/1, 2010 at 8:50

1

Does anyone know of a .NET managed wrapper around Windows API functionality that is not available in the .NET framework itself? Areas such as window creation and display styles, common UI c...
Hynda asked 25/1, 2010 at 8:16

5

Solved

Is there any open source tool for automatically generating .NET wrappers for a COM DLL library?
Heikeheil asked 22/1, 2010 at 21:33

© 2022 - 2024 — McMap. All rights reserved.