DLL Wrappers -
Could anyone tell me how I would go about writing a DLL wrapper? I'm trying to write one for directinput and no clue if I'm going in the right direction.
What I did was change the name of dinput8.dll to olddinput8.dll and in my DLL I declared the functions of directinput (found in 8.1 sdk help) as lib "olddinput8.dll"
Then After doing that I made a class name and function for each class and function originally in direct input as per the help file. I then compiled and copied the new DLL over.
Now the thing I dont know is if the DLL immediately starts to take effect or if I need to restart for it to? When I restarted my computer just in case my DLL was replaced with the original dinput8.dll again. Must be some sort of self repair in the directx code.
Any help on the subject? I dont even know if I'm doing it right so I could just be wasting my time here.
Windows GUI -
Not sure if Ive asked this before but,
Anyone know of a good free class wrapper for GUI API's with subclassing for VC6?
I hate MFC and dont care for WTL? Anyone know of something better?
I started writing my own class wrappers that has methods similiar to VB. After completing clas
Interacting with the 7-zip Com dll -
Hey everyone,
I'm a good vb programmer but know very little about c++, and I want to make an activex wrapper for the 7-zip COM dll. (7-zip is a compressor, much better than zip and rar)
I've made wrappers for the zlib and bzip2 dlls before, but those two had very good documentat
VB .Net and OOP -
I have recently started using VB .Net as my programming interface and I've come across something that I can't seem to figure out how to do in .Net that I use to use alot in 6.0. I'm a big fan of object oriented programming and using objects and wrappers to store my data so I only have
App wrapper -
Hey guys, do you know what application wrappers mean? I cannot find any info on the web, though I found some, the way the explain it are still confusing to me and very unclear. Examples will be great appreciated.
[2005] MsFlexGrid Reference... -
Hi to all...
First of all I want to tell you that I'm pretty new to VB.Net, I use to work with VB5 and VB6... but for some reasosn now I have to work in VB 2005.
The issue I have is related to MsFlexGrid (Oh.. that some news... ).. the fact is that I have been searching around
API discouraged in .NET -
I just got my copy of .Net yesterday...
anyway, it looks like you can use API as usual, but the MSDN help says most of the functions can be obtained through wrappers of the .net framework.....
Well, i couldn't find much info past that....
So where are these wrapper functions?
PGP in Visual Basic -
hi, does anybody have any idea on how to encrypt files using PGP from VB/COM?
are they and build in APIs that i can use? i know there are some wrappers out there but i would like to do it purely using VB if possible...
i only need to take existing text file and encrypt it using P
Wrappers -
Could someone explain the concept of a "Wrapper" to me? I was reading a little while back that you could use a wrapper on the .NET framework to get some .NET functionality in VB6. A wrapper is totally foreign to me though.
Thanks.
Porting ASPs -
I haven't tried it yet, I'd just write in straight Perl for mod_perl and ISAPI Perl and not bother with the ASP part.
Anyway, from the looks of, as long as you're not relying on external COM objects, you should be OK. The Response and Request objects are just OO wrappers around tex
How often do you do platform sdk programming -
I'm sure most of you know there is several controls included in windows that isn't included in visual basic. For example the IP Address Control. Do you ever write wrappers around these controls? How about expanding built in controls like the list box to add features that were left out
Is AJAX supported in ASP.NET 1.1 -
Is AJAX supported in ASP.NET 1.1 ?
I just started today researching about AJAX and I've see that there's 3rd party custom wrappers for AJAX support. It's not included in the framework 1.1? Is AJAX technology that new?
Another question, If I have an ASP.NET site developed in VS 20
Search file for repetive String in C [****RESOLVED****] -
I have a file that has PCL in it, I need to find the PCL Macro Wrappers idenitifed by &f#y, with the # being the Macro ID. This could occur in the file once or n times. I need to retrieve all of them.
Also if a Macro ID of 0 or &f0y is found, I am done becuase that is end
Multithreads and Wrappers -
Hi, I wanted to create multithreads in c++ and use it in VB.NET, so I was thinking that I can wrap the c++ code and use it in VB.NET (like any other dll). I have a function (functionexample()) in c++ that creates another thread (which is linked to another function, interrupt()). So I w
Module or Class Module -
I have decided that I reference ADO to make connections to access using recordsets more often then usual, so I planned to make wrappers around the most frequently used functions but Im not sure if I should just make it a module or turn it into a class module.
Any ideas which would
PE How to give back OEP to Original EXE -
HI all,
I'm looking for some code to allow me to Jump from Original Entry Point of an EXE to Another one Inside it , how can i do it with VB5/6 ? Any Idea.
I know that ASM can do it easy with the Jump command JMP.But i want a Pure VB code inside first program so that after executi
Help with checkbox selections. -
Using http wrappers, i need help visiting a web page. On the web page they will be a huge list of friend requests made, to delete friend requests made i must tick the checkbox at the side of each profile. This is all manually on the web page & cannot be done quicker.
I want my p
I Would LOVE To See This!!! -
I don;t have the time at the moment to make an MP3 player in VB. I have made a few wrappers before using the Windows Media Player and using the API, but I haven't made a true MP3 Decoder/Player. I would really like to start a project but I don't have the time. If anyone knows of a PURE
Targeting Client Machine with Office 2000 -
I'm writing an app with VS .net 2003 and targeting a client machine which has Office 2000 installed. I have an MSDN subscription but the only versions of Office available are 2007, 2003, XP, and 95 oddly enough.
Why is 2000 not available and is there anywhere I can get the COM dl
COM Wrappers in .Net -
Hi,
I have a doubt...
Say I have 3 Components...
1. A , which is a pure COM Component
2. B, which is an iterop Assembly and
3. C, a pure .net assembly
Now, A calls B. C calls B.
1. Is it right that for A => B, CCW involved?
2. For C => B, is RCW involved ? I am confus
VC++ IDE Question {RESOLVED} -
Purchased VC++ 6.0 and have gone through all the books.
Understand MFC are wrappers around API calls. All well and good.
Per VC++ documentation, if a dialog box (form) is implemented in Resources (*.RC) then a dialog editor pops up and allows you to add/delete/modify controls on
[2005] SQLite 3.0 issue -
Im trying to create a program to use data in a sqlite database. My issue is when I select the item id, which is stored as an integer, I only get one number. I'm sure this is due to the fact that the integer is stored in the following format, 1,222,333,444 which will return only 1.
H
DLL Wrappers -
Could anyone tell me how I would go about writing a DLL wrapper? I'm trying to write one for directinput and no clue if I'm going in the right direction.
What I did was change the name of dinput8.dll to olddinput8.dll and in my DLL I declared the functions of directinput (found in
Integrating DB code -
Hey,
I'm just starting out in C# and getting to grips with OOD.
What are people's thoughts on the location of database access code in a C# program?
Off the top of my head, I see main 3 options:
1. DB code in its own class.
The main program has access to the other objects a
Collection Class -
In VB6 I used to make collection wrappers so that I could add my own custom properties and methods to the collection.
I've just moved to VB.NET and I don't know how to handle enumeration.
Here's what I had in the VB6 class:
Code:
' Implement support for enumeration (For Eac
[2005] Casting Help (Wrappers) -
I have a COM object that accepts a ByRef parameter of type object and then uses late-binding to perform it's duties. The reason we use an object type is because the 3rd party control (Data Grid) that we pass may change over time and we need to accomodate for this. This has worked for s
VB6 - Httpwrappers and webbrowser. -
Okay im sure alot of you know what httpwrappers are and you can use commands like:
Code:
If InStr(1, strHTML, "You have been successfully logged in") Then
frmLogin.lblstatus.ForeColor = &HFF00&
frmLogin.lblstatus.Caption = "Logged In Successfully"
Requesting help for: ActiveX component can't create object -
I wrote an OCX in VB6. It's a user control which I then placed on a form in a VS 2003 Windows Application. I debugged it and was happy with it. Then I tried to use it in another VS 2003 Win App (the first was my simple test app, the second was the real thing). When the application
Video (both avi and mpeg, possibility to jump to a certain frame) -
Hi,
I am making a tool to make subtitles for videoclips. The loading and displaying of video in .NET is not that easy though. At the moment I am still using DexterLib for this. I am not satisfied with this though, because DexterLib is limitted to avi files and has some bugs. To avoi
Tile Based GDI (Please have a look, may be directX code wrappers you can use) -
I mentioned a few months ago that i was working on a Tilebased game engine that VB programmers could use to quickly generate tile based games.
I have been working on this and am continuing to work on this, but i'm itching to show someone other than my project supervisor how far i
Framework Functionality For SetWindowPos... -
Does anyone know if the framework has built-in wrappers (or equivelent functions) for the following API calls:
GetWindow
GetWindowRect
GetClientRect
SetWindowPos
Someone please, please, please, please, please tell me if you know, and even better tell me what S
[resolved][2008] Is there an easy way to create and/or edit an XML file -
Hi,
I'm somewhat new to XML, and not particularly fluent in VB.Net (come back VB6, all is forgiven), so please forgive me if this is obvious.
I'm trying to write a few functions that read and write XML data to files. These are general purpose wrappers designed to avoid the grunt
Programatically extract OLE embeded file and write directly to disk -
Heres my problem....
I'm working in VB6. The problem is I need to extract an embedded database template from an ole container on a form and write just the database to a file without launching MSAccess. So I am looking for a way to simply copy the file from the OLE container and pla
Windows Web Services API (WWSAPI) -
Here was something out of PDC 2008 I haven't heard mentioned yet.
The good news is that though it is being introduced as a Windows 7 technology the plan is to backport it to Server 2008, Vista, Server 2003, and XP.
Nikola Dudar's WebLog is a good place to begin. He has info, lin
Excel Export URGENT Please! -
This has been resolved. After some further investigating I was able to resolve the issue by using the following code.
Dim size, i As Integer
Dim excel As Microsoft.Office.Interop.Excel.Application
Dim wb As Microsoft.Office.Interop.Excel.Workbook
Dim ws As
Humanity Lovers Wanted -
this is being posted since gen x thinks am evil and have no conscience hehe
i will go look for my conscience, when i do find it i will let you know
but here is what i wanted to say
i believe i am a very passionate towards humanity, and creature of this universe, and to th
Game Development Skills Inventory -
Hi,
I want to compile for myself a list of programming skills and knowledge that a programmer needs in order to develop a basic 3D game that is functional, interesting and is representative of one's potential to write bigger and better programs. The skills should apply to VB or C++,
.NET Interop for MSXML6 on IIS 6 - Error: COM not valid or registered -
I am having some difficulty deploying a web service I have created in VB .NET. The application works fine on my development PC and on Server1 (with IIS 5.0). However, the application gives an error when invoked on Server2 (IIS 6.0). After some investigation I have discovered that the e
Finally -
Heard that from MSoft recently, Linux has begun to develop a JIT Complier for the .NET Platform Intermediate Language (IL)
In other words, apps that you write with .NET languages are complied to only IL and they are then read and complied with the JIT Compiler. These JIT Compilers a
Visual Basic or C# -
This article is intended to help people facing the C# or VB debate that is raging over the internet. You will notice that there are no code examples, no side by side comparisons and most importantly there are no lengthy paragraphs. Essentially what you have here is a genuine article de
ASP/ADO .NET Challenge -
I have this idea for a business and data layer in .NET that would provide an object model similar to the way you program against MS Office and using DataSet/DataTables behind the scenes. I would be very interested in knowing if anyone would like to help me tackle this, or if anyone kn