Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8724909
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:55:28+00:00 2026-06-13T07:55:28+00:00

I have a c++ project (exe). I want my vb.net dll to get the

  • 0

I have a c++ project (exe). I want my vb.net dll to get the data sent from c++ project. I want to send a void pointer from c++ exe to the vb.net dll. I have to send it via a named pipe. Can any body help how can i get the void pointer on the vb.net side and cast it accordingly.

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T07:55:29+00:00Added an answer on June 13, 2026 at 7:55 am

    As mentioned. unless the C++ is part of the same address space (same running process or “exe”) you will need to transfer the data from one process to the other. This is typically called Inter Process Communication (IPC) and can be accomplished many ways. There are entire frameworks for this kind of thing.

    If your C++ application is a .Net process you could try remoting. The easiest way is to create an assembly that is shared between the two processes and can communicate via .net remoting over named pipes or TCP or whatever you prefer. Ive done this many times and while it has its downside, its workable.

    If your C++ application is not .Net you are probably stuck creating some sort of protocol and marshal the data between the two processes. Alternatively if you just trying to use a C++ library in a .net application you could try creating a C++ .Net assembly (what MS calls IJW). Its a bit tricky to set up, but works rather well. The benefit there is you can marshal the data across as easily as calling a function in your main application. The biggest downside is that C++ assemblies do not support “CPU any” so any application that references your C++ assembly must match its 32 or 63 bit build.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have published my project and exe file has been created.... now i want
I get this error when trying to link a win32 exe project. I have
Possible Duplicate: Embedded a *.exe into a dll I have a C# project -
I have project I want to upgrade to .Net4 and it use BackgroundCopyManager.dll. Anyone
I have a asp.net project, and wrote a web installer. The setup exe/msi copies
HI all I have a dll c#.net project and it refers some other sub
I have developed a windows application via .NET 3.5 and now I want to
I have one issue that i want to ping URL from code behind (EXE
I have a setup project in c#. i want that setup run 2 exe
I have a setup.exe project that I run with the following command-line arguments to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.