473,399 Members | 4,192 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

iostream calls in an unmanaged dll

Hello
I have an unmanaged dll that uses iostream to open a file for input. Each time the code is accessed it returns NUL

ofstream r_os( (char*)szEventLogPath, ios::app | ios::ate )
if ( r_os == NULL
return

Using this dll and attaching it to a vc6 windows app and a vc7 windows forms the file is created correctly

Does vc7 web forms (asp.net) not allow iostream functionality in an unmanaged dll

Thank you
Bill
Nov 22 '05 #1
0 1094

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: B Gibs | last post by:
Hello I have an unmanaged dll that uses iostream to open a file for input. Each time the code is accessed it returns NUL ofstream r_os( (char*)szEventLogPath, ios::app | ios::ate ) if ( r_os ==...
11
by: Joe Martin | last post by:
Has anyone made use of PKWare's PKCDL.DLL for the Implode and Explode functions? I have been able to successfully define everything correctly and even get the invoked function (Explode) to run...
5
by: Adam McKee | last post by:
We are using Visual Studio.NET 2003 in our project with .NET framework 1.1. One of our libraries is a mixed-mode dll assembly consisting of one managed C++ library, and several unmanaged C++...
4
by: Bill Thorne | last post by:
We have a COM object that has been wrappered for use in .NET and which can make calls which can take a while to execute. These are mainframe integration calls that might perform a lot of data...
4
by: David A | last post by:
I'm trying to "isolate" some unmanaged calls to DLLs in a separate namespace so I can have all the unmanaged calls to DLL functions in a separate module and then these can be called from any other...
3
by: pyromedia | last post by:
Anybody know why this does not link? I have tried google 50 odd ways and nobody else seems to have this problem quite. It is meant to be a console application... #include <iostream> int...
2
by: Haxan | last post by:
Hi, I have an unmanaged iostream type that I need to copy to MemoryStream (managed). Will appreciate if somebody can provide me the best/fastest approach. This is what I have. std::iostream...
6
by: R.Kaiser | last post by:
I know that I can call Win32 API functions in a Windows forms application by specifying each function header individually like in using namespace System; using namespace...
1
by: pedrito | last post by:
Just to verify, I can't use signed assemblies if I'm pInvoking into unmanaged code, right? I mean, I'm not doing COM stuff. There's no TLB. I have a DLL (FreeImage.dll) that I'm making calls into...
6
by: peppebck | last post by:
Hi everybody. I'm trying to call a managed dll from an unmanaged dll. Everything is working fine except for the fact that after the execution the managed dll remains locked and I can't modify it....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.