Click here to Skip to main content
15,921,382 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRegular Expressions Pin
mikasa17-Dec-02 6:34
mikasa17-Dec-02 6:34 
GeneralEvent Handling in VB.Net WebForms Pin
rohancragg17-Dec-02 4:08
rohancragg17-Dec-02 4:08 
GeneralRe: Event Handling in VB.Net WebForms Pin
Nick Seng17-Dec-02 16:58
Nick Seng17-Dec-02 16:58 
GeneralRe: Event Handling in VB.Net WebForms Pin
rohancragg17-Dec-02 22:46
rohancragg17-Dec-02 22:46 
GeneralRe: Event Handling in VB.Net WebForms Pin
Nick Seng17-Dec-02 23:24
Nick Seng17-Dec-02 23:24 
GeneralWant to do this in VB - involves C pointers... Pin
ns17-Dec-02 1:49
ns17-Dec-02 1:49 
GeneralRe: Want to do this in VB - involves C pointers... Pin
CT CHANG19-Dec-02 16:33
CT CHANG19-Dec-02 16:33 
GeneralVB DLL for C App Pin
NoizeGod16-Dec-02 16:36
NoizeGod16-Dec-02 16:36 
Thanks in advance,

I'm trying to author a DLL plugin for an existing application that was written in C. In other words, the C code can not change. Unfortunately, the app doesn't implement COM and I'm writing the DLL in VB6 which only implements ActiveX DLL (using COM). The app does support loading all the DLL's in a certain directory and I've got a sample header file for the function call syntax. Unfortunately, I know VB and not C so I'm trying to convert the header into VB.

I've found a way to export the functions from my DLL and the calling app does recognize them, so step 1 is out of the way. The next step is to manually initialize COM on the calling thread so VB will play nice? Then TLS can be loaded?

I think these are the correct steps but obviously, I'm having implementing them. Does anybody have any leads, examples and/or links where I can learn about this more? Surely somebody has written VB plugins for a C app?

Confused | :confused:

Thanks

Joe
GeneralRe: VB DLL for C App Pin
CT CHANG19-Dec-02 16:29
CT CHANG19-Dec-02 16:29 
GeneralRe: VB DLL for C App Pin
NoizeGod19-Dec-02 17:20
NoizeGod19-Dec-02 17:20 
GeneralRe: VB DLL for C App Pin
CT CHANG19-Dec-02 17:32
CT CHANG19-Dec-02 17:32 
GeneralDo I Need To Close SQL Connection Pin
yccheok15-Dec-02 19:33
yccheok15-Dec-02 19:33 
GeneralRe: Do I Need To Close SQL Connection Pin
Nick Seng17-Dec-02 16:51
Nick Seng17-Dec-02 16:51 
GeneralApplication Path Pin
SuperGeek15-Dec-02 15:21
SuperGeek15-Dec-02 15:21 
GeneralRe: Application Path Pin
Wayne Phipps15-Dec-02 18:48
Wayne Phipps15-Dec-02 18:48 
GeneralRe: Application Path Pin
Nick Seng17-Dec-02 16:11
Nick Seng17-Dec-02 16:11 
GeneralRe: Application Path Pin
Wayne Phipps17-Dec-02 21:55
Wayne Phipps17-Dec-02 21:55 
GeneralRe: Application Path Pin
Wayne Phipps17-Dec-02 22:35
Wayne Phipps17-Dec-02 22:35 
GeneralRe: Application Path Pin
Nick Seng17-Dec-02 23:13
Nick Seng17-Dec-02 23:13 
GeneralRe: Application Path Pin
Wayne Phipps18-Dec-02 0:06
Wayne Phipps18-Dec-02 0:06 
GeneralRe: Application Path Pin
Nick Seng18-Dec-02 14:36
Nick Seng18-Dec-02 14:36 
GeneralRe: Application Path Pin
Wayne Phipps18-Dec-02 21:42
Wayne Phipps18-Dec-02 21:42 
GeneralRe: Application Path Pin
Nick Seng18-Dec-02 23:07
Nick Seng18-Dec-02 23:07 
GeneralRecieve UDP non-blocking in VB.NET Pin
Wayne Phipps15-Dec-02 6:33
Wayne Phipps15-Dec-02 6:33 
GeneralLooking for a free FTP class library for .NET Pin
gicio15-Dec-02 5:53
gicio15-Dec-02 5:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.