Problem running dlls.

M

Mr. X.

Hello.
For VB (VS 2005)
How can I run dll, when I know what executable file come first.
The executable file is a black-box (it was written on non-dot-net
application - I don't have it's source. I write only the dll).

Thanks :)
 
M

Mr. X.

Your first answer is good.
I am using third party application which runs my dll.
I used before to run on VB.6 (after running the dll : the dll "waited" for
an application to run it).
I didn't see any addin.
Help, please.

Thanks :)
 
M

Mr. X.

the Dll : d.dll
the Exe : e.exe

The exe uses the dll, but it is 3rd party.

The exe is running before the dll.
There is an event on the exe-file, that trigger some functions on the dll.

On VB.6 it was simply :
running the dll, and when the exe-file trigger some events of the dll, I can
do debugging the dll-file.

What is different on dot-net application (and the exe-file worls on prior
version of vs-2005) ?

Thanks :)
 
F

Family Tree Mike

Mr. X. said:
Your first answer is good.
I am using third party application which runs my dll.
I used before to run on VB.6 (after running the dll : the dll "waited" for
an application to run it).
I didn't see any addin.
Help, please.

Thanks :)

Is it possible that what you want to do is launch the third party app via
debugging? If so:

1. Open the project properties
2. Select the Debug tab
3. Under the option of "Start Action" choose "Start external program:"
4. Browse to the third party application

Hope this helps.

Mike
 
M

Mr. X.

After I did that, here's the problem ...

I got the message :
Error opening DLL library lspbext.dll for external function at line 19 in
function validatedll of object u_global.

Thanks :)
 
F

Family Tree Mike

Mr. X. said:
After I did that, here's the problem ...

I got the message :
Error opening DLL library lspbext.dll for external function at line 19 in
function validatedll of object u_global.

Thanks :)

Is that your dll and function?

When you converted from vb6 to .net, did you change the necessary datatypes?
VB 6 integer becomes short, VB 6 long becomes integer.

Mike
 
M

Mr. X.

O.K.

Times up (I have time to ask question one day at week,
so I think until next time, this thread will be deleted).

Thanks, anyway.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top