|
-
Nov 14th, 2000, 11:04 AM
#1
Thread Starter
Member
I am creating a dll in VB to be used in a C program. What do I need to do on the VB side to make sure that the functions are visible to the C application.
How do I load the library, and declare the functions in C so that I can call them.
Thanks for any help.
-Mark
-
Nov 14th, 2000, 11:07 AM
#2
Fanatic Member
You can't make real dll's in vb. You can only make activex-dll's in vb.
-
Nov 14th, 2000, 11:16 AM
#3
Thread Starter
Member
Can you call an active-X dll from C?
-
Nov 14th, 2000, 11:35 AM
#4
Hyperactive Member
yes, but i'm told it's very boring ;-)
Can you not use c++?
td.
"One logical slip and an entire scientific edifice comes tumbling down." - Robert M. Pirsig
[email protected]
"but if Einstein is right and God is in the details, reality requires that we sometimes get religion." - Scott Meyers.
-
Nov 14th, 2000, 11:37 AM
#5
Thread Starter
Member
Yes I can, but C is prefered in this case. Long story. If it is too difficult in C then tell me how in C++
-
Nov 15th, 2000, 09:07 AM
#6
Lively Member
I'm just wondering ,why you don't do your dll in C or in C++?
That would be a lot easier to call, and maybe more efficient...
-
Nov 15th, 2000, 09:20 AM
#7
Thread Starter
Member
I am making a Socket connection to a server. I had initially tried to use the CSocket class in C++, but it would not raise the OnReceive event when data would come in. I would recieve the data, but I had to sit in a loop and check for it. That took away from my application time. My application is written in C, and I have no choice about that. Let me know if you have any ideas.
-Mark
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|