wrapper

Wrapping a web login page

I have a web login page with the standard username password and login button controls. I would like to write a wrapper page that will render and auto fill the username and login form text boxes with a constant and force the onclick event for login button. Any suggestions how to accomplish this? ...

Is there a C# wrapper for the VMware VIX API?

Hi, I am using VMware Workstation 6.5 on Windows Vista x64. I would like to automate some of the VM management tasks. I know that there is a COM API (http://www.vmware.com/support/developer/vix-api/) available which I could use directly. Is there a C# wrapper for this COM API? Thanks, Arnie ...

Development of MySQL.pas wrapper for Delphi

Background: I want to use the Delphi translation of mysql.c in a project but the original maintainer Matthias Fichtner (http://www.fichtner.net/delphi/mysql/) appears to have taken it down. Question: Does anyone know of a similar wrapper (or an updated version of Matthias Fichtner's wrapper) around libmySQL.dll that is similar in lightw...

Java Wrapper equality test

public class WrapperTest { public static void main(String[] args) { Integer i = 100; Integer j = 100; if(i == j) System.out.println("same"); else System.out.println("not same"); } } The above code gives the output of "same" when run, however if we change the value of i and j to 1000 the ...

Jquery wrapInner - excluding first element

I am attempting to open/collapse sections of my site that are fieldsets with the click event on the legend tag. However I'm going to need to use a wrapInner to add a div inside the fieldset to hide the content...however this also hides the legend (which I definately dont want to do) :-). How can I use wrapInner but specify not to hide th...

A C++ iterator adapter which wraps and hides an inner iterator and converts the iterated type

Having toyed with this I suspect it isn't remotely possible, but I thought I'd ask the experts. I have the following C++ code: class IInterface { virtual void SomeMethod() = 0; }; class Object { IInterface* GetInterface() { ... } }; class Container { private: struct Item { Object* pObject; [... other m...

Wrapping an asynchronous method synchronously in C#

I have a third party library containing a class which performs a function asynchronously. The class inherits from the Form. The function basically performs a calculation based on data stored in a database. Once it has finished, it calls a _Complete event in the calling form. What I would like to do is call the function synchronously but...

C++ wrapper with same name?

How can I do a wrapper function which calls another function with exactly same name and parameters as the wrapper function itself in global namespace? For example I have in A.h foo(int bar); and in A.cpp its implementation, and in B.h foo(int bar); and in B.cpp foo(int bar) { foo(bar) } I want that the B.cpp's foo(bar) calls A.h's foo(...

C++ linker problem with wrapper

I have a library opengl.lib which contains wrapper functions to all opengl functions. The functions are declared in their own namespace so that the wrapper functions can be named with the same name as the opengl functions. So inside a wrapper function, opengl function is called with ::gl***(); opengl.h: namespace OpenGL { void glFun...

Java appears hung

I've been using the Java Service wrapper in a custom application for quite a while and it's been working fine. Since updating our application to a new version in the last few days the JVM started hanging and then wrapper prints this in the log: JVM appears hung: Timed out waiting for signal from JVM. It then automatically terminates th...

How to pass a system property using Wrapper.exe

How do I pass a property to a Java process, started as a Windows service using Wrapper.exe? The target code calls: System.getProperty("ADMIN_USERNAME"); ...

How can I use C code in a C# Project? Wrapper class?

I have a C code and I want to use this in C#. Is there a possibillity except rewriting this code? ...

how explicit should I be with my overloads?

I'm building a wrapper for a jquery plugin to C# and I dont like the usage of [Optional] because its not as "optional" as it says it is(meaning you still have to declare that System.Missing library) so I decided to use overloaded methods. I want to give the user alot of customization but I'm not sure how explicit I should be with my over...

Linux permission denied after chmod a=rwx

Hi everyone, So I have a little Linux problem, geez that will teach me to spend so many years on Windows. Anyway I did a little java app, wrapped nicely with the Java Service Wrapper script, but when I run that script: sh ./wrapper.sh console I get permission denied right away. The permission denied message is like that: eval: 1: /h...

How to write my own wrapper in C#?

Hi, In my other question, I've been trying to find someone who knows where to find free open source OCR library for C#. However, it seems there is only C++ library and obviously, C++ is not C#. One of the responds suggested to write my own wrapper in C#. I have pretty much no idea how to do it, where to learn to do it, or what it actua...

how to best design a wrapper for an access database using c# 3.0?

hi guys, i have only very limited exposure with .net 1.1 and a bit of 2.0, so i'm actually pretty excited and confused with the many changes that they have in .net 3.5. so i have this access database but we don't want the other programs from calling into this database directly. so i'm writing a wrapper exe which will contains functions w...

PHP SQL Wrapper

Anyone have suggestions on wrappers for SQL within PHP? I've been using ezSQL, which is awesome, but wanted to see if anyone had any other suggestions. ...

Question About & operator in C++

I am looking at the .h file of a Wrapper class. And the class contains one private member: T* dataPtr; (where T is as in template < class T > defined at the top of the .h file) The class provides two "* overloading operator" methods: T& operator*() { return *dataPtr; } const T& operator*() const { return *dataPtr; } Both sim...

Is there a way to use C++ for iPhone development?

Sorry if this is mentioned somewhere, couldn't find any info about it. Post a comment if you find a duplicate. This is not about whether it's possible at all to compile a C++ program for the iPhone (which I suppose is possible). Basically the question is, can you bridge between Objective C and C++?, and if it is possible, would it be f...

C++: Function wrapper that behaves just like the function itself

How can I write a wrapper that can wrap any function and can be called just like the function itself? The reason I need this: I want a Timer object that can wrap a function and behave just like the function itself, plus it logs the accumulated time of all its calls. The scenario would look like this: // a function whose runtime shoul...